├── .gitignore ├── .travis.yml ├── README.rst ├── doc ├── Makefile ├── api │ └── index.rst ├── changelog.rst ├── conf.py ├── getting-started.rst ├── index.rst └── make.bat ├── example └── blog │ ├── README.rst │ ├── blog.py │ ├── blog_models.py │ ├── requirements.txt │ ├── static │ └── css │ │ └── style.css │ └── templates │ ├── 404.html │ ├── base.html │ ├── index.html │ ├── login.html │ ├── new_post.html │ ├── new_user.html │ └── post.html ├── ez_setup.py ├── pymodm ├── __init__.py ├── base │ ├── __init__.py │ ├── fields.py │ ├── models.py │ └── options.py ├── common.py ├── compat.py ├── connection.py ├── context_managers.py ├── dereference.py ├── errors.py ├── fields.py ├── files.py ├── manager.py ├── queryset.py ├── validators.py └── vendor.py ├── setup.py ├── test ├── __init__.py ├── field_types │ ├── __init__.py │ ├── lib │ │ ├── augustus.png │ │ ├── tempfile.txt │ │ └── testfile.txt │ ├── test_biginteger_field.py │ ├── test_binary_field.py │ ├── test_boolean_field.py │ ├── test_char_field.py │ ├── test_datetime_field.py │ ├── test_decimal128_field.py │ ├── test_dict_field.py │ ├── test_email_field.py │ ├── test_embedded_document_field.py │ ├── test_embedded_document_list_field.py │ ├── test_file_field.py │ ├── test_float_field.py │ ├── test_generic_ip_address_field.py │ ├── test_geometrycollection_field.py │ ├── test_image_field.py │ ├── test_integer_field.py │ ├── test_javascript_field.py │ ├── test_linestring_field.py │ ├── test_list_field.py │ ├── test_multilinestring_field.py │ ├── test_multipoint_field.py │ ├── test_multipolygon_field.py │ ├── test_objectid_field.py │ ├── test_ordereddict_field.py │ ├── test_point_field.py │ ├── test_polygon_field.py │ ├── test_reference_field.py │ ├── test_regular_expression_field.py │ ├── test_timestamp_field.py │ ├── test_url_field.py │ └── test_uuid_field.py ├── models.py ├── test_collation.py ├── test_connection.py ├── test_context_managers.py ├── test_delete_rules.py ├── test_dereference.py ├── test_errors.py ├── test_fields.py ├── test_manager.py ├── test_model_basic.py ├── test_model_inheritance.py ├── test_model_lazy_decoder.py ├── test_options.py ├── test_queryset.py └── test_related_fields.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/README.rst -------------------------------------------------------------------------------- /doc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/Makefile -------------------------------------------------------------------------------- /doc/api/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/api/index.rst -------------------------------------------------------------------------------- /doc/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/changelog.rst -------------------------------------------------------------------------------- /doc/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/conf.py -------------------------------------------------------------------------------- /doc/getting-started.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/getting-started.rst -------------------------------------------------------------------------------- /doc/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/index.rst -------------------------------------------------------------------------------- /doc/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/doc/make.bat -------------------------------------------------------------------------------- /example/blog/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/README.rst -------------------------------------------------------------------------------- /example/blog/blog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/blog.py -------------------------------------------------------------------------------- /example/blog/blog_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/blog_models.py -------------------------------------------------------------------------------- /example/blog/requirements.txt: -------------------------------------------------------------------------------- 1 | Flask>=1.1,<2.0 2 | Jinja2>=2.10,<3.0 3 | pymodm 4 | -------------------------------------------------------------------------------- /example/blog/static/css/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/static/css/style.css -------------------------------------------------------------------------------- /example/blog/templates/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/404.html -------------------------------------------------------------------------------- /example/blog/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/base.html -------------------------------------------------------------------------------- /example/blog/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/index.html -------------------------------------------------------------------------------- /example/blog/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/login.html -------------------------------------------------------------------------------- /example/blog/templates/new_post.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/new_post.html -------------------------------------------------------------------------------- /example/blog/templates/new_user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/new_user.html -------------------------------------------------------------------------------- /example/blog/templates/post.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/example/blog/templates/post.html -------------------------------------------------------------------------------- /ez_setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/ez_setup.py -------------------------------------------------------------------------------- /pymodm/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/__init__.py -------------------------------------------------------------------------------- /pymodm/base/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/base/__init__.py -------------------------------------------------------------------------------- /pymodm/base/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/base/fields.py -------------------------------------------------------------------------------- /pymodm/base/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/base/models.py -------------------------------------------------------------------------------- /pymodm/base/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/base/options.py -------------------------------------------------------------------------------- /pymodm/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/common.py -------------------------------------------------------------------------------- /pymodm/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/compat.py -------------------------------------------------------------------------------- /pymodm/connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/connection.py -------------------------------------------------------------------------------- /pymodm/context_managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/context_managers.py -------------------------------------------------------------------------------- /pymodm/dereference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/dereference.py -------------------------------------------------------------------------------- /pymodm/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/errors.py -------------------------------------------------------------------------------- /pymodm/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/fields.py -------------------------------------------------------------------------------- /pymodm/files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/files.py -------------------------------------------------------------------------------- /pymodm/manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/manager.py -------------------------------------------------------------------------------- /pymodm/queryset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/queryset.py -------------------------------------------------------------------------------- /pymodm/validators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/validators.py -------------------------------------------------------------------------------- /pymodm/vendor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/pymodm/vendor.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/setup.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/__init__.py -------------------------------------------------------------------------------- /test/field_types/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/__init__.py -------------------------------------------------------------------------------- /test/field_types/lib/augustus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/lib/augustus.png -------------------------------------------------------------------------------- /test/field_types/lib/tempfile.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/field_types/lib/testfile.txt: -------------------------------------------------------------------------------- 1 | Hello from testfile! 2 | -------------------------------------------------------------------------------- /test/field_types/test_biginteger_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_biginteger_field.py -------------------------------------------------------------------------------- /test/field_types/test_binary_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_binary_field.py -------------------------------------------------------------------------------- /test/field_types/test_boolean_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_boolean_field.py -------------------------------------------------------------------------------- /test/field_types/test_char_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_char_field.py -------------------------------------------------------------------------------- /test/field_types/test_datetime_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_datetime_field.py -------------------------------------------------------------------------------- /test/field_types/test_decimal128_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_decimal128_field.py -------------------------------------------------------------------------------- /test/field_types/test_dict_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_dict_field.py -------------------------------------------------------------------------------- /test/field_types/test_email_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_email_field.py -------------------------------------------------------------------------------- /test/field_types/test_embedded_document_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_embedded_document_field.py -------------------------------------------------------------------------------- /test/field_types/test_embedded_document_list_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_embedded_document_list_field.py -------------------------------------------------------------------------------- /test/field_types/test_file_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_file_field.py -------------------------------------------------------------------------------- /test/field_types/test_float_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_float_field.py -------------------------------------------------------------------------------- /test/field_types/test_generic_ip_address_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_generic_ip_address_field.py -------------------------------------------------------------------------------- /test/field_types/test_geometrycollection_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_geometrycollection_field.py -------------------------------------------------------------------------------- /test/field_types/test_image_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_image_field.py -------------------------------------------------------------------------------- /test/field_types/test_integer_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_integer_field.py -------------------------------------------------------------------------------- /test/field_types/test_javascript_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_javascript_field.py -------------------------------------------------------------------------------- /test/field_types/test_linestring_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_linestring_field.py -------------------------------------------------------------------------------- /test/field_types/test_list_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_list_field.py -------------------------------------------------------------------------------- /test/field_types/test_multilinestring_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_multilinestring_field.py -------------------------------------------------------------------------------- /test/field_types/test_multipoint_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_multipoint_field.py -------------------------------------------------------------------------------- /test/field_types/test_multipolygon_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_multipolygon_field.py -------------------------------------------------------------------------------- /test/field_types/test_objectid_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_objectid_field.py -------------------------------------------------------------------------------- /test/field_types/test_ordereddict_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_ordereddict_field.py -------------------------------------------------------------------------------- /test/field_types/test_point_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_point_field.py -------------------------------------------------------------------------------- /test/field_types/test_polygon_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_polygon_field.py -------------------------------------------------------------------------------- /test/field_types/test_reference_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_reference_field.py -------------------------------------------------------------------------------- /test/field_types/test_regular_expression_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_regular_expression_field.py -------------------------------------------------------------------------------- /test/field_types/test_timestamp_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_timestamp_field.py -------------------------------------------------------------------------------- /test/field_types/test_url_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_url_field.py -------------------------------------------------------------------------------- /test/field_types/test_uuid_field.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/field_types/test_uuid_field.py -------------------------------------------------------------------------------- /test/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/models.py -------------------------------------------------------------------------------- /test/test_collation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_collation.py -------------------------------------------------------------------------------- /test/test_connection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_connection.py -------------------------------------------------------------------------------- /test/test_context_managers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_context_managers.py -------------------------------------------------------------------------------- /test/test_delete_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_delete_rules.py -------------------------------------------------------------------------------- /test/test_dereference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_dereference.py -------------------------------------------------------------------------------- /test/test_errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_errors.py -------------------------------------------------------------------------------- /test/test_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_fields.py -------------------------------------------------------------------------------- /test/test_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_manager.py -------------------------------------------------------------------------------- /test/test_model_basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_model_basic.py -------------------------------------------------------------------------------- /test/test_model_inheritance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_model_inheritance.py -------------------------------------------------------------------------------- /test/test_model_lazy_decoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_model_lazy_decoder.py -------------------------------------------------------------------------------- /test/test_options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_options.py -------------------------------------------------------------------------------- /test/test_queryset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_queryset.py -------------------------------------------------------------------------------- /test/test_related_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/test/test_related_fields.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mongodb/pymodm/HEAD/tox.ini --------------------------------------------------------------------------------