cookie-python 0.2.0__tar.gz → 0.2.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.
- {cookie_python-0.2.0 → cookie_python-0.2.1}/LICENSE +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/PKG-INFO +5 -1
- {cookie_python-0.2.0 → cookie_python-0.2.1}/README.md +4 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/pyproject.toml +2 -1
- cookie_python-0.2.1/setup.py +42 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.codecov.yml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.github/workflows/actions/python-poetry/action.yml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.github/workflows/cd.yml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.github/workflows/ci.yml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.github/workflows/container.yml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.gitignore +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.pre-commit-config.yaml +8 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/Dockerfile +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/LICENSE +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/README.md +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/cookiecutter_template_data/feature_paths.yml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/cookiecutter_template_data/licenses/BSD-3-Clause +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/cookiecutter_template_data/licenses/GPL-3.0-or-later +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/cookiecutter_template_data/licenses/LGPL-3.0-or-later +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/cookiecutter_template_data/licenses/MIT +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/docker/entrypoint +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/docker-compose.yaml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/pyproject.toml +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/tests/__init__.py +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/tests/test_module.py +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/{{cookiecutter.project_slug}}/__init__.py +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/{{cookiecutter.project_slug}}/__version__.py +0 -0
- {cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/{{cookiecutter.project_slug}}/py.typed +0 -0
- cookie_python-0.2.0/setup.py +0 -42
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: cookie-python
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary:
|
|
5
5
|
Home-page: https://github.com/smkent/cookie-python
|
|
6
6
|
License: MIT
|
|
@@ -45,6 +45,8 @@ A template for new Python projects, with:
|
|
|
45
45
|
* [black][black]
|
|
46
46
|
* [flake8][flake8] (with [bugbear][flake8-bugbear], [simplify][flake8-simplify],
|
|
47
47
|
and [pep8-naming][pep8-naming])
|
|
48
|
+
* [autoflake][autoflake]
|
|
49
|
+
* [pyupgrade][pyupgrade]
|
|
48
50
|
* [bandit][bandit]
|
|
49
51
|
* [cruft][cruft]
|
|
50
52
|
* GitHub Actions support
|
|
@@ -92,6 +94,7 @@ cookiecutter https://github.com/smkent/cookie-python
|
|
|
92
94
|
* Update test expected output files from test results:
|
|
93
95
|
`poetry run poe updatetests`
|
|
94
96
|
|
|
97
|
+
[autoflake]: https://github.com/PyCQA/autoflake
|
|
95
98
|
[bandit]: https://github.com/PyCQA/bandit
|
|
96
99
|
[black]: https://github.com/psf/black
|
|
97
100
|
[codecov]: https://codecov.io/gh/smkent/cookie-python
|
|
@@ -112,5 +115,6 @@ cookiecutter https://github.com/smkent/cookie-python
|
|
|
112
115
|
[pre-commit]: https://pre-commit.com/
|
|
113
116
|
[pypi]: https://pypi.org/project/cookie-python/
|
|
114
117
|
[pytest]: https://docs.pytest.org
|
|
118
|
+
[pyupgrade]: https://github.com/asottile/pyupgrade
|
|
115
119
|
[repo]: https://github.com/smkent/cookie-python
|
|
116
120
|
|
|
@@ -17,6 +17,8 @@ A template for new Python projects, with:
|
|
|
17
17
|
* [black][black]
|
|
18
18
|
* [flake8][flake8] (with [bugbear][flake8-bugbear], [simplify][flake8-simplify],
|
|
19
19
|
and [pep8-naming][pep8-naming])
|
|
20
|
+
* [autoflake][autoflake]
|
|
21
|
+
* [pyupgrade][pyupgrade]
|
|
20
22
|
* [bandit][bandit]
|
|
21
23
|
* [cruft][cruft]
|
|
22
24
|
* GitHub Actions support
|
|
@@ -64,6 +66,7 @@ cookiecutter https://github.com/smkent/cookie-python
|
|
|
64
66
|
* Update test expected output files from test results:
|
|
65
67
|
`poetry run poe updatetests`
|
|
66
68
|
|
|
69
|
+
[autoflake]: https://github.com/PyCQA/autoflake
|
|
67
70
|
[bandit]: https://github.com/PyCQA/bandit
|
|
68
71
|
[black]: https://github.com/psf/black
|
|
69
72
|
[codecov]: https://codecov.io/gh/smkent/cookie-python
|
|
@@ -84,4 +87,5 @@ cookiecutter https://github.com/smkent/cookie-python
|
|
|
84
87
|
[pre-commit]: https://pre-commit.com/
|
|
85
88
|
[pypi]: https://pypi.org/project/cookie-python/
|
|
86
89
|
[pytest]: https://docs.pytest.org
|
|
90
|
+
[pyupgrade]: https://github.com/asottile/pyupgrade
|
|
87
91
|
[repo]: https://github.com/smkent/cookie-python
|
|
@@ -4,7 +4,7 @@ build-backend = "poetry_dynamic_versioning.backend"
|
|
|
4
4
|
|
|
5
5
|
[tool.poetry]
|
|
6
6
|
name = "cookie-python"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.1"
|
|
8
8
|
description = ""
|
|
9
9
|
license = "MIT"
|
|
10
10
|
authors = ["Stephen Kent <smkent@smkent.net>"]
|
|
@@ -66,6 +66,7 @@ help = "Check all files"
|
|
|
66
66
|
[tool.poe.tasks.pytest]
|
|
67
67
|
cmd = "pytest"
|
|
68
68
|
help = "Run unit tests with pytest"
|
|
69
|
+
env = { PYTHON_KEYRING_BACKEND = "keyring.backends.null.Keyring" }
|
|
69
70
|
|
|
70
71
|
[tool.poe.tasks.test]
|
|
71
72
|
sequence = ["lint", "pytest"]
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
from setuptools import setup
|
|
3
|
+
|
|
4
|
+
packages = \
|
|
5
|
+
['{{cookiecutter.project_name}}',
|
|
6
|
+
'{{cookiecutter.project_name}}.tests',
|
|
7
|
+
'{{cookiecutter.project_name}}.{{cookiecutter.project_slug}}']
|
|
8
|
+
|
|
9
|
+
package_data = \
|
|
10
|
+
{'': ['*'],
|
|
11
|
+
'{{cookiecutter.project_name}}': ['.github/workflows/*',
|
|
12
|
+
'.github/workflows/actions/python-poetry/*',
|
|
13
|
+
'cookiecutter_template_data/*',
|
|
14
|
+
'cookiecutter_template_data/licenses/*',
|
|
15
|
+
'docker/*']}
|
|
16
|
+
|
|
17
|
+
install_requires = \
|
|
18
|
+
['loguru', 'poetry-dynamic-versioning', 'pygithub', 'pyyaml', 'semver']
|
|
19
|
+
|
|
20
|
+
entry_points = \
|
|
21
|
+
{'console_scripts': ['manage-cookie = cookie_python.manage.main:main',
|
|
22
|
+
'new-cookie = cookie_python.new:main']}
|
|
23
|
+
|
|
24
|
+
setup_kwargs = {
|
|
25
|
+
'name': 'cookie-python',
|
|
26
|
+
'version': '0.2.1',
|
|
27
|
+
'description': '',
|
|
28
|
+
'long_description': '# [Cookiecutter][cookiecutter] template for new Python projects\n\n[][pypi]\n[][pypi]\n[][gh-actions]\n[][codecov]\n[][repo]\n\n[![cookie-python][logo]](#)\n\nA template for new Python projects, with:\n\n* [poetry][poetry] (with [poetry-dynamic-versioning][poetry-dynamic-versioning])\n* [pytest][pytest]\n* [pre-commit][pre-commit]\n* [mypy][mypy]\n* [black][black]\n* [flake8][flake8] (with [bugbear][flake8-bugbear], [simplify][flake8-simplify],\n and [pep8-naming][pep8-naming])\n* [autoflake][autoflake]\n* [pyupgrade][pyupgrade]\n* [bandit][bandit]\n* [cruft][cruft]\n* GitHub Actions support\n* Coverage reports with [codecov.io][codecovio]\n\n## Poetry installation\n\nVia [`pipx`][pipx]:\n\n```console\npip install pipx\npipx install poetry\npipx inject poetry poetry-dynamic-versioning poetry-pre-commit-plugin\n```\n\nVia `pip`:\n\n```console\npip install poetry\npoetry self add poetry-dynamic-versioning poetry-pre-commit-plugin\n```\n\n## New project creation\n\n### With [cruft][cruft] via script\n\n```console\npoetry install\npoetry run new-cookie <path> # or poetry run cruft create\n```\n\n### With [cookiecutter][cookiecutter] directly\n\n```console\npip install cookiecutter\ncookiecutter https://github.com/smkent/cookie-python\n```\n\n## Development tasks\n\n* Setup: `poetry install`\n* Run static checks: `poetry run poe lint` or\n `poetry run pre-commit run --all-files`\n* Run static checks and tests: `poetry run poe test`\n* Update test expected output files from test results:\n `poetry run poe updatetests`\n\n[autoflake]: https://github.com/PyCQA/autoflake\n[bandit]: https://github.com/PyCQA/bandit\n[black]: https://github.com/psf/black\n[codecov]: https://codecov.io/gh/smkent/cookie-python\n[codecovio]: https://codecov.io\n[cookiecutter]: https://github.com/cookiecutter/cookiecutter\n[cruft]: https://github.com/cruft/cruft\n[flake8-bugbear]: https://github.com/PyCQA/flake8-bugbear\n[flake8-simplify]: https://github.com/MartinThoma/flake8-simplify\n[flake8]: https://github.com/pycqa/flake8\n[gh-actions]: https://github.com/smkent/cookie-python/actions?query=branch%3Amain\n[logo]: https://raw.github.com/smkent/cookie-python/main/img/cookie-python.png\n[mypy]: https://github.com/python/mypy\n[pep8-naming]: https://github.com/PyCQA/pep8-naming\n[pipx]: https://pypa.github.io/pipx/\n[poetry-dynamic-versioning]: https://github.com/mtkennerly/poetry-dynamic-versioning\n[poetry-installation]: https://python-poetry.org/docs/#installation\n[poetry]: https://python-poetry.org/\n[pre-commit]: https://pre-commit.com/\n[pypi]: https://pypi.org/project/cookie-python/\n[pytest]: https://docs.pytest.org\n[pyupgrade]: https://github.com/asottile/pyupgrade\n[repo]: https://github.com/smkent/cookie-python\n',
|
|
29
|
+
'author': 'Stephen Kent',
|
|
30
|
+
'author_email': 'smkent@smkent.net',
|
|
31
|
+
'maintainer': 'None',
|
|
32
|
+
'maintainer_email': 'None',
|
|
33
|
+
'url': 'https://github.com/smkent/cookie-python',
|
|
34
|
+
'packages': packages,
|
|
35
|
+
'package_data': package_data,
|
|
36
|
+
'install_requires': install_requires,
|
|
37
|
+
'entry_points': entry_points,
|
|
38
|
+
'python_requires': '>=3.8,<4.0',
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
setup(**setup_kwargs)
|
|
File without changes
|
|
File without changes
|
{cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.github/workflows/cd.yml
RENAMED
|
File without changes
|
{cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.github/workflows/ci.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/.pre-commit-config.yaml
RENAMED
|
@@ -33,6 +33,14 @@ repos:
|
|
|
33
33
|
- flake8-pyproject
|
|
34
34
|
- flake8-simplify
|
|
35
35
|
- pep8-naming
|
|
36
|
+
- repo: https://github.com/pycqa/autoflake
|
|
37
|
+
rev: v2.0.1
|
|
38
|
+
hooks:
|
|
39
|
+
- id: autoflake
|
|
40
|
+
- repo: https://github.com/asottile/pyupgrade
|
|
41
|
+
rev: v3.3.1
|
|
42
|
+
hooks:
|
|
43
|
+
- id: pyupgrade
|
|
36
44
|
- repo: local
|
|
37
45
|
hooks:
|
|
38
46
|
- id: mypy
|
|
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
|
{cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/docker-compose.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{cookie_python-0.2.0 → cookie_python-0.2.1}/{{cookiecutter.project_name}}/tests/test_module.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
cookie_python-0.2.0/setup.py
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
from setuptools import setup
|
|
3
|
-
|
|
4
|
-
packages = \
|
|
5
|
-
['{{cookiecutter.project_name}}',
|
|
6
|
-
'{{cookiecutter.project_name}}.tests',
|
|
7
|
-
'{{cookiecutter.project_name}}.{{cookiecutter.project_slug}}']
|
|
8
|
-
|
|
9
|
-
package_data = \
|
|
10
|
-
{'': ['*'],
|
|
11
|
-
'{{cookiecutter.project_name}}': ['.github/workflows/*',
|
|
12
|
-
'.github/workflows/actions/python-poetry/*',
|
|
13
|
-
'cookiecutter_template_data/*',
|
|
14
|
-
'cookiecutter_template_data/licenses/*',
|
|
15
|
-
'docker/*']}
|
|
16
|
-
|
|
17
|
-
install_requires = \
|
|
18
|
-
['loguru', 'poetry-dynamic-versioning', 'pygithub', 'pyyaml', 'semver']
|
|
19
|
-
|
|
20
|
-
entry_points = \
|
|
21
|
-
{'console_scripts': ['manage-cookie = cookie_python.manage.main:main',
|
|
22
|
-
'new-cookie = cookie_python.new:main']}
|
|
23
|
-
|
|
24
|
-
setup_kwargs = {
|
|
25
|
-
'name': 'cookie-python',
|
|
26
|
-
'version': '0.2.0',
|
|
27
|
-
'description': '',
|
|
28
|
-
'long_description': '# [Cookiecutter][cookiecutter] template for new Python projects\n\n[][pypi]\n[][pypi]\n[][gh-actions]\n[][codecov]\n[][repo]\n\n[![cookie-python][logo]](#)\n\nA template for new Python projects, with:\n\n* [poetry][poetry] (with [poetry-dynamic-versioning][poetry-dynamic-versioning])\n* [pytest][pytest]\n* [pre-commit][pre-commit]\n* [mypy][mypy]\n* [black][black]\n* [flake8][flake8] (with [bugbear][flake8-bugbear], [simplify][flake8-simplify],\n and [pep8-naming][pep8-naming])\n* [bandit][bandit]\n* [cruft][cruft]\n* GitHub Actions support\n* Coverage reports with [codecov.io][codecovio]\n\n## Poetry installation\n\nVia [`pipx`][pipx]:\n\n```console\npip install pipx\npipx install poetry\npipx inject poetry poetry-dynamic-versioning poetry-pre-commit-plugin\n```\n\nVia `pip`:\n\n```console\npip install poetry\npoetry self add poetry-dynamic-versioning poetry-pre-commit-plugin\n```\n\n## New project creation\n\n### With [cruft][cruft] via script\n\n```console\npoetry install\npoetry run new-cookie <path> # or poetry run cruft create\n```\n\n### With [cookiecutter][cookiecutter] directly\n\n```console\npip install cookiecutter\ncookiecutter https://github.com/smkent/cookie-python\n```\n\n## Development tasks\n\n* Setup: `poetry install`\n* Run static checks: `poetry run poe lint` or\n `poetry run pre-commit run --all-files`\n* Run static checks and tests: `poetry run poe test`\n* Update test expected output files from test results:\n `poetry run poe updatetests`\n\n[bandit]: https://github.com/PyCQA/bandit\n[black]: https://github.com/psf/black\n[codecov]: https://codecov.io/gh/smkent/cookie-python\n[codecovio]: https://codecov.io\n[cookiecutter]: https://github.com/cookiecutter/cookiecutter\n[cruft]: https://github.com/cruft/cruft\n[flake8-bugbear]: https://github.com/PyCQA/flake8-bugbear\n[flake8-simplify]: https://github.com/MartinThoma/flake8-simplify\n[flake8]: https://github.com/pycqa/flake8\n[gh-actions]: https://github.com/smkent/cookie-python/actions?query=branch%3Amain\n[logo]: https://raw.github.com/smkent/cookie-python/main/img/cookie-python.png\n[mypy]: https://github.com/python/mypy\n[pep8-naming]: https://github.com/PyCQA/pep8-naming\n[pipx]: https://pypa.github.io/pipx/\n[poetry-dynamic-versioning]: https://github.com/mtkennerly/poetry-dynamic-versioning\n[poetry-installation]: https://python-poetry.org/docs/#installation\n[poetry]: https://python-poetry.org/\n[pre-commit]: https://pre-commit.com/\n[pypi]: https://pypi.org/project/cookie-python/\n[pytest]: https://docs.pytest.org\n[repo]: https://github.com/smkent/cookie-python\n',
|
|
29
|
-
'author': 'Stephen Kent',
|
|
30
|
-
'author_email': 'smkent@smkent.net',
|
|
31
|
-
'maintainer': 'None',
|
|
32
|
-
'maintainer_email': 'None',
|
|
33
|
-
'url': 'https://github.com/smkent/cookie-python',
|
|
34
|
-
'packages': packages,
|
|
35
|
-
'package_data': package_data,
|
|
36
|
-
'install_requires': install_requires,
|
|
37
|
-
'entry_points': entry_points,
|
|
38
|
-
'python_requires': '>=3.8,<4.0',
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
setup(**setup_kwargs)
|