Skip to main content

tritise

A small python library to handle trivial time series in an SQLite database.

Installation

pip install tritise

Example

from tritise import Tritise
t = Tritise('test.sqlite')
t.add(1.1)
t.add(2)
t.add(3.0)
print(t.all())
print(t.last().value)

from dateutil.parser import parse
t.add(-1, tag='historic', timestamp=parse('1.1.2000'))
t.add(5, tag='historic', timestamp=parse('15.3.2001'))
t.add(200, tag='historic', timestamp=parse('21.9.2002'))

t.all('historic')
t.range(start_date = parse('1.1.2001'), end_date = parse('31.12.2001'), tag = 'historic')

Command line tool

Tritise ships a command line tool (tritise) to inspect the created databases.

Run tritise --help for more information.

CLI Example

tritise dump -d test.sqlite

Metadata

Release files for tritise 0.1.1

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

Source distribution (sdist)

Source distribution for tritise 0.1.1
File Size Uploaded Provenance Actions
tritise-0.1.1.tar.gz 4.2 kB Without provenance Details for tritise-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 8.8 kB

Release files / tritise-0.1.1.tar.gz

Download URL tritise-0.1.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2f2d771a90e71eda7dcf347be7b87f62cb79a6f94d4d0ff4faddc98c1b45c12b
BLAKE2b-256 checksum
How to use checksums
e0db72d8244dc4d7211068868992bd4e2e10b412f0ea7969686589e87329b574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.4 Windows/10

Release files / tritise-0.1.1-py3-none-any.whl

Download URL tritise-0.1.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3dc29bab656f60d73170c6a32225f745befa53a5c6c2709abe152c1a637a8595
BLAKE2b-256 checksum
How to use checksums
cd3371f59e1f5d50c030c172522067acfadaadc41149d544dfd806d93cdbb6b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.0.0 CPython/3.7.4 Windows/10

Security for tritise 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files 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