Skip to content

Commit 6c97821

Browse files
committed
bump version
1 parent 96b6cc8 commit 6c97821

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,23 @@ serialized_data = [
4242
for data in serialized_data:
4343
shape = objectfactory.create( data )
4444
print( 'class type: {}, shape area: {}'.format( type( shape ), shape.get_area() ) )
45-
4645
```
46+
4747
Output:
4848
```
4949
class type: <class '__main__.Square'>, shape area: 4.0
5050
class type: <class '__main__.Triangle'>, shape area: 2.1875
5151
class type: <class '__main__.Square'>, shape area: 2.25
5252
```
5353

54-
See more examples [here](examples)
54+
### More examples
55+
See more advanced examples [here](examples)
5556

5657
## Install
5758
Use [pip](https://pip.pypa.io/en/stable/installing/) for installation
5859
```
5960
pip install objectfactory
6061
```
62+
63+
## Documentation
64+
Read the full documentation at [objectfactory.readthedocs.io](https://objectfactory.readthedocs.io/)

objectfactory/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
"""
22
objectfactory is a python package to easily implement the factory design pattern
33
for object creation, serialization, and polymorphism
4-
54
"""
65

76
# do imports
87
from .serializable import Serializable
98
from .factory import Factory, register, create
109
from .field import Field, Nested, List, Integer, String, Boolean, Float
1110

12-
__version__ = '0.1.0b'
11+
__version__ = '0.1.0'

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
setuptools.setup(
77
name='objectfactory',
8-
version='0.1.0b1',
8+
version='0.1.0',
99
author='Devin A. Conley',
1010
author_email='devinaconley@gmail.com',
11-
description='A python package for the serializable model / factory pattern',
11+
description='objectfactory is a python package to easily implement the factory design pattern for object creation, serialization, and polymorphism',
1212
long_description=long_description,
1313
long_description_content_type='text/markdown',
1414
url='https://github.com/devinaconley/py-object-factory',

0 commit comments

Comments
 (0)