ttl-barcoder 0.4.2__tar.gz → 0.4.3__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.
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/CITATION.cff +1 -1
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/PKG-INFO +2 -3
- ttl_barcoder-0.4.3/VERSION +1 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/pyproject.toml +3 -3
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/core/config.py +3 -3
- ttl_barcoder-0.4.2/VERSION +0 -1
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/.gitignore +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/LICENSE +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/README.md +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/examples/bpod_loopback.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/examples/dry_simulation.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/examples/pigpio_send.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/__init__.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/core/__init__.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/core/barcode_ttl.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/core/decoder.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/core/encoder.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/core/generator.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/hardware/__init__.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/hardware/bpod/__init__.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/hardware/bpod/sender.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/hardware/pigpio/__init__.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/hardware/pigpio/sender.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/src/ttl_barcoder/py.typed +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_barcode_ttl.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_bpod.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_config.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_decoder.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_encoder.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_generator.py +0 -0
- {ttl_barcoder-0.4.2 → ttl_barcoder-0.4.3}/tests/test_smoke.py +0 -0
|
@@ -4,7 +4,7 @@ type: software
|
|
|
4
4
|
title: "ttl-barcoder: TTL barcode generation for multi-system DAQ synchronization"
|
|
5
5
|
version: "0.4.0"
|
|
6
6
|
repository-code: https://github.com/murineshiftwork/ttl-barcoder
|
|
7
|
-
license:
|
|
7
|
+
license: LicenseRef-MSW-NonCommercial
|
|
8
8
|
authors:
|
|
9
9
|
- family-names: Rollik
|
|
10
10
|
given-names: Lars B.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ttl-barcoder
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.3
|
|
4
4
|
Summary: Modular barcode generation for TTL synchronization with clean hardware separation
|
|
5
5
|
Project-URL: Homepage, https://github.com/murineshiftwork/ttl-barcoder
|
|
6
6
|
Project-URL: Documentation, https://murineshiftwork.github.io/ttl-barcoder/
|
|
@@ -44,13 +44,12 @@ Classifier: Intended Audience :: Science/Research
|
|
|
44
44
|
Classifier: License :: Free for non-commercial use
|
|
45
45
|
Classifier: Operating System :: OS Independent
|
|
46
46
|
Classifier: Programming Language :: Python :: 3
|
|
47
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
48
47
|
Classifier: Programming Language :: Python :: 3.11
|
|
49
48
|
Classifier: Programming Language :: Python :: 3.12
|
|
50
49
|
Classifier: Topic :: Scientific/Engineering
|
|
51
50
|
Classifier: Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator
|
|
52
51
|
Classifier: Topic :: System :: Hardware :: Hardware Drivers
|
|
53
|
-
Requires-Python: >=3.
|
|
52
|
+
Requires-Python: >=3.11
|
|
54
53
|
Requires-Dist: numpy>=1.20
|
|
55
54
|
Requires-Dist: pydantic>=2.0
|
|
56
55
|
Provides-Extra: bpod
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.4.3
|
|
@@ -11,7 +11,7 @@ authors = [
|
|
|
11
11
|
description = "Modular barcode generation for TTL synchronization with clean hardware separation"
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
license = { file = "LICENSE" }
|
|
14
|
-
requires-python = ">=3.
|
|
14
|
+
requires-python = ">=3.11"
|
|
15
15
|
keywords = [
|
|
16
16
|
"ttl", "barcode", "synchronization", "daq",
|
|
17
17
|
"bpod", "pigpio", "gpio", "raspberry-pi", "neuroscience",
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
"License :: Free for non-commercial use",
|
|
23
23
|
"Operating System :: OS Independent",
|
|
24
24
|
"Programming Language :: Python :: 3",
|
|
25
|
-
"Programming Language :: Python :: 3.
|
|
25
|
+
"Programming Language :: Python :: 3.11",
|
|
26
26
|
"Programming Language :: Python :: 3.11",
|
|
27
27
|
"Programming Language :: Python :: 3.12",
|
|
28
28
|
"Topic :: Scientific/Engineering",
|
|
@@ -79,7 +79,7 @@ include = ["/src/ttl_barcoder", "/tests", "/examples", "/README.md", "/LICENSE",
|
|
|
79
79
|
[tool.commitizen]
|
|
80
80
|
name = "cz_conventional_commits"
|
|
81
81
|
version_provider = "commitizen"
|
|
82
|
-
version = "0.4.
|
|
82
|
+
version = "0.4.3"
|
|
83
83
|
tag_format = "v$version"
|
|
84
84
|
update_changelog_on_bump = false
|
|
85
85
|
version_files = ["VERSION"]
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from enum import
|
|
3
|
+
from enum import StrEnum
|
|
4
4
|
from typing import Any
|
|
5
5
|
|
|
6
6
|
from pydantic import BaseModel, ConfigDict, Field
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
class TTLType(
|
|
9
|
+
class TTLType(StrEnum):
|
|
10
10
|
"""Type of barcode value to generate."""
|
|
11
11
|
|
|
12
12
|
timestamp = "timestamp"
|
|
13
13
|
random = "random"
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
class TimestampPrecision(
|
|
16
|
+
class TimestampPrecision(StrEnum):
|
|
17
17
|
"""Timestamp quantization precision."""
|
|
18
18
|
|
|
19
19
|
seconds = "s"
|
ttl_barcoder-0.4.2/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.4.2
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|