tinyflux 1.1.0__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tinyflux-1.1.0/tinyflux.egg-info → tinyflux-1.2.0}/PKG-INFO +3 -5
- {tinyflux-1.1.0 → tinyflux-1.2.0}/README.md +1 -1
- tinyflux-1.2.0/pyproject.toml +7 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/setup.cfg +1 -3
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_storages.py +2 -1
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_tinyflux.py +4 -4
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/database.py +2 -2
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/measurement.py +2 -2
- tinyflux-1.2.0/tinyflux/version.py +3 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0/tinyflux.egg-info}/PKG-INFO +3 -5
- tinyflux-1.1.0/pyproject.toml +0 -7
- tinyflux-1.1.0/tinyflux/version.py +0 -3
- {tinyflux-1.1.0 → tinyflux-1.2.0}/LICENSE +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/MANIFEST.in +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/__init__.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/conftest.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_index.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_measurement.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_point.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_queries.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tests/test_utils.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/__init__.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/decorators.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/index.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/point.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/py.typed +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/queries.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/storages.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux/utils.py +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux.egg-info/SOURCES.txt +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux.egg-info/dependency_links.txt +0 -0
- {tinyflux-1.1.0 → tinyflux-1.2.0}/tinyflux.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tinyflux
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: The Tiny Time-Series Database Optimized for Your Happiness
|
|
5
5
|
Home-page: https://github.com/citrusvanilla/tinyflux
|
|
6
6
|
Author: Justin Fung
|
|
@@ -17,17 +17,15 @@ Classifier: Topic :: Database
|
|
|
17
17
|
Classifier: Topic :: Database :: Database Engines/Servers
|
|
18
18
|
Classifier: Topic :: Utilities
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
-
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
28
26
|
Classifier: Operating System :: OS Independent
|
|
29
27
|
Classifier: Typing :: Typed
|
|
30
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.9
|
|
31
29
|
Description-Content-Type: text/markdown
|
|
32
30
|
License-File: LICENSE
|
|
33
31
|
Dynamic: license-file
|
|
@@ -39,7 +37,7 @@ Dynamic: license-file
|
|
|
39
37
|
|
|
40
38
|
TinyFlux is the tiny time series database optimized for your happiness 😎
|
|
41
39
|
|
|
42
|
-
TinyFlux is the time series version of [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) that is written in Python and has no external dependencies. It consistently writes atomically to file at over 6,000 writes per second and supports greater than 100 queries per second for time-based range queries on datasets up to 100,000 points. It's a perfect companion for small analytics workflows and apps, as well as at-home IOT data stores. TinyFlux has 100% test coverage, over
|
|
40
|
+
TinyFlux is the time series version of [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) that is written in Python and has no external dependencies. It consistently writes atomically to file at over 6,000 writes per second and supports greater than 100 queries per second for time-based range queries on datasets up to 100,000 points. It's a perfect companion for small analytics workflows and apps, as well as at-home IOT data stores. TinyFlux has 100% test coverage, over 150,000 downloads, and no open issues.
|
|
43
41
|
|
|
44
42
|
[](https://tinyflux.readthedocs.io/en/latest/?badge=latest)
|
|
45
43
|
[](https://pypi.org/project/tinyflux/)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
TinyFlux is the tiny time series database optimized for your happiness 😎
|
|
7
7
|
|
|
8
|
-
TinyFlux is the time series version of [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) that is written in Python and has no external dependencies. It consistently writes atomically to file at over 6,000 writes per second and supports greater than 100 queries per second for time-based range queries on datasets up to 100,000 points. It's a perfect companion for small analytics workflows and apps, as well as at-home IOT data stores. TinyFlux has 100% test coverage, over
|
|
8
|
+
TinyFlux is the time series version of [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) that is written in Python and has no external dependencies. It consistently writes atomically to file at over 6,000 writes per second and supports greater than 100 queries per second for time-based range queries on datasets up to 100,000 points. It's a perfect companion for small analytics workflows and apps, as well as at-home IOT data stores. TinyFlux has 100% test coverage, over 150,000 downloads, and no open issues.
|
|
9
9
|
|
|
10
10
|
[](https://tinyflux.readthedocs.io/en/latest/?badge=latest)
|
|
11
11
|
[](https://pypi.org/project/tinyflux/)
|
|
@@ -30,20 +30,18 @@ classifiers =
|
|
|
30
30
|
Topic :: Database :: Database Engines/Servers
|
|
31
31
|
Topic :: Utilities
|
|
32
32
|
Programming Language :: Python :: 3
|
|
33
|
-
Programming Language :: Python :: 3.8
|
|
34
33
|
Programming Language :: Python :: 3.9
|
|
35
34
|
Programming Language :: Python :: 3.10
|
|
36
35
|
Programming Language :: Python :: 3.11
|
|
37
36
|
Programming Language :: Python :: 3.12
|
|
38
37
|
Programming Language :: Python :: 3.13
|
|
39
38
|
Programming Language :: Python :: Implementation :: CPython
|
|
40
|
-
Programming Language :: Python :: Implementation :: PyPy
|
|
41
39
|
Operating System :: OS Independent
|
|
42
40
|
Typing :: Typed
|
|
43
41
|
|
|
44
42
|
[options]
|
|
45
43
|
packages = tinyflux
|
|
46
|
-
python_requires = >=3.
|
|
44
|
+
python_requires = >=3.9
|
|
47
45
|
|
|
48
46
|
[options.package_data]
|
|
49
47
|
tinyflux = py.typed
|
|
@@ -1273,8 +1273,8 @@ def test_insert_compact_keys(tmpdir):
|
|
|
1273
1273
|
assert len(db.index) == 1
|
|
1274
1274
|
assert len(db) == 1
|
|
1275
1275
|
|
|
1276
|
-
|
|
1277
|
-
|
|
1276
|
+
with open(path, "r+") as f:
|
|
1277
|
+
rows = list(csv.reader(f))
|
|
1278
1278
|
|
|
1279
1279
|
assert rows[0][2].startswith(p._compact_tag_key_prefix)
|
|
1280
1280
|
assert rows[0][4].startswith(p._compact_field_key_prefix)
|
|
@@ -1286,8 +1286,8 @@ def test_insert_compact_keys(tmpdir):
|
|
|
1286
1286
|
assert len(db.index) == 3
|
|
1287
1287
|
assert len(db) == 3
|
|
1288
1288
|
|
|
1289
|
-
|
|
1290
|
-
|
|
1289
|
+
with open(path, "r+") as f:
|
|
1290
|
+
rows = list(csv.reader(f))
|
|
1291
1291
|
|
|
1292
1292
|
for row in rows:
|
|
1293
1293
|
assert row[2].startswith(p._compact_tag_key_prefix)
|
|
@@ -637,8 +637,8 @@ class TinyFlux:
|
|
|
637
637
|
points: An iterable of Point objects (can be generator/iterator).
|
|
638
638
|
measurement: An optional measurement to insert Points into.
|
|
639
639
|
compact_key_prefixes: Use compact key prefixes in relevant storages.
|
|
640
|
-
batch_size: Number of points per batch (default: 1,000).
|
|
641
|
-
|
|
640
|
+
batch_size: Number of points per batch (default: 1,000).
|
|
641
|
+
Larger batches mean fewer fsync operations but more memory usage.
|
|
642
642
|
|
|
643
643
|
Returns:
|
|
644
644
|
The count of inserted points.
|
|
@@ -254,8 +254,8 @@ class Measurement:
|
|
|
254
254
|
|
|
255
255
|
Args:
|
|
256
256
|
points: An iterable of Point objects (can be generator/iterator).
|
|
257
|
-
batch_size: Number of points per batch (default: 1,000).
|
|
258
|
-
|
|
257
|
+
batch_size: Number of points per batch (default: 1,000).
|
|
258
|
+
Larger batches mean fewer fsync operations but more memory usage.
|
|
259
259
|
|
|
260
260
|
Returns:
|
|
261
261
|
The count of inserted points.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tinyflux
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: The Tiny Time-Series Database Optimized for Your Happiness
|
|
5
5
|
Home-page: https://github.com/citrusvanilla/tinyflux
|
|
6
6
|
Author: Justin Fung
|
|
@@ -17,17 +17,15 @@ Classifier: Topic :: Database
|
|
|
17
17
|
Classifier: Topic :: Database :: Database Engines/Servers
|
|
18
18
|
Classifier: Topic :: Utilities
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
25
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
|
-
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
28
26
|
Classifier: Operating System :: OS Independent
|
|
29
27
|
Classifier: Typing :: Typed
|
|
30
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.9
|
|
31
29
|
Description-Content-Type: text/markdown
|
|
32
30
|
License-File: LICENSE
|
|
33
31
|
Dynamic: license-file
|
|
@@ -39,7 +37,7 @@ Dynamic: license-file
|
|
|
39
37
|
|
|
40
38
|
TinyFlux is the tiny time series database optimized for your happiness 😎
|
|
41
39
|
|
|
42
|
-
TinyFlux is the time series version of [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) that is written in Python and has no external dependencies. It consistently writes atomically to file at over 6,000 writes per second and supports greater than 100 queries per second for time-based range queries on datasets up to 100,000 points. It's a perfect companion for small analytics workflows and apps, as well as at-home IOT data stores. TinyFlux has 100% test coverage, over
|
|
40
|
+
TinyFlux is the time series version of [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html) that is written in Python and has no external dependencies. It consistently writes atomically to file at over 6,000 writes per second and supports greater than 100 queries per second for time-based range queries on datasets up to 100,000 points. It's a perfect companion for small analytics workflows and apps, as well as at-home IOT data stores. TinyFlux has 100% test coverage, over 150,000 downloads, and no open issues.
|
|
43
41
|
|
|
44
42
|
[](https://tinyflux.readthedocs.io/en/latest/?badge=latest)
|
|
45
43
|
[](https://pypi.org/project/tinyflux/)
|
tinyflux-1.1.0/pyproject.toml
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|