trixli is a bunch of cli script to help on a daily basis.
Install
pip install traxix.trixli
Usage
All the command have cli --help command.
again
Match the given pattern against bash_history. A like "Ctrl-r" but with multiple patterns.
again export PATH
again my complicated command
f
Find paths matching the given patterns.
Args: p: path from where to begin e: file extension
Example:
find equivalents:
f foo bar
find . |grep foo |grep bar
f -p /tmp -e py hello world
find /tmp -name "*.py" |grep hello |grep world
fr
Like grep -r with multiple patterns
fr -e py from foo
find . -name "*.py" -exec grep from '{}' \; |grep foo
fe
Like f but offers to open it with emacsclient
pexor.py
Indexes imports from python file. Helpful to find code exampls using a certain package.
pexor.py --output=imports.json
Will generate a dict in a json file. Keys been modules or functions and values files where to find them.
Release files for traxix.trixli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| traxix.trixli-0.1.0.tar.gz | 6.5 kB | Details |
Release files / traxix.trixli-0.1.0.tar.gz
| Download URL | traxix.trixli-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8cf59faab837fdfd97252ae6c9d99601b188778ffc1bcfeee984574377924ba0
|
|
BLAKE2b-256 checksum How to use checksums |
df7bf117f0b4b5d320252c310fab891c300bb9ce27e843a5f931b52f46ae0d43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.12
|