Skip to main content

Build Status codecov

The tinynpydb project

tinynpydb (tiny-en-py-db) is a tiny pickle-based numpy array database.

Installing

  • From PyPI

    pip install tinynpydb
    
  • Simply clone and from within the repo

    pip install -e .
    

Quickstart

Starting a DB is easy:

# import and create example
import tinynpydb as tnpdb

array = [1, 2, 3]

# start DB and dump array!
npdb = tnpdb.NumPyDB('testnpdb', mode="store")
npdb.dump(array, 0)

# retrieve array!
loaded_array = npdb.load(0)
print(loaded_array)

Re-using a DB is easy too:

# import and create example
import tinynpydb as tnpdb

# start DB in loading mode
npdb = tnpdb.NumPyDB('testnpdb', mode="load")

# retrieve array!
loaded_array = npdb.load(0)
print(loaded_array)

That's pretty much all we do

- This was inspired from SciTools NumpyDB implementation
[Scitools github repo](https://github.com/hplgit/scitools)
and we decided to mantain a tiny version of it.

We retain their choice of a 3-BSD License

Metadata

Release files for tinynpydb 0.1.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 tinynpydb 0.1.2
File Size Uploaded Provenance
tinynpydb-0.1.2.tar.gz 8.5 kB Without provenance Details

Release files / tinynpydb-0.1.2.tar.gz

Download URL tinynpydb-0.1.2.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7f56dbc14b92ca827c5732a7ed4a85da84991ff6e3455130338a9b7b200d4361
BLAKE2b-256 checksum
How to use checksums
935f31a4be8129ab272dd21c0031c6442f26b686ae32cede92be1b0f7ca5dbde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for tinynpydb 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file No provenance

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