A Python CLI to generate a list of installation commands for a package to add to README files.
Project description
linstall
A Python CLI to generate a list of installation commands for a package to add to README files.
Quickstart
Installation
Via pip:
pip install linstall
Via pipx:
pipx install linstall
Usage
Usage: linstall [OPTIONS] PACKAGE {JavaScript|Python}
Generate a list of installation commands for a package to add to README
files.
Options:
--version Show the version and exit.
--help Show this message and exit.
Development
poetry installpoetry run linstall linstall Python/poetry run linstall --version/poetry run linstall --helppoetry checkpoetry version minororpoetry version patch(source)
Notes
- Poetry:
- Install/Uninstall Poetry
curl -sSL https://install.python-poetry.org | python3 - --previewpoetry --versionpoetry config --listpoetry config virtualenvs.in-project true- Dependencies:
- Add the dependencies and just leave the version number in the
pyproject.tomlfile for exact versions poetry add click markdown-subtemplate pyperclippoetry add black isort flakeheaven flake8-use-fstring --group dev
- Add the dependencies and just leave the version number in the
- Delete the virtual environment:
poetry env remove python(source)
- Poetry Version Plugin:
poetry self add poetry-version-pluginpoetry buildpoetry self remove poetry-version-plugin- plugin does not work anymore with latest poetry 1.2.0b2 (open) issue.
- FlakeHeaven:
poetry run flakeheaven missedpoetry run flakeheaven pluginspoetry run flakeheaven config/poetry run flakeheaven config --plugins-onlypoetry run flakeheaven lint ./linstall//poetry run flakeheaven lint --help- By default, FlakeHeaven runs only
pyflakesandpycodestyle(source and source) - IDE integration documentation
- IDE Integration fails on VSCode (open) issue and BUG: flake8heavened just runs flake8 in VSCode issue
poetry run flakeheaven code FS001(source)poetry run flakeheaven codes flake8-use-fstring(source)
- Commands:
- shellingham package
pipx install linstall
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linstall-0.2.2.tar.gz
(4.4 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
File details
Details for the file linstall-0.2.2.tar.gz.
File metadata
- Download URL: linstall-0.2.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c0063f0675034d2d721967232cf3cb4045fa09271420ab88ca3a652035d7329
|
|
| MD5 |
38715ce9617b7a4294743e11e097afae
|
|
| BLAKE2b-256 |
287f10bc98b29ae8273849e9b5cd3235a13e022c3e1518222ff58a38f5903f34
|
File details
Details for the file linstall-0.2.2-py3-none-any.whl.
File metadata
- Download URL: linstall-0.2.2-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
971fa73767d124f4c19b0eb0c51dfbab6fcc4c1b5befeac5816848853ba1b27f
|
|
| MD5 |
b762f23e3d0a01d191a937cd1463959c
|
|
| BLAKE2b-256 |
1768c5b79d0a8dac4db98c8224f68d4c839a6166341bb97dfaca7610ce6df4e7
|