tome is a powerful script management tool designed to streamline the organization and distribution of scripts across different environments. Built with flexibility and ease of use in mind, tome enhances how scripts of any kind are managed, shared, tested, and maintained.
With tome, you can:
- Organize 📂: Effortlessly manage and structure your scripts for a clean, maintainable codebase. Learn more in the Quickstart →
- Share & Collaborate 🤝: Seamlessly distribute your script collections (Tomes) via Git, archives, or local folders. See sharing options →
- Test 🧪: Ensure your scripts' reliability with integrated
pytest
support. Read the testing guide → - Secure 🔒: Manage and protect sensitive data like API keys and passwords using the tome Vault. Explore the Vault →
The recommended way to install tome is using pip
within a virtual environment. This
ensures that your project dependencies are isolated and managed effectively:
- Create a virtual environment:
python -m venv myenv
- Activate the virtual environment:
On Windows:
myenv\Scripts\activate
On macOS/Linux:
source myenv/bin/activate
- Install tome using
pip
:
pip install tomescripts
You're all set to start using tome!
Get a feel for tome in under a minute:
# 1. Create a new command template
$ tome new greetings:hello
# 2. Install your new Tome (in editable mode for development)
$ tome install . -e
# 3. Run your command!
$ tome greetings:hello "Hello"
_______
< Hello >
-------
\\ @..@
\\ (----)
( >__< )
^^ ~~ ^^
This simple example creates a Python script that prints a greeting with an ASCII frog. With tome, this script is now an easily callable command.
For more detailed information on how to use tome, best practices, and guides, please refer to our official documentation.
We welcome contributions to tome! Please read our contributing guidelines located in CONTRIBUTING.md before submitting pull requests.
We are committed to providing a welcoming and inspiring community for all. Please read CODE_OF_CONDUCT.md in this repository for details on our code of conduct, which outlines our expectations for participants within the community.
tome is released under the Apache License. See the bundled LICENSE file for details.