publishing-python-packages
sampleproject
publishing-python-packages | sampleproject | |
---|---|---|
2 | 18 | |
76 | 5,004 | |
- | 0.6% | |
0.0 | 4.9 | |
30 days ago | 2 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
publishing-python-packages
-
How to improve Python packaging, or why 14 tools are at least 12 too many
I don't agree with all the points from the article, but I do agree there is a depth of learning to be had about creating packages (and doing it repeatably/scalably). I wrote a book about creating Python packages that just came out: https://pypackages.com
Even this book doesn't cover all options in each area, and it skips almost wholly over conda because I have no personal experience using it. conda and the work in the scientific community adds complexity both to the creation and the consumption side of packaging, and that's one area I'm not sure this post covers all the nuance of when considering how a "one size fits all" solution might work in practice.
-
Publishing Python Packages: available now!
If reading code is more your thing, you might want to check out the code companion.
sampleproject
-
Releasing my Python Project
from setuptools import setup, find_packages from src.til_page_builder.version import __version__ as version with open("requirements.txt") as f: requirements = f.read().splitlines() setup( name="til_page_builder", version=version, packages=find_packages(), install_requires=requirements, entry_points={ "console_scripts": [ "til_page_builder=til_page_builder.til_builder_main:main", # Adjust 'module_name' and 'main' accordingly ], }, python_requires=">=3.8", classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", ], author="Amnish Singh Arora", author_email="[email protected]", description="A command-line tool for authoring 'Today I Learned' posts in Markdown, which can be converted to HTML for publishing on the web.", long_description=open("README.md").read(), long_description_content_type="text/markdown", url="https://github.com/pypa/sampleproject", project_urls={ "Homepage": "https://github.com/pypa/sampleproject", "Issues": "https://github.com/pypa/sampleproject/issues", }, )
-
Packaging tutorial: my package installs from test.pypi.org, but I can't import
[project.urls] "Homepage" = "https://github.com/pypa/sampleproject" "Bug Tracker" = "https://github.com/pypa/sampleproject/issues" ```
-
Discock and W4SP Stealer: Malicious pypi packages and horizontally-scrolled masspace imports
We first observed a package performing “starjacking” in the project https://github.com/pypa/sampleproject. We flagged the package for further investigation.
-
How to improve Python packaging, or why 14 tools are at least 12 too many
[2]: https://github.com/pypa/sampleproject/blob/main/pyproject.to...
-
pyproject.toml, setup.cfg, setup.py. What's the difference?
Example Python project uses all of them.
-
NPM like init command for pip
The generated project basically is pypa's sample project(https://github.com/pypa/sampleproject)
-
Building a package as per the PyPA Guidelines
PyPA recommends using a sample project for building reusable packages and is available at: https://github.com/pypa/sampleproject.
-
Reading suggestions on how to structure and name my files
This may help: https://github.com/pypa/sampleproject
- Programar em Python
- How to include non python resource files into a simple python package?
What are some alternatives?
sigstore-python - A Sigstore client for Python
randfacts - Python module used to generate random facts
pigar - :coffee: A tool to generate requirements.txt for Python project, and more than that. (IT IS NOT A PACKAGE MANAGEMENT TOOL)
python-template - A simple template Python repository which describes a workflow and set of tools, to make group projects more manageable
pythonfluente2e - Python Fluente, Segunda Edição
pip - The Python package installer
roadmap - Public roadmap for the Poetry package manager
whoami - Tiny Go server that prints os information and HTTP request to output
tox-pin-deps - Run tox environments with strictly pinned dependencies (and no project or code changes).
flit - Simplified packaging of Python modules
hyper-inspector