Skip to main content

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 and python 3.7+.

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.7+

poetry 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 : poetry run pytest and poetry run tox
  • Format code : black
  • Generate documentation : poetry run tox -e doc

Documentation

You can build it with the following commands, or read it on readthedocs.

poetry run tox -e doc
open build/sphinx/html/index.html

Development installation

sheraf use poetry as its main build tool. Do not hesitate to check the documentation.

poetry install --extras all

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sheraf-0.5.35.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sheraf-0.5.35-py3-none-any.whl (65.8 kB view details)

Uploaded Python 3

File details

Details for the file sheraf-0.5.35.tar.gz.

File metadata

  • Download URL: sheraf-0.5.35.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.10 Linux/6.2.11-arch1-1

File hashes

Hashes for sheraf-0.5.35.tar.gz
Algorithm Hash digest
SHA256 8a0ecc3aaf9db7697828ab2ca92fdb3b2a771a894c292c64c0824b5b80bbee7f
MD5 11c240d3385ca0b9a66678f4e23f4d5d
BLAKE2b-256 997a01a8241e88f56e922e876123f89228690b3622b09ea6a0613605c8f97908

See more details on using hashes here.

File details

Details for the file sheraf-0.5.35-py3-none-any.whl.

File metadata

  • Download URL: sheraf-0.5.35-py3-none-any.whl
  • Upload date:
  • Size: 65.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.10 Linux/6.2.11-arch1-1

File hashes

Hashes for sheraf-0.5.35-py3-none-any.whl
Algorithm Hash digest
SHA256 8fc857e10f3f426e1fea3c6b4fa9011fdd4cc0a284d2ef63310c4b13b134b793
MD5 8c065a9d851cc41e63a3e7fe3858c4d2
BLAKE2b-256 632b3ee3f7f178097eef6ea72cbf60fc3895fa3d97b56fb4b542b846fc9a4414

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page