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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f00001ba8986fb8e37280fef3c91e0b680e9ea7b1d646566de1db39ae4b2ceb
|
|
| MD5 |
3b3adb1653f18346932b205cda2aef0c
|
|
| BLAKE2b-256 |
0bf3b6ef8b5c926646bd0a825bb4141da5c07a361fc2f60e39fcbb9e761eed83
|
Provenance
The following attestation bundles were made for pyrunx-0.1.16.tar.gz:
Publisher:
main.yml on 6C656C65/pythonrunner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrunx-0.1.16.tar.gz -
Subject digest:
6f00001ba8986fb8e37280fef3c91e0b680e9ea7b1d646566de1db39ae4b2ceb - Sigstore transparency entry: 223909950
- Sigstore integration time:
-
Permalink:
6C656C65/pythonrunner@0d9d189d25482dd4650489df122550b44902b3ce -
Branch / Tag:
refs/heads/main - Owner: https://github.com/6C656C65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@0d9d189d25482dd4650489df122550b44902b3ce -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
658033948a597cd65da3844d13b05de5602af23a7a45a25705b8ceab7d1a9c58
|
|
| MD5 |
aa90a2ae99926e9543c515ef07c98d68
|
|
| BLAKE2b-256 |
7d59fdcf09b1fb84b48b14d3b118c9ca47742f0b18f0658dd59702bfd9613ed5
|
Provenance
The following attestation bundles were made for pyrunx-0.1.16-py3-none-any.whl:
Publisher:
main.yml on 6C656C65/pythonrunner
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyrunx-0.1.16-py3-none-any.whl -
Subject digest:
658033948a597cd65da3844d13b05de5602af23a7a45a25705b8ceab7d1a9c58 - Sigstore transparency entry: 223909953
- Sigstore integration time:
-
Permalink:
6C656C65/pythonrunner@0d9d189d25482dd4650489df122550b44902b3ce -
Branch / Tag:
refs/heads/main - Owner: https://github.com/6C656C65
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
main.yml@0d9d189d25482dd4650489df122550b44902b3ce -
Trigger Event:
push
-
Statement type: