Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

DBasTable

Unit Tests codecov Documentation Status

A simplier way to access SQLite tables, just like Numpy structured arrarys or Pandas dataframes.

>>> from dbastable import SQLDatabase
>>> db = SQLDatabase('test.db', autocommit=True)
>>> db.add_table('table1')
>>> db['table1']['col1'] = [1, 2, 3, 4]
>>> db['table1']['col2'] = ['a', 'b', 'c', 'd']
>>> print(db['table1'][2].values)
(3, 'c')

Its design is based mainly in the way you interact with Numpy structured arrays, Pandas dataframes and Astropy Tables, while keep the possibility of non-volatile and in-disk data storage.

What is it for?

The design of this package was made for very simple interactions with Python's sqlite implementation, so you can interact with sqlite databases without know SQL commands. So, if you need to work with simple tables, composed by columns of data in standard python formats and don't want to perform SQL queries manually, may be this package is for you.

What is it NOT for?

As menioned above, we intended to perform only simple operations with this package. So, we intentionally limited the functionality. Do not expect perform complex queries here. This package is for simplicity. There are several alternatives that are more feature-complete.

Do not use in large production

I'm not a SQL master, nor a digital security guru. I'm an astrophysicist that do some python. So, if you want to use it, use with care.

Install and Documentation

Installation

The easiest way to install dbastable is via pip

pip install dbastable

Alternatively, you can clone the repository and install it manually:

git clone
cd dbastable
pip install -U .

or

pip install -U git+https://github.com/juliotux/dbastable

Development version is also available in pip:

pip install -U --pre dbastable

Documentation

The documentation is available at https://dbastable.readthedocs.io/en/latest/

License

dbastable is licensed under the terms of the MIT license. See the file LICENSE for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES.

Metadata

Release files for dbastable 0.6.dev3

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

Source distribution (sdist)

Source distribution for dbastable 0.6.dev3
File Size Uploaded Provenance
dbastable-0.6.dev3.tar.gz 41.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for dbastable 0.6.dev3
File Interpreter ABI Platform
dbastable-0.6.dev3-py3-none-any.whl Python 3 none any Details

Total release size: 72.0 kB

Release files / dbastable-0.6.dev3.tar.gz

Download URL dbastable-0.6.dev3.tar.gz
Size 41.6 kB
Tags Source
SHA-256 checksum
How to use checksums
445741d6f537a451dc88146285c72b762c143978e9a7bebc4a3cffe908d5778b
BLAKE2b-256 checksum
How to use checksums
34c1169766c8619179d1a90daa6e617e4350b3ce1495965c9324ebe6b90c009b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / dbastable-0.6.dev3-py3-none-any.whl

Download URL dbastable-0.6.dev3-py3-none-any.whl
Size 30.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7dc4f7c7c1f5a7ca6b037aac25daa95eefb5e30e704c00a9ca164e664bcd93dc
BLAKE2b-256 checksum
How to use checksums
644b74c8d4d3f07c4772d2b64e3680c3fdf887e95aec913f916213d692de18c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for dbastable 0.6.dev3

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