Judoka
Judoka is a command line utility that lets you define project scoped commands and call them through their alias. It lets you just do (= judo) your work.
Installation
Install this library using pip:
$ pip install judoka
Usage
Create a .judorc file in your project root, like the example below:
greet = "cowsay 'Hi!'"
[frontend]
start = "npm run start"
[backend]
start = "docker compose up -d"
Then, just run any of the aliases:
$ judo greet
$ judo frontend:start
$ judo backend:start
Or, have a list of all the available commands in your project:
$ judo
You may also choose to include a .judorc file in your $HOME folder (~/.judorc). Commands defined in this file will always be loaded first and will be overwritten if an overlapping command was found.
Shell completions
To install judo shell completions, execute judo-completions [--apply] {bash|fish|zsh} to get instructions on how to install completions for your shell of choice. By including the --apply option, the installation instructions will be applied for you.
Note: Don't forget to reload your shell session after installation to load the completions.
Development
To contribute to this library, first checkout the code. Then create a new virtual environment:
cd judoka
python -mvenv venv
source venv/bin/activate
Or if you are using pipenv:
pipenv shell
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for judoka 0.3.6
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 | |
|---|---|---|---|---|
| judoka-0.3.6.tar.gz | 7.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| judoka-0.3.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.7 kB
Release files / judoka-0.3.6.tar.gz
| Download URL | judoka-0.3.6.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
069599baf6b55ce024e757cd2fa1d3997b12c86cf8b312e13823f0e591b26022
|
|
BLAKE2b-256 checksum How to use checksums |
f48d49a8f5f112d801ab2ad52c7fb371102de67c93467a360ca24e997caaacf6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Release files / judoka-0.3.6-py3-none-any.whl
| Download URL | judoka-0.3.6-py3-none-any.whl |
|---|---|
| Size | 7.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0877838cd7752bb83befedee6b846e460560219d03196f8d8713cd3a783b5612
|
|
BLAKE2b-256 checksum How to use checksums |
bd2ed7baabde018aef451c386398fd005a9d8cdccbcebd3d5d69ddb690755527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.9.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
|
Security for judoka 0.3.6
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.