small-python 0.0.1__py3-none-any.whl
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.
small_python/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Placeholder for the small-python package."""
|
small_python/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: small-python
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A placeholder Python package.
|
|
5
|
+
Project-URL: Repository, https://github.com/soasme/small-python
|
|
6
|
+
Author-email: Ju Lin <soasme@gmail.com>
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Requires-Python: >=3.12
|
|
10
|
+
Description-Content-Type: text/markdown
|
|
11
|
+
|
|
12
|
+
# small-python
|
|
13
|
+
|
|
14
|
+
A placeholder Python package. No functionality yet.
|
|
15
|
+
|
|
16
|
+
Requires Python 3.12 or newer. Manage the project with [uv](https://docs.astral.sh/uv/):
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
uv sync --locked
|
|
20
|
+
uv run python -c "import small_python"
|
|
21
|
+
uv build
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Publishing
|
|
25
|
+
|
|
26
|
+
The workflow in `.github/workflows/publish.yml` builds and publishes to PyPI when
|
|
27
|
+
a version tag matching `pyproject.toml` is pushed (for example, `v0.0.1`).
|
|
28
|
+
|
|
29
|
+
Before the first release, configure a [PyPI Trusted Publisher](https://docs.pypi.org/trusted-publishers/creating-a-project-through-oidc/)
|
|
30
|
+
with these values:
|
|
31
|
+
|
|
32
|
+
- Project: `small-python`
|
|
33
|
+
- Owner: `soasme`
|
|
34
|
+
- Repository: `small-python`
|
|
35
|
+
- Workflow: `publish.yml`
|
|
36
|
+
- Environment: `pypi`
|
|
37
|
+
|
|
38
|
+
Create the `pypi` environment in the GitHub repository settings as well.
|
|
39
|
+
No PyPI API token is needed.
|
|
40
|
+
|
|
41
|
+
To publish the initial version after the repository is pushed:
|
|
42
|
+
|
|
43
|
+
```sh
|
|
44
|
+
git tag v0.0.1
|
|
45
|
+
git push origin v0.0.1
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
For later releases, preview a version bump:
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
uv run python scripts/bumpversion.py patch
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Use `major`, `minor`, or `patch`. The script clones `origin` into a temporary
|
|
55
|
+
directory, bumps the version and lockfile, builds and checks the distributions,
|
|
56
|
+
and displays the changes. Add `-y` to commit, tag, and push the release:
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
uv run python scripts/bumpversion.py patch -y
|
|
60
|
+
git pull --ff-only
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Releases use the remote `main` branch; push any intended changes before running
|
|
64
|
+
the script. The working checkout is left untouched.
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
small_python/__init__.py,sha256=5tEWrHxZzlbAA1FdLU8QnDMonHPYQVLeWuHs5vtkyUg,48
|
|
2
|
+
small_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
small_python-0.0.1.dist-info/METADATA,sha256=pESW92AeSX51yZiN5-KCOk4Y4by6QYzJGnWVbdjjGCU,1753
|
|
4
|
+
small_python-0.0.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
5
|
+
small_python-0.0.1.dist-info/licenses/LICENSE,sha256=-PLaKGZFrtCpEyu6v0yJCWrR95hROnRQ3eEh0Fq2_Wg,1063
|
|
6
|
+
small_python-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ju Lin
|
|
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.
|