txlemetry 0.1.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.
- txlemetry-0.1.0/PKG-INFO +25 -0
- txlemetry-0.1.0/README.md +10 -0
- txlemetry-0.1.0/pyproject.toml +25 -0
- txlemetry-0.1.0/setup.cfg +4 -0
- txlemetry-0.1.0/src/txlemetry/__init__.py +13 -0
- txlemetry-0.1.0/src/txlemetry.egg-info/PKG-INFO +25 -0
- txlemetry-0.1.0/src/txlemetry.egg-info/SOURCES.txt +8 -0
- txlemetry-0.1.0/src/txlemetry.egg-info/dependency_links.txt +1 -0
- txlemetry-0.1.0/src/txlemetry.egg-info/requires.txt +1 -0
- txlemetry-0.1.0/src/txlemetry.egg-info/top_level.txt +1 -0
txlemetry-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: txlemetry
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Txlemetry Python SDK for product analytics, feature flags, and error tracking.
|
|
5
|
+
Author: Txlemetry
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://txlemetry.com
|
|
8
|
+
Project-URL: Repository, https://github.com/hectorvss/Txlemetry
|
|
9
|
+
Keywords: txlemetry,analytics,product-analytics,feature-flags
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: posthog>=3.12.3
|
|
15
|
+
|
|
16
|
+
# txlemetry
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from txlemetry import Txlemetry
|
|
20
|
+
|
|
21
|
+
txlemetry = Txlemetry("<project-token>")
|
|
22
|
+
txlemetry.capture("distinct-id", "signed_up")
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The client uses `https://app.txlemetry.com` by default. Pass `host` explicitly to target another Txlemetry deployment.
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# txlemetry
|
|
2
|
+
|
|
3
|
+
```python
|
|
4
|
+
from txlemetry import Txlemetry
|
|
5
|
+
|
|
6
|
+
txlemetry = Txlemetry("<project-token>")
|
|
7
|
+
txlemetry.capture("distinct-id", "signed_up")
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
The client uses `https://app.txlemetry.com` by default. Pass `host` explicitly to target another Txlemetry deployment.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "txlemetry"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Txlemetry Python SDK for product analytics, feature flags, and error tracking."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [{ name = "Txlemetry" }]
|
|
13
|
+
keywords = ["txlemetry", "analytics", "product-analytics", "feature-flags"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"License :: OSI Approved :: MIT License",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
]
|
|
18
|
+
dependencies = ["posthog>=3.12.3"]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Homepage = "https://txlemetry.com"
|
|
22
|
+
Repository = "https://github.com/hectorvss/Txlemetry"
|
|
23
|
+
|
|
24
|
+
[tool.setuptools.packages.find]
|
|
25
|
+
where = ["src"]
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
from posthog import Posthog
|
|
2
|
+
|
|
3
|
+
TXLEMETRY_HOST = "https://app.txlemetry.com"
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class Txlemetry(Posthog):
|
|
7
|
+
"""PostHog-compatible client that sends events to Txlemetry by default."""
|
|
8
|
+
|
|
9
|
+
def __init__(self, project_api_key: str, host: str = TXLEMETRY_HOST, **kwargs: object) -> None:
|
|
10
|
+
super().__init__(project_api_key, host=host, **kwargs)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
__all__ = ["TXLEMETRY_HOST", "Txlemetry"]
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: txlemetry
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Txlemetry Python SDK for product analytics, feature flags, and error tracking.
|
|
5
|
+
Author: Txlemetry
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://txlemetry.com
|
|
8
|
+
Project-URL: Repository, https://github.com/hectorvss/Txlemetry
|
|
9
|
+
Keywords: txlemetry,analytics,product-analytics,feature-flags
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Requires-Python: >=3.8
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Requires-Dist: posthog>=3.12.3
|
|
15
|
+
|
|
16
|
+
# txlemetry
|
|
17
|
+
|
|
18
|
+
```python
|
|
19
|
+
from txlemetry import Txlemetry
|
|
20
|
+
|
|
21
|
+
txlemetry = Txlemetry("<project-token>")
|
|
22
|
+
txlemetry.capture("distinct-id", "signed_up")
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
The client uses `https://app.txlemetry.com` by default. Pass `host` explicitly to target another Txlemetry deployment.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
posthog>=3.12.3
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
txlemetry
|