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:

webhook_url: "https://discord.com/api/webhooks/XXXXXXXXXXXXXXXXXXX/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXX"
discord_token: "XXXXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
discord_prefix: "!"
url: "https://example.com"
interval: 60

🧩 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. Extensions are available on this repository.

📚 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.16.tar.gz (5.4 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.16-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrunx-0.1.16.tar.gz
  • Upload date:
  • Size: 5.4 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.16.tar.gz
Algorithm Hash digest
SHA256 6f00001ba8986fb8e37280fef3c91e0b680e9ea7b1d646566de1db39ae4b2ceb
MD5 3b3adb1653f18346932b205cda2aef0c
BLAKE2b-256 0bf3b6ef8b5c926646bd0a825bb4141da5c07a361fc2f60e39fcbb9e761eed83

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrunx-0.1.16.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.16-py3-none-any.whl.

File metadata

  • Download URL: pyrunx-0.1.16-py3-none-any.whl
  • Upload date:
  • Size: 8.5 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 658033948a597cd65da3844d13b05de5602af23a7a45a25705b8ceab7d1a9c58
MD5 aa90a2ae99926e9543c515ef07c98d68
BLAKE2b-256 7d59fdcf09b1fb84b48b14d3b118c9ca47742f0b18f0658dd59702bfd9613ed5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyrunx-0.1.16-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