cookiecutter-pypackage 0.3.0__tar.gz → 0.3.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.
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/PKG-INFO +34 -13
- cookiecutter_pypackage-0.3.1/README.md +78 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/pyproject.toml +1 -1
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/src/cookiecutter_pypackage/__init__.py +1 -1
- cookiecutter_pypackage-0.3.0/README.md +0 -57
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/.gitignore +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/LICENSE +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/cookiecutter.json +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/hooks/post_gen_project.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/hooks/pre_gen_project.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/src/cookiecutter_pypackage/cli.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/.editorconfig +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/.github/ISSUE_TEMPLATE.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/.github/workflows/publish.yml +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/.github/workflows/test.yml +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/.gitignore +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/CODE_OF_CONDUCT.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/CONTRIBUTING.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/HISTORY.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/LICENSE +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/MANIFEST.in +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/README.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/docs/index.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/docs/installation.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/docs/usage.md +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/justfile +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/pyproject.toml +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/src/{{cookiecutter.project_slug}}/__init__.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/src/{{cookiecutter.project_slug}}/__main__.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/src/{{cookiecutter.project_slug}}/cli.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/src/{{cookiecutter.project_slug}}/utils.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/src/{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/tests/__init__.py +0 -0
- {cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/{{cookiecutter.pypi_package_name}}/tests/test_{{cookiecutter.project_slug}}.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cookiecutter-pypackage
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.1
|
|
4
4
|
Summary: Cookiecutter template for a Python package
|
|
5
5
|
Project-URL: homepage, https://github.com/audreyfeldroy/cookiecutter-pypackage
|
|
6
6
|
Author-email: "Audrey M. Roy Greenfeld" <audrey@feldroy.com>
|
|
@@ -47,31 +47,52 @@ Description-Content-Type: text/markdown
|
|
|
47
47
|
|
|
48
48
|
## Features
|
|
49
49
|
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
* Auto-release to [PyPI](https://pypi.python.org/pypi) when you push a
|
|
53
|
-
* Command line interface using Typer
|
|
50
|
+
* Modern tooling: [uv](https://docs.astral.sh/uv/) for dependency management, [justfile](https://github.com/casey/just) for task running
|
|
51
|
+
* Testing with pytest, GitHub Actions for Python 3.10, 3.11, 3.12, 3.13, and 3.14
|
|
52
|
+
* Auto-release to [PyPI](https://pypi.python.org/pypi) via Trusted Publishers when you push a tag
|
|
53
|
+
* Command line interface using [Typer](https://typer.tiangolo.com/)
|
|
54
54
|
|
|
55
55
|
## Quickstart
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
First, install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you haven't already.
|
|
58
|
+
|
|
59
|
+
Generate a new Python package:
|
|
58
60
|
|
|
59
61
|
```bash
|
|
60
|
-
|
|
62
|
+
uvx cookiecutter-pypackage
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
You'll be prompted for some values:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
[1/9] full_name (Audrey M. Roy Greenfeld): Your Name
|
|
69
|
+
[2/9] email (audreyfeldroy@example.com): you@example.com
|
|
70
|
+
[3/9] github_username (audreyfeldroy): your-github-username
|
|
71
|
+
[4/9] pypi_package_name (python-boilerplate): my-package
|
|
72
|
+
[5/9] project_name (Python Boilerplate): My Package
|
|
73
|
+
[6/9] project_slug (my_package):
|
|
74
|
+
[7/9] project_short_description (...): A short description of your package.
|
|
75
|
+
[8/9] pypi_username (your-github-username):
|
|
76
|
+
[9/9] first_version (0.1.0):
|
|
61
77
|
```
|
|
62
78
|
|
|
63
|
-
|
|
79
|
+
<details>
|
|
80
|
+
<summary>Traditional way (without uvx)</summary>
|
|
64
81
|
|
|
65
82
|
```bash
|
|
66
|
-
|
|
83
|
+
uv venv
|
|
84
|
+
source .venv/bin/activate
|
|
85
|
+
uv pip install cookiecutter
|
|
86
|
+
cookiecutter gh:audreyfeldroy/cookiecutter-pypackage
|
|
67
87
|
```
|
|
68
88
|
|
|
89
|
+
</details>
|
|
90
|
+
|
|
69
91
|
Then:
|
|
70
92
|
|
|
71
|
-
* Create a repo and
|
|
72
|
-
* [
|
|
73
|
-
*
|
|
74
|
-
* Release your package by pushing a new tag to main.
|
|
93
|
+
* Create a GitHub repo and push your code
|
|
94
|
+
* Set up [PyPI Trusted Publishing](https://docs.pypi.org/trusted-publishers/) for your repo
|
|
95
|
+
* Release your package by pushing a tag: `git tag v0.1.0 && git push --tags`
|
|
75
96
|
|
|
76
97
|
## Not Exactly What You Want?
|
|
77
98
|
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# Cookiecutter PyPackage
|
|
2
|
+
|
|
3
|
+
[](https://pypi.python.org/pypi/cookiecutter-pypackage)
|
|
4
|
+
[](https://pypi.python.org/pypi/cookiecutter-pypackage)
|
|
5
|
+
|
|
6
|
+
[Cookiecutter](https://github.com/cookiecutter/cookiecutter) template for a Python package.
|
|
7
|
+
|
|
8
|
+
* GitHub repo: [https://github.com/audreyfeldroy/cookiecutter-pypackage/](https://github.com/audreyfeldroy/cookiecutter-pypackage/)
|
|
9
|
+
* Free software: MIT license
|
|
10
|
+
* Discord: [https://discord.gg/PWXJr3upUE](https://discord.gg/PWXJr3upUE)
|
|
11
|
+
|
|
12
|
+
## Features
|
|
13
|
+
|
|
14
|
+
* Modern tooling: [uv](https://docs.astral.sh/uv/) for dependency management, [justfile](https://github.com/casey/just) for task running
|
|
15
|
+
* Testing with pytest, GitHub Actions for Python 3.10, 3.11, 3.12, 3.13, and 3.14
|
|
16
|
+
* Auto-release to [PyPI](https://pypi.python.org/pypi) via Trusted Publishers when you push a tag
|
|
17
|
+
* Command line interface using [Typer](https://typer.tiangolo.com/)
|
|
18
|
+
|
|
19
|
+
## Quickstart
|
|
20
|
+
|
|
21
|
+
First, install [uv](https://docs.astral.sh/uv/getting-started/installation/) if you haven't already.
|
|
22
|
+
|
|
23
|
+
Generate a new Python package:
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
uvx cookiecutter-pypackage
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
You'll be prompted for some values:
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
[1/9] full_name (Audrey M. Roy Greenfeld): Your Name
|
|
33
|
+
[2/9] email (audreyfeldroy@example.com): you@example.com
|
|
34
|
+
[3/9] github_username (audreyfeldroy): your-github-username
|
|
35
|
+
[4/9] pypi_package_name (python-boilerplate): my-package
|
|
36
|
+
[5/9] project_name (Python Boilerplate): My Package
|
|
37
|
+
[6/9] project_slug (my_package):
|
|
38
|
+
[7/9] project_short_description (...): A short description of your package.
|
|
39
|
+
[8/9] pypi_username (your-github-username):
|
|
40
|
+
[9/9] first_version (0.1.0):
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
<details>
|
|
44
|
+
<summary>Traditional way (without uvx)</summary>
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
uv venv
|
|
48
|
+
source .venv/bin/activate
|
|
49
|
+
uv pip install cookiecutter
|
|
50
|
+
cookiecutter gh:audreyfeldroy/cookiecutter-pypackage
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
</details>
|
|
54
|
+
|
|
55
|
+
Then:
|
|
56
|
+
|
|
57
|
+
* Create a GitHub repo and push your code
|
|
58
|
+
* Set up [PyPI Trusted Publishing](https://docs.pypi.org/trusted-publishers/) for your repo
|
|
59
|
+
* Release your package by pushing a tag: `git tag v0.1.0 && git push --tags`
|
|
60
|
+
|
|
61
|
+
## Not Exactly What You Want?
|
|
62
|
+
|
|
63
|
+
Don't worry, you have options:
|
|
64
|
+
|
|
65
|
+
### Fork This / Create Your Own
|
|
66
|
+
|
|
67
|
+
If you have differences in your preferred setup, I encourage you to fork this
|
|
68
|
+
to create your own version. Or create your own; it doesn't strictly have to
|
|
69
|
+
be a fork.
|
|
70
|
+
|
|
71
|
+
### Similar Cookiecutter Templates
|
|
72
|
+
|
|
73
|
+
Explore other forks to get ideas. See the [network](https://github.com/audreyfeldroy/cookiecutter-pypackage/network) and [family tree](https://github.com/audreyfeldroy/cookiecutter-pypackage/network/members) for this repo.
|
|
74
|
+
|
|
75
|
+
### Or Submit a Pull Request
|
|
76
|
+
|
|
77
|
+
I also accept pull requests on this, if they're small, atomic, and if they
|
|
78
|
+
make my own packaging experience better.
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Cookiecutter PyPackage
|
|
2
|
-
|
|
3
|
-
[](https://pypi.python.org/pypi/cookiecutter-pypackage)
|
|
4
|
-
[](https://pypi.python.org/pypi/cookiecutter-pypackage)
|
|
5
|
-
|
|
6
|
-
[Cookiecutter](https://github.com/cookiecutter/cookiecutter) template for a Python package.
|
|
7
|
-
|
|
8
|
-
* GitHub repo: [https://github.com/audreyfeldroy/cookiecutter-pypackage/](https://github.com/audreyfeldroy/cookiecutter-pypackage/)
|
|
9
|
-
* Free software: MIT license
|
|
10
|
-
* Discord: [https://discord.gg/PWXJr3upUE](https://discord.gg/PWXJr3upUE)
|
|
11
|
-
|
|
12
|
-
## Features
|
|
13
|
-
|
|
14
|
-
* Testing setup with pytest
|
|
15
|
-
* GitHub Actions testing: Setup to easily test for Python 3.10, 3.11, 3.12, and 3.13
|
|
16
|
-
* Auto-release to [PyPI](https://pypi.python.org/pypi) when you push a new tag to main (optional)
|
|
17
|
-
* Command line interface using Typer
|
|
18
|
-
|
|
19
|
-
## Quickstart
|
|
20
|
-
|
|
21
|
-
Install the latest Cookiecutter if you haven't installed it yet:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
pip install -U cookiecutter
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
Generate a Python package project:
|
|
28
|
-
|
|
29
|
-
```bash
|
|
30
|
-
cookiecutter https://github.com/audreyfeldroy/cookiecutter-pypackage.git
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
Then:
|
|
34
|
-
|
|
35
|
-
* Create a repo and put it there.
|
|
36
|
-
* [Register](https://packaging.python.org/tutorials/packaging-projects/#uploading-the-distribution-archives) your project with PyPI.
|
|
37
|
-
* Add the repo to your [Read the Docs](https://readthedocs.io/) account + turn on the Read the Docs service hook.
|
|
38
|
-
* Release your package by pushing a new tag to main.
|
|
39
|
-
|
|
40
|
-
## Not Exactly What You Want?
|
|
41
|
-
|
|
42
|
-
Don't worry, you have options:
|
|
43
|
-
|
|
44
|
-
### Fork This / Create Your Own
|
|
45
|
-
|
|
46
|
-
If you have differences in your preferred setup, I encourage you to fork this
|
|
47
|
-
to create your own version. Or create your own; it doesn't strictly have to
|
|
48
|
-
be a fork.
|
|
49
|
-
|
|
50
|
-
### Similar Cookiecutter Templates
|
|
51
|
-
|
|
52
|
-
Explore other forks to get ideas. See the [network](https://github.com/audreyfeldroy/cookiecutter-pypackage/network) and [family tree](https://github.com/audreyfeldroy/cookiecutter-pypackage/network/members) for this repo.
|
|
53
|
-
|
|
54
|
-
### Or Submit a Pull Request
|
|
55
|
-
|
|
56
|
-
I also accept pull requests on this, if they're small, atomic, and if they
|
|
57
|
-
make my own packaging experience better.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cookiecutter_pypackage-0.3.0 → cookiecutter_pypackage-0.3.1}/src/cookiecutter_pypackage/cli.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|