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. 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.17.tar.gz (5.5 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.17-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrunx-0.1.17.tar.gz
  • Upload date:
  • Size: 5.5 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.17.tar.gz
Algorithm Hash digest
SHA256 02492c8295b93c8d75bb15798f13c0533fc1901b26b6807a10c3f10b27d5ac21
MD5 e287f7a11b10f8e03d804458be7f5b35
BLAKE2b-256 1f4d5ae346fb869afa911d10c828adfd9a87358176f24b773c04e668f88caf06

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyrunx-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 8.6 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.17-py3-none-any.whl
Algorithm Hash digest
SHA256 f9d91c390c3b2361dcbaa6fbf5de85cb3d064077a1a452a0d176a61ea1f25a4a
MD5 590ffa7ae65b019acad0656ee2ed42ac
BLAKE2b-256 98697c9e81467865217e6d21f76118ec4709119c68117658f9852498d0d7a8f9

See more details on using hashes here.

Provenance

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