Skip to main content

Python package that allows a user to easily import local functions from parent folders.

Project description

import-parent

A small utility for importing Python modules using paths relative to the calling script — without modifying your project structure.

Inspired by R's here().


Installation

pip install import-parent

Usage

from import_parent import import_parent

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

import_parent-0.0.1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

import_parent-0.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file import_parent-0.0.1.tar.gz.

File metadata

  • Download URL: import_parent-0.0.1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for import_parent-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b9210800db552843a0038e2df44428b572a8b372d8f12d5a3334abdb89047778
MD5 2ab1b7def3c85a93ea326e9687f12715
BLAKE2b-256 09152cbd2513d716d469cab9e81c385a19a51c273f571046bf27d012faf687e7

See more details on using hashes here.

File details

Details for the file import_parent-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: import_parent-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for import_parent-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 206d62210607fe63189fc6f50f23559e0a3cec34bd500a9b1b5f2f066e04964e
MD5 a03f17c4988e80ddc0a6f7ab466b1841
BLAKE2b-256 8a2c14d13dc3c25abdc40d8912d77dc820b50d683975d16251b5ef02f3f604b6

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