Skip to main content

json_repository

Donate  travis build Pypi Downloads Downloads codecov.io

Install

https://pypi.org/project/json-repository/ pip install json-repository

Examples

You can also go to tests to check a good how-to!

Creating custom repository

class Foo(object):
    foo = None
    bar = None
    id = None

class FoobarRepository(BaseJsonRepository):
  def __init__(self):
    super(FoobarRepository, self).__init__(Foo)

using created repository

  with FoobarRepository() as repo:
    for entity in repo.get_all():
      repo.delete(entity)
    repo.context.commit()

Metadata

Release files for json-repository 0.2.2

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

Source distribution (sdist)

Source distribution for json-repository 0.2.2
File Size Uploaded Provenance
json_repository-0.2.2.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for json-repository 0.2.2
File Interpreter ABI Platform
json_repository-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 24.6 kB

Release files / json_repository-0.2.2.tar.gz

Download URL json_repository-0.2.2.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
713d3be9c6bfa992ce7651d239c5fcb4fb07fed73d81ec9df66b31e3612103ca
BLAKE2b-256 checksum
How to use checksums
f481e1d1e411f9c7bd4c63e38b019c563cc431deae6818be08bc4a17ae15bc35
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / json_repository-0.2.2-py3-none-any.whl

Download URL json_repository-0.2.2-py3-none-any.whl
Size 19.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7450c71918e20a5206f11b546e75f1d82ee7e67057e02948e3496415ef88f584
BLAKE2b-256 checksum
How to use checksums
a1cbd0b9ce72a65e1c82e58bbc8cb2584e3ae8a582504a055ed87ac3d872c9ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Security for json-repository 0.2.2

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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