Skip to main content

Package for findfqpath

Project description

findfqpath Package

Returns a fully qualified file name

Finds the current the most current version of a file. Once it's found, it will be stored in a shelf file. Future calls pull from the shelf file first, then search if the file is older than requested or missing Handy for executables that move as they are updated (such as opera.exe). At least Python uses a fully qualified name, so by using this function, the code won't need to change as the exeutable is installed in new folders

This will run slow the FIRST time a new file is requested as it is searching the entire drive. Subsequent usage for the same file will be sub-second.

Usage:
from findfqpath import find_fq_path
fq_path = find_fq_path("opera.exe",1)

Optional:
Scope="Local" - Will write shelf data to the folder where the script is located (So the FIRST execution of a new script will be slow)
Scope="Shared" - Will write shelf data to the common documents folder and be used across python scripts

Sample Application:
options = webdriver.ChromeOptions()
options.binary_location = find_fq_path(find_file='opera.exe', num_days_valid=1)

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

findfqpath-1.0.5.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

findfqpath-1.0.5-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file findfqpath-1.0.5.tar.gz.

File metadata

  • Download URL: findfqpath-1.0.5.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for findfqpath-1.0.5.tar.gz
Algorithm Hash digest
SHA256 5593ba3b23990e40693d2b12655e8160d960979b58b4ee23e4bf07bdc4072857
MD5 3fc9800417c13d6ff69252b2a0b73941
BLAKE2b-256 1a89bbdfd4b18443c8eab65b2d73d5d1c49f989bb5c46e4aea1b4abf81512b31

See more details on using hashes here.

File details

Details for the file findfqpath-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: findfqpath-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.6

File hashes

Hashes for findfqpath-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bdbff4f89317252d1982ca8a8481a7855c34cefc9dd1a6608283e92aa1987991
MD5 7439d5457ec1de1e824fd29734d510ec
BLAKE2b-256 1f1644335999d4063fcfdc839dd6c7b16f75db554e7a0a27da122dec2b0d9b1c

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