pickuppath
pickup file path.
detail
The stragegy of finding file path, following below.
$ pwd
$HOME/vboxshare/venvs/work
$ pickuppath --debug .config.ini
DEBUG:pickuppath:check: $HOME/vboxshare/venvs/work/.config.ini
DEBUG:pickuppath:check: $HOME/vboxshare/venvs/.config.ini
DEBUG:pickuppath:check: $HOME/vboxshare/.config.ini
DEBUG:pickuppath:check: $HOME/.config.ini
$HOME/.config.ini
if file path is not found, then, lookup ~/.config.ini.
as python function
from pickuppath import pickup_path
print(pickup_path("config.ini", current="~/venv/py/work/"))
Metadata
Release files for pickuppath 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pickuppath-0.1.1.tar.gz | 2.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pickuppath-0.1.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / pickuppath-0.1.1.tar.gz
| Download URL | pickuppath-0.1.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f400b9b0c73d1b6343de8a676991493511bbe418884c73f77f0c70e085f661e7
|
|
BLAKE2b-256 checksum How to use checksums |
934c0537afc0e5a9e555410cccb29673a5878766e604cdcbe5b7ec982514f60f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pickuppath-0.1.1-py2.py3-none-any.whl
| Download URL | pickuppath-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e52ea7631b435b792a82587350238d4b46ca699605681069f957568f00b3302a
|
|
BLAKE2b-256 checksum How to use checksums |
804adbb59793f1ae645c9a8af5727e4c85b1bb19b905c08c8e18f79fa9325290
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |