A versatile ZODB abstraction layer
sheraf is a wrapper library around ZODB that provides models management and indexation. It aims to make the use of ZODB simple by providing ready-to-use tools and explicit tools. sheraf is currently compatible with ZODB 5.6+ and ZODB 6.x, and python 3.10+.
You can expect sheraf to:
- Do few things, but do them right;
- Be simple enough so beginners can do a lot with a few lines;
- Be powerful enough and tunable for python experts;
- Have a simple and expressive code, that allows you to hack it if needed.
Installation
sheraf is compatible with Python 3.10+
uv add sheraf
# or
pip install sheraf
If you need pytest fixtures for your project check out pytest-sheraf. There are also sheraf fixtures for unittest.
pip install pytest-sheraf
Contributing
Bug reports and pull requests are highly encouraged!
- Test some code :
uv run pytestanduv run tox - Format code :
uvx prek run --all-files - Generate documentation :
uv run tox -e doc
Documentation
You can build it with the following commands, or read it on readthedocs.
uv run tox -e doc
open build/sphinx/html/index.html
Development installation
sheraf uses uv as its main build tool.
uv sync
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sheraf-0.6.0.tar.gz.
File metadata
- Download URL: sheraf-0.6.0.tar.gz
- Upload date:
- Size: 53.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be2485dc908719297e1a9cfcc67045d1fd281e04f9fdb19b1db4489b00ee7d15
|
|
| MD5 |
a88e67fb7b1ed0f3fd8255e08d8411d6
|
|
| BLAKE2b-256 |
99a2242565399ff1055a5354be62aeaf1eb234502232c43acb5dcc9faf269415
|
File details
Details for the file sheraf-0.6.0-py3-none-any.whl.
File metadata
- Download URL: sheraf-0.6.0-py3-none-any.whl
- Upload date:
- Size: 66.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Arch Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
408c37b6428d5afd7274a4a4dffd1f13e9b9f5d539b0907205adddaea58434e4
|
|
| MD5 |
8c2cc1635681b5eeec8a191c0447d017
|
|
| BLAKE2b-256 |
b6bbeb1e620caec8cff1a0697b9fb40c6274b8a05c8a41a750f5f028111de94f
|