python-lib
Opinionated cookiecutter template for creating a new Python library (by simonw)
sampleproject
A sample project that exists for PyPUG's "Tutorial on Packaging and Distributing Projects" (by pypa)
python-lib | sampleproject | |
---|---|---|
1 | 18 | |
160 | 4,996 | |
- | 0.5% | |
5.8 | 4.9 | |
4 months ago | about 2 months ago | |
Python | Python | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
python-lib
Posts with mentions or reviews of python-lib.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-07.
-
How to make a Python package in 2021
I have a cookiecutter template for this at https://github.com/simonw/python-lib (also click-app and datasette-plugin)
It sets up GitHub actions for publishing the package to PyPI when you create a release on GitHub - which I find way to be a really productive way of working.
sampleproject
Posts with mentions or reviews of sampleproject.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-26.
-
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?
When comparing python-lib and sampleproject you can also consider the following projects:
flit - Simplified packaging of Python modules
randfacts - Python module used to generate random facts
vscode-python - Python extension for Visual Studio Code
python-template - A simple template Python repository which describes a workflow and set of tools, to make group projects more manageable
laravel-websockets-example - Quick example of a docker stack for laravel-websockets
pip - The Python package installer
whoami - Tiny Go server that prints os information and HTTP request to output
myproject
sigstore-python - A Sigstore client for Python
python-lib vs flit
sampleproject vs randfacts
python-lib vs vscode-python
sampleproject vs python-template
python-lib vs laravel-websockets-example
sampleproject vs pip
python-lib vs pip
sampleproject vs whoami
python-lib vs myproject
sampleproject vs flit
python-lib vs python-template
sampleproject vs sigstore-python