Skip to main content

dirpath

A library for managing directory paths in the python environment

Installation

pip install dirpath

Usage

Insert absolute path

import dirpath
dirpath.insert(r'D:\MyProject\pack')
from pack import func1

Insert relative path

import dirpath
dirpath.insert('pack')
from pack import func2

Multiple relative path

The relative path must be in the current file path

import dirpath
dirpath.insert('pack',dir_index=0)
from pack import func3

Change the environment priority

import dirpath
dirpath.insert('pack',env_index=2)
from pack import func4

Release files for dirpath 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for dirpath 1.0.1
File Interpreter ABI Platform
dirpath-1.0.1-py3-none-any.whl Python 3 none any Details

Release files / dirpath-1.0.1-py3-none-any.whl

Download URL dirpath-1.0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b982f1ff10a882451f8f1f6b1e4436190126012c042ee90944ac8aed0b41b52
BLAKE2b-256 checksum
How to use checksums
684747a7435873e36b009fab7016d5553aa9d7fe8c52700e5645fc48a2da964b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page