Skip to main content

Other Tools

Project description

Other Tools for Python

Installation:

$ pip install othertools

Usage

from othertools.path import chdiranchor

chdiranchor("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


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.3.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file othertools-1.0.3.tar.gz.

File metadata

  • Download URL: othertools-1.0.3.tar.gz
  • Upload date:
  • Size: 1.9 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

Hashes for othertools-1.0.3.tar.gz
Algorithm Hash digest
SHA256 3753cd75fa4c7a1ee6a0cbb34a4e3320fe39f581204041c292b13cb2c827e405
MD5 68efb734ca77c16affecbf6cab719097
BLAKE2b-256 5f0e34d126a2fd9cdf2199a4d8ef71be47f0c71bde7604cf088c4012edf44c08

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page