Skip to main content

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


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)

Uploaded Source

Built Distribution

pickuppath-0.1.1-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2 Python 3

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

Hashes for pickuppath-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f400b9b0c73d1b6343de8a676991493511bbe418884c73f77f0c70e085f661e7
MD5 e6af4435dd157c60f1edba29f56aecc1
BLAKE2b-256 934c0537afc0e5a9e555410cccb29673a5878766e604cdcbe5b7ec982514f60f

See more details on using hashes here.

Provenance

File details

Details for the file pickuppath-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pickuppath-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e52ea7631b435b792a82587350238d4b46ca699605681069f957568f00b3302a
MD5 ffb76f9dfa3da6e47eab43fc1b38d52f
BLAKE2b-256 804adbb59793f1ae645c9a8af5727e4c85b1bb19b905c08c8e18f79fa9325290

See more details on using hashes here.

Provenance

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