Skip to main content

pike

It's make, but Python.

Example

See examples/pikefile.py for an example file.

$ pike -f ./examples/pikefile.py --help
usage: pike [-h] [--file FILE] [--list] [--validate] {do-thing,wrapped-task} ...

An example pikefile

optional arguments:
  -h, --help            show this help message and exit
  --file FILE, -f FILE  pikefile.py to use. If not provided, look in the current working directory and all its parents
  --list                List tasks
  --validate            Validate tasks

Tasks:
  Things to run

  {do-thing,wrapped-task}

Each task also has a --help:

$ pike -f ./examples/pikefile.py do-thing --help
usage: pike do-thing [-h] thing

Do a thing, and do it perfectly

positional arguments:
  thing       The thing to do

optional arguments:
  -h, --help  show this help message and exit

If a default value is provided, it's also shown:

$ pike -f ./examples/pikefile.py wrapped-task --help
usage: pike wrapped-task [-h] [--thing THING]

optional arguments:
  -h, --help     show this help message and exit
  --thing THING  (default: Rap)

If a type is provided, it should be cast automatically.

Metadata

Release files for pike-tasks 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pike-tasks 0.0.1
File Size Uploaded
pike-tasks-0.0.1.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pike-tasks 0.0.1
File Interpreter ABI Platform
pike_tasks-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / pike-tasks-0.0.1.tar.gz

Download URL pike-tasks-0.0.1.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
406c06dc0b922540f586ca35739e9f4d9c8d2dcfdc3f09f24b61c3e1c1aa7966
BLAKE2b-256 checksum
How to use checksums
7168c6cbfb22a0d23e478280ec2e1cbc14c9c88a52a7633cc5df82c55f2bab6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release files / pike_tasks-0.0.1-py3-none-any.whl

Download URL pike_tasks-0.0.1-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99ca7d84eb2078ef21adcba568260ab5e1c1753487a54defae66b0c24cce2f21
BLAKE2b-256 checksum
How to use checksums
514f658f983e401b2cd34ebe8bd987988ec115267e96a0cb1bfb9a276be4b430
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.4

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page