A Python CLI to check if a package name is available in PyPI or npm.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nome-0.1.0.tar.gz
(6.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nome-0.1.0-py3-none-any.whl
(6.6 kB
view details)
File details
Details for the file nome-0.1.0.tar.gz.
File metadata
- Download URL: nome-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
072748f98842d8c2946829a4e215230e6f16bb48238c81ed9ab77ac7637226af
|
|
| MD5 |
32a65a393d22f5f052fc14c99c496d6c
|
|
| BLAKE2b-256 |
c1b44bf5091913adaf86c432a2478c4ff9059b47d6eebaaaee85d97f5c045d9f
|
File details
Details for the file nome-0.1.0-py3-none-any.whl.
File metadata
- Download URL: nome-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.26.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85ac971345f07a21e4a447c36a24f0a19e9ae66836ecf4529d4925411d2703ba
|
|
| MD5 |
2ee978d1d00ab9bbafd3f7d56aad4f7a
|
|
| BLAKE2b-256 |
ad5d6cf5a6b4613ef64a39407e19eb2ceed494d3691c339eb08d38d95ea4b876
|