leonidas 0.0.1__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.
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: leonidas
3
+ Version: 0.0.1
4
+ Summary: Leonidas: client shim for the AXE Technologies Leonidas model on the Hugging Face Hub.
5
+ Author: AXE Technologies
6
+ License: Apache-2.0
7
+ Project-URL: Model, https://huggingface.co/axetechnologies/Leonidas
8
+ Project-URL: Homepage, https://axe.onl
9
+ Classifier: Development Status :: 1 - Planning
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
14
+ Requires-Python: >=3.9
15
+ Description-Content-Type: text/markdown
16
+ Provides-Extra: hub
17
+ Requires-Dist: huggingface_hub>=0.20; extra == "hub"
18
+
19
+ # leonidas
20
+
21
+ Client shim for **Leonidas**, an AXE Technologies model published on the
22
+ Hugging Face Hub at [axetechnologies/Leonidas](https://huggingface.co/axetechnologies/Leonidas).
23
+
24
+ ```bash
25
+ pip install "leonidas[hub]"
26
+ leonidas # prints the model id and Hub URL
27
+ ```
28
+
29
+ ```python
30
+ import leonidas
31
+ path = leonidas.download()
32
+ ```
33
+
34
+ The release itself is announced on the model card. Apache-2.0.
@@ -0,0 +1,16 @@
1
+ # leonidas
2
+
3
+ Client shim for **Leonidas**, an AXE Technologies model published on the
4
+ Hugging Face Hub at [axetechnologies/Leonidas](https://huggingface.co/axetechnologies/Leonidas).
5
+
6
+ ```bash
7
+ pip install "leonidas[hub]"
8
+ leonidas # prints the model id and Hub URL
9
+ ```
10
+
11
+ ```python
12
+ import leonidas
13
+ path = leonidas.download()
14
+ ```
15
+
16
+ The release itself is announced on the model card. Apache-2.0.
@@ -0,0 +1,32 @@
1
+ [build-system]
2
+ requires = ["setuptools>=68"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "leonidas"
7
+ version = "0.0.1"
8
+ description = "Leonidas: client shim for the AXE Technologies Leonidas model on the Hugging Face Hub."
9
+ readme = "README.md"
10
+ license = {text = "Apache-2.0"}
11
+ authors = [{name = "AXE Technologies"}]
12
+ requires-python = ">=3.9"
13
+ classifiers = [
14
+ "Development Status :: 1 - Planning",
15
+ "Intended Audience :: Developers",
16
+ "License :: OSI Approved :: Apache Software License",
17
+ "Programming Language :: Python :: 3",
18
+ "Topic :: Scientific/Engineering :: Artificial Intelligence",
19
+ ]
20
+
21
+ [project.optional-dependencies]
22
+ hub = ["huggingface_hub>=0.20"]
23
+
24
+ [project.urls]
25
+ Model = "https://huggingface.co/axetechnologies/Leonidas"
26
+ Homepage = "https://axe.onl"
27
+
28
+ [project.scripts]
29
+ leonidas = "leonidas:main"
30
+
31
+ [tool.setuptools.packages.find]
32
+ where = ["src"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,20 @@
1
+ """Leonidas by AXE Technologies.
2
+
3
+ The model itself lives on the Hugging Face Hub at ``axetechnologies/Leonidas``. This package
4
+ pins the model id and offers a one-call download.
5
+ """
6
+
7
+ __version__ = "0.0.1"
8
+ MODEL_ID = "axetechnologies/Leonidas"
9
+ HUB_URL = "https://huggingface.co/" + MODEL_ID
10
+
11
+
12
+ def download(**kwargs):
13
+ """Download the model snapshot. Requires ``pip install leonidas[hub]``."""
14
+ from huggingface_hub import snapshot_download
15
+ return snapshot_download(MODEL_ID, **kwargs)
16
+
17
+
18
+ def main():
19
+ print("Leonidas model id:", MODEL_ID)
20
+ print("Hub:", HUB_URL)
@@ -0,0 +1,3 @@
1
+ from leonidas import main
2
+
3
+ main()
@@ -0,0 +1,34 @@
1
+ Metadata-Version: 2.4
2
+ Name: leonidas
3
+ Version: 0.0.1
4
+ Summary: Leonidas: client shim for the AXE Technologies Leonidas model on the Hugging Face Hub.
5
+ Author: AXE Technologies
6
+ License: Apache-2.0
7
+ Project-URL: Model, https://huggingface.co/axetechnologies/Leonidas
8
+ Project-URL: Homepage, https://axe.onl
9
+ Classifier: Development Status :: 1 - Planning
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: License :: OSI Approved :: Apache Software License
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
14
+ Requires-Python: >=3.9
15
+ Description-Content-Type: text/markdown
16
+ Provides-Extra: hub
17
+ Requires-Dist: huggingface_hub>=0.20; extra == "hub"
18
+
19
+ # leonidas
20
+
21
+ Client shim for **Leonidas**, an AXE Technologies model published on the
22
+ Hugging Face Hub at [axetechnologies/Leonidas](https://huggingface.co/axetechnologies/Leonidas).
23
+
24
+ ```bash
25
+ pip install "leonidas[hub]"
26
+ leonidas # prints the model id and Hub URL
27
+ ```
28
+
29
+ ```python
30
+ import leonidas
31
+ path = leonidas.download()
32
+ ```
33
+
34
+ The release itself is announced on the model card. Apache-2.0.
@@ -0,0 +1,10 @@
1
+ README.md
2
+ pyproject.toml
3
+ src/leonidas/__init__.py
4
+ src/leonidas/__main__.py
5
+ src/leonidas.egg-info/PKG-INFO
6
+ src/leonidas.egg-info/SOURCES.txt
7
+ src/leonidas.egg-info/dependency_links.txt
8
+ src/leonidas.egg-info/entry_points.txt
9
+ src/leonidas.egg-info/requires.txt
10
+ src/leonidas.egg-info/top_level.txt
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ leonidas = leonidas:main
@@ -0,0 +1,3 @@
1
+
2
+ [hub]
3
+ huggingface_hub>=0.20
@@ -0,0 +1 @@
1
+ leonidas