Other Tools
Project description
Other Tools for Python
To Publish
$ python setup.py sdist
$ twine upload dist/*
Installation
$ pip install othertools
Usage
from othertools.path import chdiranchor
chdir_by_anchor("environment.yaml", "src/.+")
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
chdiranchor("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
chdiranchor("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.5.tar.gz
(2.0 kB
view details)
File details
Details for the file othertools-1.0.5.tar.gz
.
File metadata
- Download URL: othertools-1.0.5.tar.gz
- Upload date:
- Size: 2.0 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 | 914ae43c9038a2296084a36260723c5200e5e429bb9bc989066160d3b721fd39 |
|
MD5 | 60ebdaf301ee8a159b58a9b2265338b1 |
|
BLAKE2b-256 | 6e0786b6630da904a2fc996b9a1b850a9984a0be3573e819c220888d3476037e |