Skip to content

softwarelanguageslab/trenchkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Trenchkit uses Poetry to package and manage it's dependencies.

poetry install

You can run trenchkit using poetry. The tool name is the directory name of the tool in the tools directory.

poetry run trenchkit <tool_name> <tool_args>

Poetry adds the ability to build packages so that they can be installed using pip

poetry build

This will generate packages in the dist folder. It is recommended to install these and so that you don't have to be in the trenchkit directory to run the application.

Extending trenchkit

  • New tools should be added in the tools directory.
  • Each tool should represent a python package.
  • Each tool should have a main.py file with a run(args) function
├── trenchkit/
│   ├── __init__.py
│   ├── trenchkit.py       
│   └── tools/             
│       ├── __init__.py
│       ├── tool_1.py
|           └── __init__.py 
|           └── main.py 
│       ├── tool_2.py
|           └── __init__.py 
|           └── main.py 
│       └── ...            
├── pyproject.toml

About

Tools from the trenches: formatting, testing, fixing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages