Metadata-Version: 2.1
Name: dropland
Version: 0.4.11
Summary: Set of frameworks and utilities for building a backend with SQLAlchemy, Redis caching and scheduler support
Home-page: https://gitlab.com/thegamma/dropland
Author: Max Plutonium
Author-email: plutonium.max@gmail.com
Maintainer: Max Plutonium
Maintainer-email: plutonium.max@gmail.com
License: MIT
Keywords: orm,sqlalchemy,gino,apscheduler,fastapi
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: <4.0,>=3.9
License-File: LICENSE
Requires-Dist: SQLAlchemy-Utils (<0.38.0,>=0.37.2)
Requires-Dist: contextvars (<3.0,>=2.4)
Requires-Dist: dependency-injector[pydantic] (>=4.39.0)
Requires-Dist: pydantic[dotenv,email] (<2.0.0,>=1.8.2)
Requires-Dist: pytz (<2022.0,>=2021.3)
Requires-Dist: timeparse-plus (<2.0.0,>=1.2.0)
Requires-Dist: ujson (<5.0.0,>=4.2.0)
Provides-Extra: fastapi
Requires-Dist: fastapi[all] (>=0.73.0) ; extra == 'fastapi'
Provides-Extra: gino
Requires-Dist: dropland-gino (>=0.2.0) ; extra == 'gino'
Provides-Extra: mysql
Requires-Dist: aiomysql (>=0.0.21) ; extra == 'mysql'
Requires-Dist: pymysql[rsa] (<=0.9.3,>=0.9) ; extra == 'mysql'
Provides-Extra: postgresql
Requires-Dist: asyncpg (<0.23.0,>=0.22.0) ; extra == 'postgresql'
Requires-Dist: psycopg2 (<3.0.0,>=2.8.6) ; extra == 'postgresql'
Provides-Extra: redis
Requires-Dist: aioredis[hiredis] (<=1.3.1) ; extra == 'redis'
Requires-Dist: redis (>=4.1.0) ; extra == 'redis'
Provides-Extra: scheduler
Requires-Dist: APScheduler (>=3.7.0) ; extra == 'scheduler'
Requires-Dist: rpyc (>=5.1.0) ; extra == 'scheduler'
Provides-Extra: sqla
Requires-Dist: dropland-sqla (>=0.7.7) ; extra == 'sqla'
Provides-Extra: sqlite
Requires-Dist: aiosqlite (<0.18.0,>=0.17.0) ; extra == 'sqlite'
Provides-Extra: test
Requires-Dist: pytest (==6.2.1) ; extra == 'test'
Requires-Dist: pytest-asyncio (==0.15.1) ; extra == 'test'
Requires-Dist: pytest-cov (==2.11.1) ; extra == 'test'
Requires-Dist: autoflake (==1.4) ; extra == 'test'
Requires-Dist: black (==20.8b1) ; extra == 'test'
Requires-Dist: flake8 (==3.8.4) ; extra == 'test'
Requires-Dist: isort (==5.7.0) ; extra == 'test'
Requires-Dist: mypy (==0.790) ; extra == 'test'
Requires-Dist: pre-commit (==2.9.3) ; extra == 'test'
Requires-Dist: coverage (==6.1.1) ; extra == 'test'
Requires-Dist: mccabe (==0.6.1) ; extra == 'test'
Requires-Dist: pylint (==2.11.1) ; extra == 'test'
Requires-Dist: tox (==3.24.4) ; extra == 'test'

Dropland
========

Set of frameworks and utilities for building a backend with SQLAlchemy, Redis caching and scheduler support


How to build
------------

- Create a Python virtual environment.

    ``pyenv local 3.9.0``

    ``pip install --upgrade pip``

    ``pip install setuptools``


- Install the project

    ``pip install -e .[extras] --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple``


Extras may be in: `postgresql`, `mysql`, `sqlite`, `redis`, `sqla` | `gino`, `fastapi`, `scheduler`, `test`


- Start the docker environment for development

    ``docker-compose up -d``


- Run tests

    ``python -m pytest``


- Stop the docker environment

    ``docker-compose down``


- Uninstall the project

    ``pip uninstall dropland -y``

MIT License

Copyright (c) 2021-2022 Plutonium

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
