Other Tools
Project description
Other Tools for Python
To Publish
$ python setup.py sdist
$ twine upload dist/othertools-X.X.X.tar.gz
Installation
$ pip install othertools
# other useful commands
$ pip show othertools | findstr "Version"
$ pip install othertools --upgrade
Usage
from othertools.path import chdir_by_anchor
chdir_by_anchor("environment.yaml", "src/.+")
#---
from othertools.path import path_add_by_anchor
path_add_by_anchor("environment.yaml", "src/.+")
Examples
Example 1
Before:
.
├── documents
└── projects
└── python
└── hello-world
├── environment.yaml
└── src ### CURRENT DIRECTORY] ###
└── root.package
└── main.py
chdir_by_anchor("environment.yaml", "src/.+")
After:
.
├── documents
└── projects
└── python
└── hello-world
├── environment.yaml
└── src
└── root.package ### CURRENT DIRECTORY] ###
└── main.py
Example 2
Before:
.
├── documents
└── projects
└── python
└── hello-world ### CURRENT DIRECTORY] ###
├── environment.yaml
└── src
└── root.package
└── main.py
chdir_by_anchor("environment.yaml", "src/.+")
After:
.
├── documents
└── projects
└── python
└── hello-world
├── environment.yaml
└── src
└── root.package ### CURRENT DIRECTORY] ###
└── main.py
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
othertools-1.0.12.tar.gz
(2.1 kB
view details)
File details
Details for the file othertools-1.0.12.tar.gz
.
File metadata
- Download URL: othertools-1.0.12.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4ae123f3a1031344ba4c3fcd47a235d8584c06750f0cae57d81364668b9db2c |
|
MD5 | 61710b6496fc06666f47c78e54dfb622 |
|
BLAKE2b-256 | 825ac77d1b32635fed0457cb483ca14aa7d0b2f6ea2c5d4d8b791b70a90cdba1 |