Skip to main content

Change working directory up a number of levels or to a named folder

Project description

ezdir

Simple utilities to change the current working directory in Python:

  • up(n) goes up n directory levels.
  • find("foldername") goes up to the first parent folder matching a name.

Installation

pip install -e .

## Example

```python
from updir import up, find

up(2)               # Go up two levels
find("scripts")     # Change to a parent folder named 'scripts'

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

ezdir-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ezdir-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file ezdir-0.1.0.tar.gz.

File metadata

  • Download URL: ezdir-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.16

File hashes

Hashes for ezdir-0.1.0.tar.gz
Algorithm Hash digest
SHA256 af40aff82ddcdd5ddeb7e64460407ea87579d5620eeade03a7c82ccdaaf6edee
MD5 7ecff1a34aff0ff5093cc28326e1f84f
BLAKE2b-256 971b2d3065613108082542e19fb0600b4075cdff89a8f7a367374bcde14ef20b

See more details on using hashes here.

File details

Details for the file ezdir-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ezdir-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.16

File hashes

Hashes for ezdir-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc53c41b3fef96aed78812ec87fe85790389982c757925bd5bb1505fae92354e
MD5 1f6130bb4c969646a254caa5592a7141
BLAKE2b-256 76ecdf0a4111f87b6f29307fe03540a9257d4e0f64935bd9386bfda68cb62b6e

See more details on using hashes here.

Supported by

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