Skip to main content

Simple project that allows you to run python scripts

Project description

pythonrunner

pythonrunner is a program that allows you to run independent python scripts with a defined configuration.




📦 Installation

Install from source

git clone https://github.com/6C656C65/pythonrunner.git
cd pythonrunner
pip install -r requirements.txt

Install from package

pip install pyrunx

⚙️ Configuration

Pythonrunner requires a YAML configuration file. By default, it takes the config.yml or config.yaml file from the current directory. Alternatively, you can use the -c or --config argument for the path to the file to use. The file simply contains the variables that will be used in the extensions. Here is an example file:

crtsh:
  discord_token: "XXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  discord_prefix: "!"

dns:
  discord_token: "XXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  discord_prefix: "!"

rootme:
  discord_token: "XXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
  discord_prefix: "!"
  api_key: XXXXXX_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  users_uid:
    - uid: 000000
      pseudo: user1
    - uid: 111111
      pseudo: user2
...

🧩 Extensions

Pythonrunner will launch the python files located in the extensions folder. The python files can be in subfolders of this folder. You can use the -e or --extensions argument to change the path of the folder to read.

You can also use the --only argument to specify a comma-separated list of extension filenames (without .py) to load exclusively. Example:

pythonrunner --only dns,crtsh

This will only load the dns.py and crtsh.py extensions.

Extensions are available on this repository. Each of these extensions offers a configuration file. You can add the configurations to your file.

📚 Documentation

If you encounter any problems, or if you want to use the program in a particular way, I advise you to read the documentation.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🤝 Contributing

Contributions are welcome and appreciated! If you'd like to improve this project, feel free to fork the repository and submit a pull request. Whether it's fixing bugs, adding new features, improving documentation, or suggesting enhancements, every bit helps. Please make sure to follow the coding standards and test your changes before submitting. Let's build something great together!


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

pyrunx-0.1.18.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyrunx-0.1.18-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file pyrunx-0.1.18.tar.gz.

File metadata

  • Download URL: pyrunx-0.1.18.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyrunx-0.1.18.tar.gz
Algorithm Hash digest
SHA256 5ea7c39e75b9f178f16ef09f89f84e1f6bf55cbc14790e8f20a6090f23dc9f6a
MD5 47748f8c80e53ab2b4e181ddbe802026
BLAKE2b-256 6b814683454dd86ba94ece40a87a2b4232802adc5470172172b888e516cd902c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrunx-0.1.18.tar.gz:

Publisher: main.yml on 6C656C65/pythonrunner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyrunx-0.1.18-py3-none-any.whl.

File metadata

  • Download URL: pyrunx-0.1.18-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pyrunx-0.1.18-py3-none-any.whl
Algorithm Hash digest
SHA256 170aab16e32d669143778104262ba95a742310ed5ee22aca5de20529180f691e
MD5 31be3b7ba167c6342afe5a7393f0b751
BLAKE2b-256 242aa95bc5635b1fcd6c475c75abaf45247c030f9205ae459a1c6b68f90f5b84

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrunx-0.1.18-py3-none-any.whl:

Publisher: main.yml on 6C656C65/pythonrunner

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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