+
Skip to content

jfrog/tome

tome 📖

PyPI version CI Status License

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:


Installation

The recommended way to install tome is using pip within a virtual environment. This ensures that your project dependencies are isolated and managed effectively:

  1. Create a virtual environment:
python -m venv myenv
  1. Activate the virtual environment:

On Windows:

myenv\Scripts\activate

On macOS/Linux:

source myenv/bin/activate
  1. Install tome using pip:
pip install tomescripts

You're all set to start using tome!


Quick Example: Hello 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.


Documentation

For more detailed information on how to use tome, best practices, and guides, please refer to our official documentation.

Contribution

We welcome contributions to tome! Please read our contributing guidelines located in CONTRIBUTING.md before submitting pull requests.

Code of Conduct

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.

License

tome is released under the Apache License. See the bundled LICENSE file for details.

About

tome is a powerful tool for script organization, sharing, and testing.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Contributors 6

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载