https://github.com/joaopalmeiro/toppics
A Python CLI for adding pre-defined topics to a GitHub repository.
https://github.com/joaopalmeiro/toppics
cli python
Last synced: about 1 month ago
JSON representation
A Python CLI for adding pre-defined topics to a GitHub repository.
- Host: GitHub
- URL: https://github.com/joaopalmeiro/toppics
- Owner: joaopalmeiro
- License: mit
- Created: 2021-05-23T15:24:09.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T13:50:46.000Z (almost 4 years ago)
- Last Synced: 2025-01-31T07:12:07.437Z (3 months ago)
- Topics: cli, python
- Language: Python
- Homepage: https://pypi.org/project/toppics/
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# toppics
[](https://pypi.org/project/toppics/)
[](https://github.com/joaopalmeiro/toppics/actions/workflows/release.yml)
[](https://github.com/PyCQA/bandit)
[](https://github.com/psf/black)A Python CLI for adding pre-defined topics to a GitHub repository.
## Development
- `poetry install`
- `poetry shell`## Tech Stack
- [Click](https://click.palletsprojects.com/) (for the interface)
### Packaging and Development
- [Poetry](https://python-poetry.org/)
- [Mypy](http://mypy-lang.org/)
- [isort](https://pycqa.github.io/isort/)
- [Black](https://github.com/psf/black)
- [Flake8](https://flake8.pycqa.org/)
- [flake8-bugbear](https://github.com/PyCQA/flake8-bugbear)
- [flake8-comprehensions](https://github.com/adamchainz/flake8-comprehensions)
- [pep8-naming](https://github.com/PyCQA/pep8-naming)
- [flake8-builtins](https://github.com/gforcada/flake8-builtins)
- [Bandit](https://bandit.readthedocs.io/)This CLI was created with [Cookiecutter](https://github.com/audreyr/cookiecutter) and the [`joaopalmeiro/cookiecutter-templates/python-cli`](https://github.com/joaopalmeiro/cookiecutter-templates) project template.
## Notes
- [Replace all repository topics](https://docs.github.com/en/rest/reference/repos#replace-all-repository-topics).
- [ghapi](https://ghapi.fast.ai/) documentation:
- `repos.replace_all_topics(owner, repo, names)`.
- [regex101](https://regex101.com/) website.
- [Click 7](https://click.palletsprojects.com/en/7.x/) documentation:
- [Utils](https://click.palletsprojects.com/en/7.x/utils/).
- [Click 8](https://click.palletsprojects.com/en/8.0.x/) documentation.
- `toppics https://github.com/joaopalmeiro/toppics "Python CLI"`.