Skip to main content

Search for files in sys.path

Project description

Search for files in sys.path

$pip install search-in-syspath





from search_in_syspath import search_in_syspath

print(search_in_syspath(filename="__init__.py", isregex=False))

print(search_in_syspath(filename=r"_+i.it_+\.py", isregex=True))



...

'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\lib\\site-packages\\torch\\nn\\quantized\\dynamic\\__init__.py', 

'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\Lib\\site-packages\\tensorflow\\_api\\v2\\compat\\v2\\types\\__init__.py', 

'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\Lib\\site-packages\\pip\\_vendor\\urllib3\\contrib\\_securetransport\\__init__.py',

 'C:\\Users\\Gamer\\anaconda3\\envs\\dfdir\\lib\\site-packages\\tabledata\\__init__.py', 

...

Project details


Release history Release notifications | RSS feed

This version

0.10

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

search_in_syspath-0.10.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

search_in_syspath-0.10-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file search_in_syspath-0.10.tar.gz.

File metadata

  • Download URL: search_in_syspath-0.10.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for search_in_syspath-0.10.tar.gz
Algorithm Hash digest
SHA256 a091774192f42ab7dadaf64b1343712faf7137ac1a296620ed7afba0d691bc70
MD5 27b13477da9ef278d11be4ef6c89e245
BLAKE2b-256 d7f24c705d0c45d9bace5d1d792e7b37c50a2f1ad2b94c92e02378cfcaffa11f

See more details on using hashes here.

File details

Details for the file search_in_syspath-0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for search_in_syspath-0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 75b4d15ad93dac566b3f12d8c81a3579a2ddee0b743ad1a88f7c5a5077920c9b
MD5 29347d719a333c1ef97050a576552bb3
BLAKE2b-256 39dd1fc9dc369444cc07234e617137fa1a1ad5881cf005b38b7ac13b43312227

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