Skip to main content

Timeseries Database

Project description

AtriumDB

AtriumDB is a comprehensive solution for the management and analysis of physiological waveform data. It includes a powerful SDK for data compression, storage and retrieval.

Installation

From PyPI (recommended)

$ pip install atriumdb

This will install the base version of AtriumDB, allowing the reading and writing to local datasets, supported by sqlite3 only. For more installation options including support to MariaDB datasets see the documentation. To install from source see GitHub readme here.

Quick Start

Creating a new dataset

To create a new dataset, you can use the create_dataset method. This method allows you to specify the type of metadata database to use and where the data will be stored.

from atriumdb import AtriumSDK

# Create a new local dataset using SQLite
sdk = AtriumSDK.create_dataset(dataset_location="./new_dataset", database_type="sqlite")

# OR create a new local dataset using MariaDB
connection_params = {
    'host': "localhost",
    'user': "user",
    'password': "pass",
    'database': "new_dataset",
    'port': 3306
}

sdk = AtriumSDK.create_dataset(dataset_location="./new_dataset", database_type="mysql", connection_params=connection_params)

The sdk object is how you will interact with the dataset including retrieving data, saving data and any of the other methods defined in the documentation.

Connecting to an existing dataset

To connect to an already created dataset, you will need to specify a local path where the dataset is stored if it's a sqlite database. If it's a MariaDB dataset you will also have to specify the connection parameters.

# Import AtriumSDK python object
from atriumdb import AtriumSDK

# Define a directory path where the dataset is stored (always needed)
dataset_location = "./example_dataset"

# Create AtriumSDK python object (sqlite)
sdk = AtriumSDK(dataset_location=dataset_location)

# OR Connect to a dataset supported by mariadb
connection_params = {
    'host': "localhost",
    'user': "user",
    'password': "pass",
    'database': "new_dataset",
    'port': 3306
}

sdk = AtriumSDK(dataset_location=dataset_location, metadata_connection_type="mysql", connection_params=connection_params)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atriumdb-2.6.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atriumdb-2.6.0-py3-none-any.whl (1.2 MB view details)

Uploaded Python 3

File details

Details for the file atriumdb-2.6.0.tar.gz.

File metadata

  • Download URL: atriumdb-2.6.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atriumdb-2.6.0.tar.gz
Algorithm Hash digest
SHA256 3af1409ed054d1a468bf70e18e61089ccba9a1a0099f20cb0fb0bab2f0469fd5
MD5 98be067a49366c355836b637c8299dd3
BLAKE2b-256 cbcf237b793553816ce733823c78db22853ee83fab6986da6205ca9a347c78bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for atriumdb-2.6.0.tar.gz:

Publisher: release.yml on LaussenLabs/atriumdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atriumdb-2.6.0-py3-none-any.whl.

File metadata

  • Download URL: atriumdb-2.6.0-py3-none-any.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for atriumdb-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 093940f36e10761c918e266e3299669d4fb5186a9d5df42f3781631ab4798359
MD5 862c4900a5a300793943e4287d7cd040
BLAKE2b-256 4a88a340854e7e3b5650315cb60916bf1cd9b499bceb0829f81e6436de7d85af

See more details on using hashes here.

Provenance

The following attestation bundles were made for atriumdb-2.6.0-py3-none-any.whl:

Publisher: release.yml on LaussenLabs/atriumdb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page