modernpackage 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.
@@ -0,0 +1 @@
1
+ """Example package configuration using bleeding edge toolset."""
modernpackage/main.py ADDED
@@ -0,0 +1,6 @@
1
+ """Example package configuration using bleeding edge toolset."""
2
+
3
+
4
+ def main() -> str:
5
+ """Return 'Hello world'."""
6
+ return 'Hello world'
@@ -0,0 +1,47 @@
1
+ Metadata-Version: 2.3
2
+ Name: modernpackage
3
+ Version: 0.0.1
4
+ Summary: Package configuration example using bleeding edge toolset.
5
+ Project-URL: homepage, https://github.com/albertas/modernpackage
6
+ Author-email: Name Surname <email@example.com>
7
+ Classifier: Development Status :: 3 - Alpha
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Natural Language :: English
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python
12
+ Classifier: Programming Language :: Python :: 3.11
13
+ Requires-Python: >=3.11
14
+ Provides-Extra: test
15
+ Requires-Dist: deadcode; extra == 'test'
16
+ Requires-Dist: hatch; extra == 'test'
17
+ Requires-Dist: mypy; extra == 'test'
18
+ Requires-Dist: pip-audit; extra == 'test'
19
+ Requires-Dist: pytest; extra == 'test'
20
+ Requires-Dist: pytest-cov; extra == 'test'
21
+ Requires-Dist: ruff; extra == 'test'
22
+ Description-Content-Type: text/markdown
23
+
24
+ # modernpackage
25
+ This package is configured using bleeding edge toolset and serves as an
26
+ example/starting point for another new packages.
27
+
28
+ ## Development
29
+ Commonly used commands for package development:
30
+ - `make check` - run unit tests and linters.
31
+ - `make fix` - format code and fix detected fixable issues.
32
+ - `make publish` - publishes current package version to pypi.org.
33
+ - `make compile` - bump and freeze dependency versions in requirements*.txt files
34
+ - `make sync` - upgrade installed dependencies in Virtual Environment (executed after `make compile`)
35
+
36
+ ## Toolset
37
+ This package uses these cutting edge tools:
38
+ - ruff - for linting and code formatting
39
+ - mypy - for type checking
40
+ - pip-audit - for known vulnerability detection in dependencies
41
+ - deadcode - for unused code detection
42
+ - pytest - for collecting and running unit tests
43
+ - coverage - for code coverage by unit tests
44
+ - hatch - for publishing package to pypi.org
45
+ - uv - for Python virtual environment and dependency management
46
+ - pyproject.toml - configuration file for all tools
47
+ - Makefile - aliases for commonly used command line commands
@@ -0,0 +1,5 @@
1
+ modernpackage/__init__.py,sha256=mMlqBjeR6_RK2rNxTCubzDEpuew07uu4lUjbJHi1ttk,65
2
+ modernpackage/main.py,sha256=4yB2cW_hXesE7CObUdpywE_fK6sH9qiNusgFni11DwE,143
3
+ modernpackage-0.0.1.dist-info/METADATA,sha256=aPryIR_2ZEoMrLAyze2rm6BgknfVCu_xpCEhpDYHQQM,1975
4
+ modernpackage-0.0.1.dist-info/WHEEL,sha256=uNdcs2TADwSd5pVaP0Z_kcjcvvTUklh2S7bxZMF8Uj0,87
5
+ modernpackage-0.0.1.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.22.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any