From 6c97821feea8c47f7ad909cedbe57938c92761aa Mon Sep 17 00:00:00 2001 From: "Devin A. Conley" Date: Tue, 28 Sep 2021 14:40:14 -0700 Subject: [PATCH] bump version --- README.md | 8 ++++++-- objectfactory/__init__.py | 3 +-- setup.py | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 2b4acff..a96d646 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ serialized_data = [ for data in serialized_data: shape = objectfactory.create( data ) print( 'class type: {}, shape area: {}'.format( type( shape ), shape.get_area() ) ) - ``` + Output: ``` class type: , shape area: 4.0 @@ -51,10 +51,14 @@ class type: , shape area: 2.1875 class type: , shape area: 2.25 ``` -See more examples [here](examples) +### More examples +See more advanced examples [here](examples) ## Install Use [pip](https://pip.pypa.io/en/stable/installing/) for installation ``` pip install objectfactory ``` + +## Documentation +Read the full documentation at [objectfactory.readthedocs.io](https://objectfactory.readthedocs.io/) diff --git a/objectfactory/__init__.py b/objectfactory/__init__.py index 6cc8a58..de9108d 100644 --- a/objectfactory/__init__.py +++ b/objectfactory/__init__.py @@ -1,7 +1,6 @@ """ objectfactory is a python package to easily implement the factory design pattern for object creation, serialization, and polymorphism - """ # do imports @@ -9,4 +8,4 @@ from .factory import Factory, register, create from .field import Field, Nested, List, Integer, String, Boolean, Float -__version__ = '0.1.0b' +__version__ = '0.1.0' diff --git a/setup.py b/setup.py index 84a956a..3b3cb84 100644 --- a/setup.py +++ b/setup.py @@ -5,10 +5,10 @@ setuptools.setup( name='objectfactory', - version='0.1.0b1', + version='0.1.0', author='Devin A. Conley', author_email='devinaconley@gmail.com', - description='A python package for the serializable model / factory pattern', + description='objectfactory is a python package to easily implement the factory design pattern for object creation, serialization, and polymorphism', long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/devinaconley/py-object-factory',