Skip to main content

run python with custom hooks

Project description

hookpy

Build Status codecov FOSSA Status

run python with custom hooks.

Usage

  1. create a hook-config.json, add your hooks and observed folders, then save it to your project folder.

  2. run python script with hookpy /path/to/script.py --option1 --option2=value2

TODO

  • Add pre-compile mode: load file, compile to ast, modify ast and compile to module.

License

FOSSA Status

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

hookpy-0.1.2.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

hookpy-0.1.2-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file hookpy-0.1.2.tar.gz.

File metadata

  • Download URL: hookpy-0.1.2.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for hookpy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 06dffb4bc784f7e50ae6235331eda2baca1993397f26d6e9a314ba8eded31c41
MD5 6487d4a235500c7f108cefb35af1302d
BLAKE2b-256 fed1d24523e2795f5f7ffba592cc1b78af79c5a5bc7a5601259d5074a81e03fa

See more details on using hashes here.

File details

Details for the file hookpy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: hookpy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for hookpy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 696ae90af27a2f8725509b9b4f485e179747ea17da9ec0be39707a99a02153da
MD5 e1f47d70df4b755bbc6d839f0bec26c3
BLAKE2b-256 e39a38423347ab91235204be33da0df6e02313213c197c4b0af029b5885591fd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page