├── .gitignore ├── CHANGELOG.md ├── LICENSE.txt ├── README.rst ├── VERSION ├── docs ├── Makefile ├── api-documentation.rst ├── conf.py ├── diagrams │ └── model_relations.puml ├── example │ ├── __init__.py │ ├── models.py │ └── views.py ├── index.rst ├── pyoko.db.rst ├── pyoko.lib.rst └── pyoko.rst ├── fabfile.py ├── git-hooks ├── pre-commit.py └── pre-commit.sh ├── pyoko ├── __init__.py ├── conf.py ├── db │ ├── __init__.py │ ├── adapter │ │ ├── __init__.py │ │ ├── base.py │ │ └── db_riak.py │ ├── connection.py │ ├── queryset.py │ ├── schema_update.py │ └── solr_schema_template.xml ├── exceptions.py ├── fields.py ├── lib │ ├── __init__.py │ ├── py2map.py │ └── utils.py ├── listnode.py ├── manage.py ├── model.py ├── modelmeta.py ├── node.py ├── registry.py └── settings.py ├── requirements ├── default.txt ├── extras.txt └── test.txt ├── setup.py └── tests ├── __init__.py ├── data ├── __init__.py ├── data_generator.py ├── default_solr_schema.xml ├── solr_schema.py └── test_data.py ├── manage.py ├── models ├── __init__.py ├── date_models.py ├── perm_tests.py ├── student.py ├── uniqueness.py └── users.py ├── settings.py ├── setup.cfg ├── test_changed_fields.py ├── test_datetime_related.py ├── test_deserialize_model.py ├── test_enable_caching_model.py ├── test_get_choices_display.py ├── test_hooks.py ├── test_index_delay_solutions.py ├── test_management_commands.py ├── test_model_db_queries.py ├── test_model_relations.py ├── test_model_save_update.py ├── test_model_to_solr_schema.py ├── test_permission_checks.py ├── test_serialize_model.py ├── test_uniqueness.py ├── test_validations.py └── test_version_log.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/README.rst -------------------------------------------------------------------------------- /VERSION: -------------------------------------------------------------------------------- 1 | v0.9.3 2 | -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/api-documentation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/api-documentation.rst -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/diagrams/model_relations.puml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/diagrams/model_relations.puml -------------------------------------------------------------------------------- /docs/example/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/example/__init__.py -------------------------------------------------------------------------------- /docs/example/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/example/models.py -------------------------------------------------------------------------------- /docs/example/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/example/views.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/pyoko.db.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/pyoko.db.rst -------------------------------------------------------------------------------- /docs/pyoko.lib.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/pyoko.lib.rst -------------------------------------------------------------------------------- /docs/pyoko.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/docs/pyoko.rst -------------------------------------------------------------------------------- /fabfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/fabfile.py -------------------------------------------------------------------------------- /git-hooks/pre-commit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/git-hooks/pre-commit.py -------------------------------------------------------------------------------- /git-hooks/pre-commit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/git-hooks/pre-commit.sh -------------------------------------------------------------------------------- /pyoko/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/__init__.py -------------------------------------------------------------------------------- /pyoko/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/conf.py -------------------------------------------------------------------------------- /pyoko/db/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/__init__.py -------------------------------------------------------------------------------- /pyoko/db/adapter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/adapter/__init__.py -------------------------------------------------------------------------------- /pyoko/db/adapter/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/adapter/base.py -------------------------------------------------------------------------------- /pyoko/db/adapter/db_riak.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/adapter/db_riak.py -------------------------------------------------------------------------------- /pyoko/db/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/connection.py -------------------------------------------------------------------------------- /pyoko/db/queryset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/queryset.py -------------------------------------------------------------------------------- /pyoko/db/schema_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/schema_update.py -------------------------------------------------------------------------------- /pyoko/db/solr_schema_template.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/db/solr_schema_template.xml -------------------------------------------------------------------------------- /pyoko/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/exceptions.py -------------------------------------------------------------------------------- /pyoko/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/fields.py -------------------------------------------------------------------------------- /pyoko/lib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/lib/__init__.py -------------------------------------------------------------------------------- /pyoko/lib/py2map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/lib/py2map.py -------------------------------------------------------------------------------- /pyoko/lib/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/lib/utils.py -------------------------------------------------------------------------------- /pyoko/listnode.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/listnode.py -------------------------------------------------------------------------------- /pyoko/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/manage.py -------------------------------------------------------------------------------- /pyoko/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/model.py -------------------------------------------------------------------------------- /pyoko/modelmeta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/modelmeta.py -------------------------------------------------------------------------------- /pyoko/node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/node.py -------------------------------------------------------------------------------- /pyoko/registry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/registry.py -------------------------------------------------------------------------------- /pyoko/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/pyoko/settings.py -------------------------------------------------------------------------------- /requirements/default.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/requirements/default.txt -------------------------------------------------------------------------------- /requirements/extras.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/requirements/extras.txt -------------------------------------------------------------------------------- /requirements/test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/requirements/test.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/data/__init__.py -------------------------------------------------------------------------------- /tests/data/data_generator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/data/data_generator.py -------------------------------------------------------------------------------- /tests/data/default_solr_schema.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/data/default_solr_schema.xml -------------------------------------------------------------------------------- /tests/data/solr_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/data/solr_schema.py -------------------------------------------------------------------------------- /tests/data/test_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/data/test_data.py -------------------------------------------------------------------------------- /tests/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/manage.py -------------------------------------------------------------------------------- /tests/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/models/__init__.py -------------------------------------------------------------------------------- /tests/models/date_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/models/date_models.py -------------------------------------------------------------------------------- /tests/models/perm_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/models/perm_tests.py -------------------------------------------------------------------------------- /tests/models/student.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/models/student.py -------------------------------------------------------------------------------- /tests/models/uniqueness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/models/uniqueness.py -------------------------------------------------------------------------------- /tests/models/users.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/models/users.py -------------------------------------------------------------------------------- /tests/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/settings.py -------------------------------------------------------------------------------- /tests/setup.cfg: -------------------------------------------------------------------------------- 1 | [pytest] 2 | norecursedirs = * 3 | -------------------------------------------------------------------------------- /tests/test_changed_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_changed_fields.py -------------------------------------------------------------------------------- /tests/test_datetime_related.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_datetime_related.py -------------------------------------------------------------------------------- /tests/test_deserialize_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_deserialize_model.py -------------------------------------------------------------------------------- /tests/test_enable_caching_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_enable_caching_model.py -------------------------------------------------------------------------------- /tests/test_get_choices_display.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_get_choices_display.py -------------------------------------------------------------------------------- /tests/test_hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_hooks.py -------------------------------------------------------------------------------- /tests/test_index_delay_solutions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_index_delay_solutions.py -------------------------------------------------------------------------------- /tests/test_management_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_management_commands.py -------------------------------------------------------------------------------- /tests/test_model_db_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_model_db_queries.py -------------------------------------------------------------------------------- /tests/test_model_relations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_model_relations.py -------------------------------------------------------------------------------- /tests/test_model_save_update.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_model_save_update.py -------------------------------------------------------------------------------- /tests/test_model_to_solr_schema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_model_to_solr_schema.py -------------------------------------------------------------------------------- /tests/test_permission_checks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_permission_checks.py -------------------------------------------------------------------------------- /tests/test_serialize_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_serialize_model.py -------------------------------------------------------------------------------- /tests/test_uniqueness.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_uniqueness.py -------------------------------------------------------------------------------- /tests/test_validations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_validations.py -------------------------------------------------------------------------------- /tests/test_version_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zetaops/pyoko/HEAD/tests/test_version_log.py --------------------------------------------------------------------------------