A terminal command (Python module) to get the path of a file (pwd for files instead of directories).
Project description
pwdf
A terminal command (Python module) to get the path of a file (pwd for files instead of directories).
PyPI Package: View pwdf on PyPI here.
Installing
pip install pwdf
Usage
pwdf <relative file path>
Example:
foo@bar:~$ pwdf testfile.json
/Users/ryn/Documents/testfiles/testfile.json
Building and Installing From Source
Test install: python setup.py install
Build distributions: python setup.py sdist bdist_wheel
Install distributions: pip install dist/pwdf-<version>-py2.py3-none-any.whl
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
pwdf-1.0.1.tar.gz
(1.7 kB
view details)
Built Distribution
pwdf-1.0.1-py3-none-any.whl
(2.1 kB
view details)
File details
Details for the file pwdf-1.0.1.tar.gz
.
File metadata
- Download URL: pwdf-1.0.1.tar.gz
- Upload date:
- Size: 1.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a0e7720da0f198c6f6f5e3510e431d399516c1805c6357e0e6f2e1f5e28cd1a |
|
MD5 | bd06686e420d5efec3f31d43295cc719 |
|
BLAKE2b-256 | 38a1cbcd418774b0fd8dfec02cb74a800f59bc3af8576f8167664689a24e090d |
File details
Details for the file pwdf-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pwdf-1.0.1-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | afe16d2c11db3942955e63ee4c66ad80dda961f3242a528fba81650681023cf0 |
|
MD5 | 3908ff3ceefbad521ae50879d043a509 |
|
BLAKE2b-256 | 9e67de23ad70eb8959ee30a362bcfbeb30eabf7feac7ad21a8e3202e587b9345 |