Skip to main content

AnyModel – Data Mapper for Python

anymodel is a data mapper for python built on top pydantic providing a flexible storage layer.

Write Plain Old Pydantic Objects, describe how the data are mapped to which storage (or storage combination) and let anymodel do the rest.

Migrations are automatic. Patch your models and we'll diff your storage to apply the schema changes. This is a dangerous operation that we may disable as a default in the future, but for now, we move fast and break things.

THIS SOFTWARE IS STILL IN DEVELOPMENT, EXPECT BREAKING CHANGES AND BUGS. IT MAY BREAK YOUR DATA COMPLETELY, SO DON'T USE IT UNLESS YOU KNOW WHAT YOU ARE DOING.

Reqs

We want to work with "popo" entities (here, plain old pydantic objects). We should be able to sync them back and forth with nunderlying storages, but the storage implementation should not be tied to business objects.

Migrations should be automatic, yet not dangerous. Removed fields / tables should require an explicit confirmation from the user, yet adding a field should be transparent.

We should be able to work with multiple storages at the same time, and even have a single entity mapped to multiple storages, with a main/secondary logic (for example, an sql storage may be responsible for the key management, and store the name, and a lucene index may store other things).

We should be able to manage lazy relations, and even lazy fields from secondary storages.

Metadata

Release files for anymodel 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for anymodel 0.1.0
File Size Uploaded Provenance
anymodel-0.1.0.tar.gz 15.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for anymodel 0.1.0
File Interpreter ABI Platform
anymodel-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.6 kB

Release files / anymodel-0.1.0.tar.gz

Download URL anymodel-0.1.0.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3c41db3f4bdebf3bd74e95d7a189f00a7230ea449acb45e21317bfc8aa1038aa
BLAKE2b-256 checksum
How to use checksums
276266342f5393c9e70f98f15a9d716d78850f4ec4ade38b2dfb6b3eccadea19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.23

Release files / anymodel-0.1.0-py3-none-any.whl

Download URL anymodel-0.1.0-py3-none-any.whl
Size 17.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53ef254ba2f3cb94c894c68801ea890bbfd0042b775cc3c3c59580b3c8fe249a
BLAKE2b-256 checksum
How to use checksums
2ff668c71118c46512ffe80da5025addeba3c6a77eeca28987068d0e7d133ef6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.5.23

Security for anymodel 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page