Skip to main content

#Py2sqlite3


Py2sqlite3 is a library that facilitates the communication between python objects and sqlite3 databases


Installation

https://pypi.org/project/py2sqlite3/

pip install py2sqlite3


Command line usage (only to run test):

python -m py2sqlite3


Usage as library

Example

from py2sqlite3 import Py2sqlite3

class Foo:
    bar = 0

class Foo2(Foo):
    pass

py2sql = Py2sqlite3()

py2sql.db_connect('test.db')
py2sql.save_class(Foo)              # saves class Foo
py2sql.save_class_hierarchy(Foo)    # saves Foo and Foo2
py2sql.save_object(Foo())           # saves object of class Foo

py2sql.delete_class(Foo)            # deletes class Foo
py2sql.delete_class_hierarchy(Foo)  # deletes Foo and Foo2
py2sql.delete_object(Foo())         # deletes object of class Foo

py2sql.db_disconnect()

Metadata

Release files for py2sqlite3 0.19

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

Source distribution (sdist)

Source distribution for py2sqlite3 0.19
File Size Uploaded Provenance Actions
py2sqlite3-0.19.tar.gz 6.7 kB Without provenance Details for py2sqlite3-0.19.tar.gz

Release files / py2sqlite3-0.19.tar.gz

Download URL py2sqlite3-0.19.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1cd38b73a840e33b84e225ce0df86b1c3dcde83acd08fea05bb1e4ec77945537
BLAKE2b-256 checksum
How to use checksums
5a17d805b7383131f413be2328d9f317cb261160e48523d4f4f48f68b3a6ec9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.4

Security for py2sqlite3 0.19

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