pickup path
Project description
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/"))
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
pickuppath-0.1.1.tar.gz
(2.2 kB
view details)
Built Distribution
File details
Details for the file pickuppath-0.1.1.tar.gz
.
File metadata
- Download URL: pickuppath-0.1.1.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f400b9b0c73d1b6343de8a676991493511bbe418884c73f77f0c70e085f661e7 |
|
MD5 | e6af4435dd157c60f1edba29f56aecc1 |
|
BLAKE2b-256 | 934c0537afc0e5a9e555410cccb29673a5878766e604cdcbe5b7ec982514f60f |
Provenance
File details
Details for the file pickuppath-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pickuppath-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52ea7631b435b792a82587350238d4b46ca699605681069f957568f00b3302a |
|
MD5 | ffb76f9dfa3da6e47eab43fc1b38d52f |
|
BLAKE2b-256 | 804adbb59793f1ae645c9a8af5727e4c85b1bb19b905c08c8e18f79fa9325290 |