Skip to main content

ImportError workaround

Project description

AntiImportError

Avoiding getting “ImportError: attempted relative import with no known parent package” by simply adding parent folder directory to system path.

Source code: https://github.com/eonianmonk/AntiImportError

To import function use: from upper_folder_getter import get_upper_folder

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

upper_folder_getter-0.1.0.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

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

upper_folder_getter-0.1.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file upper_folder_getter-0.1.0.tar.gz.

File metadata

  • Download URL: upper_folder_getter-0.1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for upper_folder_getter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b71534d33269ec4b74b1d10ff8fb00d92afd6785c5877b3fc5264ca16e746e33
MD5 f18ed4b5dc12a5482e8840e3af17b840
BLAKE2b-256 fefdf3eb6f6ecc21426007b7dbf082cf133a14f7c892a3dd250cd3c7cec66d2a

See more details on using hashes here.

File details

Details for the file upper_folder_getter-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: upper_folder_getter-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for upper_folder_getter-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 faa39ff94fd4bc46d93fbdef5d61bf4a25de9b75c33022930ba21899b2c3cc0d
MD5 63a9220dd39c7052612dd62ebfc38321
BLAKE2b-256 575c872433d44d7fd0c98eeced7adc2edbf2748c7f79091270ced06a1936d8a6

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