nome
A Python CLI to check if a package name is available in PyPI or npm.
References
- Ewen Le Bihan's check_availability CLI.
- Anton Zhiyanov's How to make an awesome Python package in 2021 blog post (repo).
- Development - Contributing page (FastAPI documentation).
Development
Current version of Python used for development: Python 3.6.13.
To set up the environment
python -m venv env.source ./env/bin/activate.- Run
which pipto see if it worked. The path must end inenv/bin/pip. - Note: Whenever you install a new package with
pipin this environment, activate it again.
- Run
pip install flit==3.2.0.- Requests is one of the dependencies.
- Documentation.
flit install --deps develop --symlink.- To install all dependencies and
nomein the local environment. - For Windows, replace
--symlinkwith--pth-file.
- To install all dependencies and
To activate the environment
source ./env/bin/activate.
Deployment
- Bump version (
nome/__init__.pyfile). flit publish.
Notes
- Why isn't my desired project name available?:
requirements.txtis a prohibited project name.
- stdlib-list package.
- Python (3.6) Module Index.
- Flit:
- Python packaging tool.
- FastAPI uses it (
pyproject.tomlfile). - Flit replaces setuptools, so you don't need the
MANIFEST.in,setup.py, and/orsetup.cfgfiles (source). - It is possible to add
"Private :: Do Not Upload"to theclassifierslist to prevent a private project from being uploaded to PyPI.
- Conventional Commits.
- IceCream package: alternative to
print()for debugging. python -m venv envorpython3 -m venv env(virtual environment withvenv).- cookiecutter-hipster-pypackage: it combines Pipenv and Flit.
- packaging package:
pip install packaging.- Version specifiers documentation.
- Run
python requests_version.py.
- whey (Python wheel builder).
- Cleo 0.8.1:
- Does not expose verbosity flags (open) issue.
nome = "nome.application:application.run"(more info here and here).- VSCodeThemes (website to preview themes).
- HTTP response status codes.
.pypirc file
[distutils]
index-servers =
pypi
[pypi]
username = joaopalmeiro
Metadata
Release files for nome 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nome-0.1.0.tar.gz | 6.2 kB | Without provenance | Details for nome-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nome-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nome-0.1.0-py3-none-any.whl |
Total release size: 12.8 kB
Release files / nome-0.1.0.tar.gz
| Download URL | nome-0.1.0.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
072748f98842d8c2946829a4e215230e6f16bb48238c81ed9ab77ac7637226af
|
|
BLAKE2b-256 checksum How to use checksums |
c1b44bf5091913adaf86c432a2478c4ff9059b47d6eebaaaee85d97f5c045d9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Release files / nome-0.1.0-py3-none-any.whl
| Download URL | nome-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
85ac971345f07a21e4a447c36a24f0a19e9ae66836ecf4529d4925411d2703ba
|
|
BLAKE2b-256 checksum How to use checksums |
ad5d6cf5a6b4613ef64a39407e19eb2ceed494d3691c339eb08d38d95ea4b876
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.26.0
|
Security for nome 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.