Custom database class (relies on pandas, numpy, scipy)
Project description
pyDbs
The current repo contains the code for the pypi package pyDbs. The package is used to add specific structure to data using popular python packages like pandas and numpy.
The package contains three main files:
- base.py: This defines classes "adj", "Broadcast", "ExcelSymbolLoader", and "adjMultiIndex".
- gpy.py: This defines symbol classes "GpySet, GpyVariable", and "GpyScalar", to give structure to symbols added using pandas series, pandas indices, or scalars.
- simpleDB.py: This defines two simple database classes "GpyDict" and "SimpleDB". The GpyDict class is a simple keyword database with Gpy symbols with a few auxiliary methods included. The "SimpleDB" is also a simple keyword database with Gpy symbols, but with a bit more structure. For instance, it features "aliased sets" as in GAMS, add-or-merge methods, a mergeDbs that allows merging with another SimpleDB instance, and it can add all relevant GpySets to the database by reading from already defined variables (
readSetsmethod).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydbs-0.1.8.tar.gz
(11.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pydbs-0.1.8-py3-none-any.whl
(11.7 kB
view details)
File details
Details for the file pydbs-0.1.8.tar.gz.
File metadata
- Download URL: pydbs-0.1.8.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c266a535cb0674efc7411d39ce04e1fbecdcc54017337f417b06dd7dfb8e15
|
|
| MD5 |
01c9cb897ee2191e40879b3ad842adbb
|
|
| BLAKE2b-256 |
260f03212137cf24fd0742d265e693221478ff3b0bf9e0e57abfaf5d98537e0d
|
File details
Details for the file pydbs-0.1.8-py3-none-any.whl.
File metadata
- Download URL: pydbs-0.1.8-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ac72f8758033f104b4ba982d85a257eac98168a13e86a40589342d917b55050
|
|
| MD5 |
45554a1ddc2b76b6967de471a5ddb921
|
|
| BLAKE2b-256 |
8da710995decf78756270de3cb7065992200cf52df1610e0300e056ce0d6e342
|