xraw 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.
xraw-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Rajiv Sharma
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.
xraw-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: xraw
3
+ Version: 0.1.0
4
+ Summary: Starter Python library for xraw.
5
+ Author: Rajiv Sharma
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/rajivsharma/xraw
8
+ Project-URL: Issues, https://github.com/rajivsharma/xraw/issues
9
+ Keywords: xraw
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Provides-Extra: dev
24
+ Requires-Dist: build>=1.2; extra == "dev"
25
+ Requires-Dist: pytest>=8.0; extra == "dev"
26
+ Requires-Dist: twine>=5.0; extra == "dev"
27
+ Dynamic: license-file
28
+
29
+ # xraw
30
+
31
+ `xraw` is a starter Python package.
32
+
33
+ ## Install locally
34
+
35
+ ```bash
36
+ python -m pip install -e .
37
+ ```
38
+
39
+ ## Use
40
+
41
+ ```python
42
+ import xraw
43
+
44
+ print(xraw.__version__)
45
+ ```
46
+
47
+ From the command line:
48
+
49
+ ```bash
50
+ xraw --version
51
+ ```
52
+
53
+ ## Build for PyPI
54
+
55
+ Install build tools:
56
+
57
+ ```bash
58
+ python -m pip install --upgrade build twine
59
+ ```
60
+
61
+ Build the distributions:
62
+
63
+ ```bash
64
+ python -m build
65
+ ```
66
+
67
+ Upload to TestPyPI first:
68
+
69
+ ```bash
70
+ python -m twine upload --repository testpypi dist/*
71
+ ```
72
+
73
+ Then upload to PyPI:
74
+
75
+ ```bash
76
+ python -m twine upload dist/*
77
+ ```
xraw-0.1.0/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # xraw
2
+
3
+ `xraw` is a starter Python package.
4
+
5
+ ## Install locally
6
+
7
+ ```bash
8
+ python -m pip install -e .
9
+ ```
10
+
11
+ ## Use
12
+
13
+ ```python
14
+ import xraw
15
+
16
+ print(xraw.__version__)
17
+ ```
18
+
19
+ From the command line:
20
+
21
+ ```bash
22
+ xraw --version
23
+ ```
24
+
25
+ ## Build for PyPI
26
+
27
+ Install build tools:
28
+
29
+ ```bash
30
+ python -m pip install --upgrade build twine
31
+ ```
32
+
33
+ Build the distributions:
34
+
35
+ ```bash
36
+ python -m build
37
+ ```
38
+
39
+ Upload to TestPyPI first:
40
+
41
+ ```bash
42
+ python -m twine upload --repository testpypi dist/*
43
+ ```
44
+
45
+ Then upload to PyPI:
46
+
47
+ ```bash
48
+ python -m twine upload dist/*
49
+ ```
@@ -0,0 +1,50 @@
1
+ [build-system]
2
+ requires = ["setuptools>=77", "wheel"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "xraw"
7
+ version = "0.1.0"
8
+ description = "Starter Python library for xraw."
9
+ readme = "README.md"
10
+ requires-python = ">=3.9"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ authors = [
14
+ { name = "Rajiv Sharma" }
15
+ ]
16
+ keywords = ["xraw"]
17
+ classifiers = [
18
+ "Development Status :: 3 - Alpha",
19
+ "Intended Audience :: Developers",
20
+ "Programming Language :: Python :: 3",
21
+ "Programming Language :: Python :: 3 :: Only",
22
+ "Programming Language :: Python :: 3.9",
23
+ "Programming Language :: Python :: 3.10",
24
+ "Programming Language :: Python :: 3.11",
25
+ "Programming Language :: Python :: 3.12",
26
+ "Programming Language :: Python :: 3.13",
27
+ "Programming Language :: Python :: 3.14",
28
+ ]
29
+ dependencies = []
30
+
31
+ [project.optional-dependencies]
32
+ dev = [
33
+ "build>=1.2",
34
+ "pytest>=8.0",
35
+ "twine>=5.0",
36
+ ]
37
+
38
+ [project.urls]
39
+ Homepage = "https://github.com/rajivsharma/xraw"
40
+ Issues = "https://github.com/rajivsharma/xraw/issues"
41
+
42
+ [project.scripts]
43
+ xraw = "xraw.cli:main"
44
+
45
+ [tool.setuptools.packages.find]
46
+ where = ["src"]
47
+
48
+ [tool.pytest.ini_options]
49
+ testpaths = ["tests"]
50
+ addopts = "-q"
xraw-0.1.0/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,8 @@
1
+ """xraw package."""
2
+
3
+ __version__ = "0.1.0"
4
+
5
+
6
+ def hello() -> str:
7
+ """Return a friendly package smoke-test string."""
8
+ return "Hello from xraw"
@@ -0,0 +1,18 @@
1
+ """Command-line interface for xraw."""
2
+
3
+ from __future__ import annotations
4
+
5
+ import argparse
6
+
7
+ from . import __version__, hello
8
+
9
+
10
+ def build_parser() -> argparse.ArgumentParser:
11
+ parser = argparse.ArgumentParser(prog="xraw", description="xraw command-line tools")
12
+ parser.add_argument("--version", action="version", version=f"%(prog)s {__version__}")
13
+ return parser
14
+
15
+
16
+ def main() -> None:
17
+ build_parser().parse_args()
18
+ print(hello())
@@ -0,0 +1,77 @@
1
+ Metadata-Version: 2.4
2
+ Name: xraw
3
+ Version: 0.1.0
4
+ Summary: Starter Python library for xraw.
5
+ Author: Rajiv Sharma
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/rajivsharma/xraw
8
+ Project-URL: Issues, https://github.com/rajivsharma/xraw/issues
9
+ Keywords: xraw
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Programming Language :: Python :: 3.9
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Requires-Python: >=3.9
21
+ Description-Content-Type: text/markdown
22
+ License-File: LICENSE
23
+ Provides-Extra: dev
24
+ Requires-Dist: build>=1.2; extra == "dev"
25
+ Requires-Dist: pytest>=8.0; extra == "dev"
26
+ Requires-Dist: twine>=5.0; extra == "dev"
27
+ Dynamic: license-file
28
+
29
+ # xraw
30
+
31
+ `xraw` is a starter Python package.
32
+
33
+ ## Install locally
34
+
35
+ ```bash
36
+ python -m pip install -e .
37
+ ```
38
+
39
+ ## Use
40
+
41
+ ```python
42
+ import xraw
43
+
44
+ print(xraw.__version__)
45
+ ```
46
+
47
+ From the command line:
48
+
49
+ ```bash
50
+ xraw --version
51
+ ```
52
+
53
+ ## Build for PyPI
54
+
55
+ Install build tools:
56
+
57
+ ```bash
58
+ python -m pip install --upgrade build twine
59
+ ```
60
+
61
+ Build the distributions:
62
+
63
+ ```bash
64
+ python -m build
65
+ ```
66
+
67
+ Upload to TestPyPI first:
68
+
69
+ ```bash
70
+ python -m twine upload --repository testpypi dist/*
71
+ ```
72
+
73
+ Then upload to PyPI:
74
+
75
+ ```bash
76
+ python -m twine upload dist/*
77
+ ```
@@ -0,0 +1,12 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/xraw/__init__.py
5
+ src/xraw/cli.py
6
+ src/xraw.egg-info/PKG-INFO
7
+ src/xraw.egg-info/SOURCES.txt
8
+ src/xraw.egg-info/dependency_links.txt
9
+ src/xraw.egg-info/entry_points.txt
10
+ src/xraw.egg-info/requires.txt
11
+ src/xraw.egg-info/top_level.txt
12
+ tests/test_xraw.py
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ xraw = xraw.cli:main
@@ -0,0 +1,5 @@
1
+
2
+ [dev]
3
+ build>=1.2
4
+ pytest>=8.0
5
+ twine>=5.0
@@ -0,0 +1 @@
1
+ xraw
@@ -0,0 +1,9 @@
1
+ import xraw
2
+
3
+
4
+ def test_version_is_defined():
5
+ assert xraw.__version__
6
+
7
+
8
+ def test_hello():
9
+ assert xraw.hello() == "Hello from xraw"