antarsight 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.
- antarsight-0.0.1/.gitignore +9 -0
- antarsight-0.0.1/LICENSE +21 -0
- antarsight-0.0.1/PKG-INFO +26 -0
- antarsight-0.0.1/README.md +10 -0
- antarsight-0.0.1/RELEASING.md +15 -0
- antarsight-0.0.1/pyproject.toml +29 -0
- antarsight-0.0.1/src/antarsight/__init__.py +10 -0
- antarsight-0.0.1/src/antarsight/__main__.py +18 -0
- antarsight-0.0.1/src/antarsight/py.typed +0 -0
- antarsight-0.0.1/tests/test_basic.py +15 -0
antarsight-0.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 The Antarsight Authors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: antarsight
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Antarsight command-line tools (early placeholder release).
|
|
5
|
+
Project-URL: Homepage, https://antarsight.ai
|
|
6
|
+
Author: The Antarsight Authors
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Keywords: antarsight,cli,tools
|
|
10
|
+
Classifier: Development Status :: 1 - Planning
|
|
11
|
+
Classifier: Intended Audience :: Information Technology
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Requires-Python: >=3.9
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
|
|
17
|
+
# Antarsight
|
|
18
|
+
|
|
19
|
+
Antarsight command-line tools. This is an early placeholder release.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install antarsight
|
|
23
|
+
antarsight --version
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
More at [antarsight.ai](https://antarsight.ai).
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Publishing antarsight to PyPI
|
|
2
|
+
|
|
3
|
+
1. Bump `version` in `pyproject.toml` and `__version__` in `src/antarsight/__init__.py` (PyPI never accepts the same version twice).
|
|
4
|
+
2. Build:
|
|
5
|
+
```bash
|
|
6
|
+
rm -rf dist && uv build
|
|
7
|
+
```
|
|
8
|
+
3. Optional dry run on TestPyPI (separate account and token):
|
|
9
|
+
```bash
|
|
10
|
+
uvx twine upload --repository testpypi dist/*
|
|
11
|
+
```
|
|
12
|
+
4. Publish (username `__token__`, password = your PyPI API token):
|
|
13
|
+
```bash
|
|
14
|
+
uvx twine upload dist/*
|
|
15
|
+
```
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.26"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "antarsight"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Antarsight command-line tools (early placeholder release)."
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.9"
|
|
11
|
+
license = "MIT"
|
|
12
|
+
license-files = ["LICENSE"]
|
|
13
|
+
authors = [{ name = "The Antarsight Authors" }]
|
|
14
|
+
keywords = ["antarsight", "cli", "tools"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Development Status :: 1 - Planning",
|
|
17
|
+
"Intended Audience :: Information Technology",
|
|
18
|
+
"Programming Language :: Python :: 3",
|
|
19
|
+
"Operating System :: OS Independent",
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
[project.urls]
|
|
23
|
+
Homepage = "https://antarsight.ai"
|
|
24
|
+
|
|
25
|
+
[project.scripts]
|
|
26
|
+
antarsight = "antarsight.__main__:main"
|
|
27
|
+
|
|
28
|
+
[tool.hatch.build.targets.wheel]
|
|
29
|
+
packages = ["src/antarsight"]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Command-line entry point: `antarsight` or `python -m antarsight`."""
|
|
2
|
+
|
|
3
|
+
import argparse
|
|
4
|
+
from typing import List, Optional
|
|
5
|
+
|
|
6
|
+
from . import __version__, about
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def main(argv: Optional[List[str]] = None) -> int:
|
|
10
|
+
parser = argparse.ArgumentParser(prog="antarsight", description=about())
|
|
11
|
+
parser.add_argument("--version", action="version", version=f"%(prog)s {__version__}")
|
|
12
|
+
parser.parse_args(argv)
|
|
13
|
+
print(about())
|
|
14
|
+
return 0
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
if __name__ == "__main__":
|
|
18
|
+
raise SystemExit(main())
|
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import antarsight
|
|
2
|
+
from antarsight.__main__ import main
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
def test_version():
|
|
6
|
+
assert antarsight.__version__ == "0.0.1"
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def test_about():
|
|
10
|
+
assert "Antarsight" in antarsight.about()
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def test_cli(capsys):
|
|
14
|
+
assert main([]) == 0
|
|
15
|
+
assert "Antarsight" in capsys.readouterr().out
|