Skip to main content

Versatile ZODB abstraction layer

Project description

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

Project details


Release history Release notifications | RSS feed

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.38.tar.gz (55.5 kB view details)

Uploaded Source

Built Distribution

sheraf-0.5.38-py3-none-any.whl (65.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sheraf-0.5.38.tar.gz
  • Upload date:
  • Size: 55.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.2-arch1-1

File hashes

Hashes for sheraf-0.5.38.tar.gz
Algorithm Hash digest
SHA256 71ea79d33360d7249dff12e0174d49f5b256a657db286e4a7add305ee4ba1f58
MD5 5c82d4e249125fa45c4c33e20dc5b126
BLAKE2b-256 8b969f715e2aef3d8c314b020423928b7a6ee7ac03ea5db4727a5186ca1d146b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sheraf-0.5.38-py3-none-any.whl
  • Upload date:
  • Size: 65.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.3 Linux/6.4.2-arch1-1

File hashes

Hashes for sheraf-0.5.38-py3-none-any.whl
Algorithm Hash digest
SHA256 082b465e6acd33cfe596e88d3362ebd8b52a784e5b02ca87db1d618b2b609455
MD5 72c16c3d93ad18b800217aafd571ed5f
BLAKE2b-256 6d0439311a3e755b80ca77c65c1bc02c7c69419f3671f56db4ac5cb6fe015f1a

See more details on using hashes here.

Supported by

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