Metadata-Version: 2.1
Name: pynsodm
Version: 0.1.0
Summary: Smart ODM for NoSQL (RethinkDB, Redis, etc.)
Home-page: https://github.com/agratoth/pynsodm
Maintainer: Anton Berdnikov
Maintainer-email: agratoth@yandex.ru
License: UNKNOWN
Description: PyNSODM (Python NoSQL Object-Document Mapper)
        =======
        
        Simple and powerful ODM for various NoSQL databases (RethinkDB, soon - Clickhouse, Redis, MongoDB, InfluxDB, etc.)
        
        ## Basic use
        
        ```python
        from pynsodm.rethinkdb_ext import Storage, BaseModel
        from pynsodm.fields import StringField
        
        class User(BaseModel):
            table_name = 'users'
        
            username = StringField()
        
        storage = Storage(db='test_db')
        storage.connect()
        
        user = User(username='test_user')
        user.save()
        
        print(user.dictionary)
        
        # {'created': datetime.datetime(2021, 2, 24, 5, 53, 29, 411519, tzinfo=<UTC>), 'id': 'fb95ba98-a663-4f0f-b709-2e1d2eb849bd', 'updated': datetime.datetime(2021, 2, 24, 5, 53, 29, 411530, tzinfo=<UTC>), 'username': 'test_user'}
        ```
        
        ## Installation
        
        ```
        pip install pynsodm
        ```
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Requires-Python: >=3.8
Description-Content-Type: text/markdown
