Skip to main content

MemDB

An in-memory agnostic database for Python.

Change history

0.0.5

  • The Dataset.to_str() method now has the limit parameter to define the number of lines that should be displayed.

  • Added the Dataset.all() method to return all data, without applying any filters.

  • Added the format parameter in the add_field() method. This parameter is passed to the method of the Schema class and is used by it to define a format for the new field created.

  • Added date_format attribute to Dataset class. This attribute is used whenever values are entered in fields of type date or datetime to store the value in the intended format.

  • Validation of values at insertion time. Fields of type date or datetime, when receiving a value of type str, check the string format. If it's a valid date, it converts to the date format defined in the field (as an field attribute of the Schema object) or defined in the date_format attribute of the dataset.

  • Dataset now works as an iterator. Use foreach to loop through the lines.

  • Dataset now has a date_out_format property where we define the format in which date-type fields should display their values when converted to string.

  • Fixed the method that calculates the size of fields. Before I was calculating the size of the fields without considering the output formats when converting the fields to string.

0.0.4

  • There was an attempt to make the Dataset schemaless. But usage has shown that there is no advantage to using schemaless dataset.

  • Added private method Dataset.__set_schema() to set the schema in the dataset. If the method does not receive a schema, it takes care of instantiating one so that there is always a schema in the dataset.

Metadata

Release files for memdb 0.0.5

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

Source distribution (sdist)

Source distribution for memdb 0.0.5
File Size Uploaded Provenance Actions
memdb-0.0.5.tar.gz 9.1 kB Without provenance Details for memdb-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for memdb 0.0.5
File Interpreter ABI Platform Actions
memdb-0.0.5-py3-none-any.whl Python 3 none any Details for memdb-0.0.5-py3-none-any.whl

Total release size: 18.6 kB

Release files / memdb-0.0.5.tar.gz

Download URL memdb-0.0.5.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c57a26fbf7db2169733460fa3a400acc5e434f651b4de979db1a8860f9189aee
BLAKE2b-256 checksum
How to use checksums
65ff5a11a24ee59019a89ecd8bbc365924c6541f599dd63ae74a239bfe4101de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.8

Release files / memdb-0.0.5-py3-none-any.whl

Download URL memdb-0.0.5-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
084284a46ff76d2c5d1c39299f33cbeac912ae8b20fa6041ca3f8d855fe9c746
BLAKE2b-256 checksum
How to use checksums
1a99fd778ba26ffd2b5f29a875f818c0139f068a53c51792c787e5ea1cbc85e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.7.8

Security for memdb 0.0.5

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