Skip to main content

Wack

Aim

Wack is a personal project to provide a simple click (maybe typer / or custom in the future) cli tool.

Wack gives the user the ability to:

  • Make simple files quickly (e.g. setup.py)
  • Ability to write simple and quick cli commands, found when typing $ wack into the terminal
  • To automate simple tasks (e.g. making pip install write to requirements.txt by default)

Install:

pip install wack

Now wack will be added to your terminal commands. Typing wack will give you:

Usage: wack [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  init
  install
  make

Setup wack:

wack init

This will make a wack.py file in the directory you're in. My recommendation is to do this in the root dir. It will look like the below:

from wack import command
from wack import echo


@command()
def hello_world():
    echo("hello world")

Now when typing $ wack you will get:

Usage: wack [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  hello_world
  init
  install
  make

Make features:

  • .pre-commit-config.yaml
  • .travis.yml (for pypi)
  • setup.py
  • wack.py

FYI, as of 0.1.4 (current version), click groups aren't supported, only commands, which need to be imported from wack. All other click features should work by default and can be imported from click or wack (as wack impliments from click import *).

TODO

  • have a make command for:
    • dotenv
    • pre-commit
  • more tests
  • cookie-cutter for simple flask app?
  • sqlalchemy / alembic setup

Metadata

Release files for Wack 0.2.0

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

Source distribution (sdist)

Source distribution for Wack 0.2.0
File Size Uploaded Provenance
Wack-0.2.0.tar.gz 6.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Wack 0.2.0
File Interpreter ABI Platform
Wack-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / Wack-0.2.0.tar.gz

Download URL Wack-0.2.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0b747091fc6583eb12b9cae91f6113f46dce2b4f9988d6b7ed67fbc2129d19c5
BLAKE2b-256 checksum
How to use checksums
b41d471e8abd145fe7aaa722bc96bf8b782f4cc76bedd75217ff9bfc10a96fb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / Wack-0.2.0-py3-none-any.whl

Download URL Wack-0.2.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00b36807a97694e2ec7d1d37bccad3a0a51b452d624df7a1913330a182f166a9
BLAKE2b-256 checksum
How to use checksums
0c649c520bc60f563ac59143c0144bf7b53036df48ff0cccbda65127df7dc013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Security for Wack 0.2.0

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.

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