Metadata-Version: 2.1
Name: asyncorm
Version: 0.4.6
Summary: A fully asynchronous python ORM
Home-page: https://github.com/monobot/asyncorm
Author: Héctor Alvarez (monobot)
Author-email: monobot.soft@gmail.com
License: Apache Software License 2.0
Keywords: asyncorm
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Requires-Dist: asyncpg (==0.18.3)
Requires-Dist: netaddr (==0.7.19)

===============================
asyncOrm
===============================

.. image:: https://img.shields.io/pypi/v/asyncorm.svg
    :target: https://pypi.python.org/pypi/asyncorm
    :alt: Pypi package

.. image:: https://img.shields.io/pypi/pyversions/asyncorm.svg
    :target: https://pypi.python.org/pypi/asyncorm
    :alt: Python versions

.. image:: https://travis-ci.org/monobot/asyncorm.svg?branch=development
    :target: https://travis-ci.org/monobot/asyncorm
    :alt: build status

.. image:: https://api.codacy.com/project/badge/Grade/86ee891909654fc0a294849d0a436109
    :target: https://www.codacy.com/app/monobot/asyncorm?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=monobot/asyncorm&amp;utm_campaign=Badge_Grade
    :alt: Code quality

.. image:: https://api.codacy.com/project/badge/Coverage/86ee891909654fc0a294849d0a436109
    :target: https://www.codacy.com/app/monobot/asyncorm?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=monobot/asyncorm&amp;utm_campaign=Badge_Coverage
    :alt: Coverage

.. image:: https://pyup.io/repos/github/monobot/asyncorm/shield.svg
    :target: https://pyup.io/account/repos/github/monobot/asyncorm/
    :alt: Packages status

.. image:: https://travis-ci.org/monobot/asyncorm.svg?branch=development
    :target: https://travis-ci.org/monobot/asyncorm
    :alt: Build status

.. image:: https://readthedocs.org/projects/asyncorm/badge/?version=development
    :target: http://asyncorm.readthedocs.io/en/development/
    :alt: Documentation Status

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
    :target: https://github.com/ambv/black
    :alt: Code style

A fully asynchronous python ORM

* Free software: Apache Software License 2.0
* Documentation: https://asyncorm.readthedocs.io.


Features
--------

WARNING: version prebeta !!

WARNING: Work In Progress !!

**AsyncORM** is a fully async ORM_ inspired by the fantastic `django orm`_

.. _ORM: https://en.wikipedia.org/wiki/Object-relational_mapping
.. _django orm: https://docs.djangoproject.com/en/1.11/topics/db/

**AsyncORM** currently only supports postgres, but its developed to be "easy" to plug a number of different database interfaces.

It is designed to be used with any async library, but with sanic_ in mind.

.. _sanic: https://github.com/channelcat/sanic

To do
-----

A number of things are needed to be able to release asyncOrm as a production ready ORM:

- better the documentation!
- migration support (forward migration at least)
- other databases interfaces ( `mysql`_ / `mariaDb`_ first priority)
- `prefetch_related`_ functionality
- Missing Field types: OneToOneField

.. _mySql: https://www.mysql.com/
.. _mariaDb: https://mariadb.org/
.. _prefetch_related: https://docs.djangoproject.com/en/1.11/ref/models/querysets/#prefetch_related support

Dependencies
------------

AsyncOrm currently only depends on AsyncPg and netaddr.

asyncpg_, is a database interface library designed specifically for PostgreSQL and Python/asyncio.

netaddr_, A network address manipulation library for Python

.. _asyncpg: https://github.com/MagicStack/asyncpg
.. _netaddr: https://github.com/drkjam/netaddr

Credits
---------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.4.6 (2019-3-3)
* Mismatched versions fixed.

0.4.5 (2019-3-3)
* enrich docstrings, better documentation, clean up Makefiles.

0.4.4 (2019-1-13)
* requirements update

0.4.3 (2019-1-13)
* requirements update, uploaded to PyPi

0.4.2 (2019-1-13)
* pipenv support, uploaded to PyPi

0.4.1 (2018-7-31)
* uploaded to PyPi

0.4.0 (2018-7-29)
* added python3.7 support, added CI tools

0.3.9 (2018-1-10)
* remove python3.8 mistake

0.3.8 (2018-1-10)
* heavy works in migrations, basic setup completed

0.3.7 (2018-1-10)
* minor release because of change in parsing the asyncorm.ini

0.3.6 (2018-1-2)
* external import fix

0.3.5 (2017-12-27)
* GenericIPAddressField, MACAdressField included

0.3.4 (2017-12-27)
* ArrayField, TextField, also allow db_index for any kind of fields

0.3.3 (2017-06-25)
* DateField, DateTimeField, TimeField, UuidField and more work on migrations

0.3.2 (2017-06-16)
* setup process drafted

0.3.1 (2017-06-15)
* setup process drafted

0.3.0 (2017-06-14)
* solving package problem

0.2.9 (2017-06-14)
* solving package problem

0.2.8 (2017-06-14)
* solving package problem

0.2.7 (2017-06-14)
* solving package problem

0.2.6 (2017-06-14)
* Remove log from distribution package

0.2.5 (2017-06-14)
* Many changes, paving the migration system, modify configure to allow .ini files

0.2.0 (2017-05-28)
* new module setup unit tests using AAA, select_related functional, working on migrations

0.1.1 (2017-05-19)
* increase the number of lookups, database lookup calculation, better queryset setup

0.1.0 (2017-05-19)
* more solid state, added coverage

0.0.10 (2017-05-13)
* querysets, slices and indices implemented

0.0.9 (2017-05-11)
* lazy requests for querysets

0.0.8 (2017-04-03)
* everything more mature including jsonfield

0.0.7 (2017-03-27)
* ordering on all db requests, sanic example updated

0.0.6 (2017-03-26)
* sanic example working

0.0.5 (2017-03-24)
* sanic example working, get, post, delete working, missing patch, and put

0.0.4 (2017-03-23)
* wrong manifest corrected

0.0.3 (2017-03-23)
* config implemented

0.0.2 (2017-03-02)
* Small update, include log

0.0.1 (2017-03-02)
* First release on PyPi.


