zorix 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.
- zorix-0.1.0/PKG-INFO +19 -0
- zorix-0.1.0/README.md +11 -0
- zorix-0.1.0/pyproject.toml +22 -0
- zorix-0.1.0/setup.cfg +4 -0
- zorix-0.1.0/src/zorix/__init__.py +3 -0
- zorix-0.1.0/src/zorix/cli.py +13 -0
- zorix-0.1.0/src/zorix/client.py +17 -0
- zorix-0.1.0/src/zorix.egg-info/PKG-INFO +19 -0
- zorix-0.1.0/src/zorix.egg-info/SOURCES.txt +10 -0
- zorix-0.1.0/src/zorix.egg-info/dependency_links.txt +1 -0
- zorix-0.1.0/src/zorix.egg-info/entry_points.txt +2 -0
- zorix-0.1.0/src/zorix.egg-info/top_level.txt +1 -0
zorix-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: zorix
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Official Zorix Python SDK
|
|
5
|
+
Author-email: Zorix <admin@zorix.it>
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
|
|
9
|
+
# Zorix
|
|
10
|
+
|
|
11
|
+
Official Python SDK for Zorix.
|
|
12
|
+
|
|
13
|
+
Install:
|
|
14
|
+
|
|
15
|
+
pip install zorix
|
|
16
|
+
|
|
17
|
+
Environment:
|
|
18
|
+
|
|
19
|
+
export ZORIX_TOKEN=your_token
|
zorix-0.1.0/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "zorix"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Official Zorix Python SDK"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
authors = [
|
|
12
|
+
{name = "Zorix", email = "admin@zorix.it"}
|
|
13
|
+
]
|
|
14
|
+
|
|
15
|
+
[project.scripts]
|
|
16
|
+
zorix = "zorix.cli:main"
|
|
17
|
+
|
|
18
|
+
[tool.setuptools]
|
|
19
|
+
package-dir = {"" = "src"}
|
|
20
|
+
|
|
21
|
+
[tool.setuptools.packages.find]
|
|
22
|
+
where = ["src"]
|
zorix-0.1.0/setup.cfg
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import os
|
|
2
|
+
|
|
3
|
+
class Zorix:
|
|
4
|
+
def __init__(self, token=None):
|
|
5
|
+
self.token = (
|
|
6
|
+
token
|
|
7
|
+
or os.getenv("ZORIX_TOKEN")
|
|
8
|
+
or os.getenv("zorix_token")
|
|
9
|
+
)
|
|
10
|
+
|
|
11
|
+
if not self.token:
|
|
12
|
+
raise RuntimeError(
|
|
13
|
+
"Missing token. Run: export ZORIX_TOKEN='your_token'"
|
|
14
|
+
)
|
|
15
|
+
|
|
16
|
+
def get_token(self):
|
|
17
|
+
return self.token
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: zorix
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Official Zorix Python SDK
|
|
5
|
+
Author-email: Zorix <admin@zorix.it>
|
|
6
|
+
Requires-Python: >=3.9
|
|
7
|
+
Description-Content-Type: text/markdown
|
|
8
|
+
|
|
9
|
+
# Zorix
|
|
10
|
+
|
|
11
|
+
Official Python SDK for Zorix.
|
|
12
|
+
|
|
13
|
+
Install:
|
|
14
|
+
|
|
15
|
+
pip install zorix
|
|
16
|
+
|
|
17
|
+
Environment:
|
|
18
|
+
|
|
19
|
+
export ZORIX_TOKEN=your_token
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
README.md
|
|
2
|
+
pyproject.toml
|
|
3
|
+
src/zorix/__init__.py
|
|
4
|
+
src/zorix/cli.py
|
|
5
|
+
src/zorix/client.py
|
|
6
|
+
src/zorix.egg-info/PKG-INFO
|
|
7
|
+
src/zorix.egg-info/SOURCES.txt
|
|
8
|
+
src/zorix.egg-info/dependency_links.txt
|
|
9
|
+
src/zorix.egg-info/entry_points.txt
|
|
10
|
+
src/zorix.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
zorix
|