Skip to main content

PyPath - Linux

darkmash-org

Install

    pip install pyPathLinux

How To Use:

import pyPath 

my_path = pyPath()

make_redirecting_bashfile()

For making a Bash file which will call a target python file.

args:

filename,
target_pyfile="",
content_edited=None,
allow_args=False,
max_num_args=0

Use:

print(my_path.addfile_to_path("/home/programming/test_123_2.sh",
        "test_123_2.sh",
        exe=True))

addfile_to_path()

For adding file to path.

args:

path,
file_name,
exe=False,
permissions=None

seek_to_path()

returns the items in the path.

path_var_exists()

return if a path exists.

args:

path

add_dir_to_path_TEMP()

Adds a dir to path Temp.

agrs:

path

add_dir_to_path_PERMANENT()

Adds a dir to path.

args:

path,
path_to_bashrc

Metadata

Release files for pyPathLinux 1.0.1

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

Source distribution (sdist)

Source distribution for pyPathLinux 1.0.1
File Size Uploaded
pyPathLinux-1.0.1.tar.gz 2.4 kB Details

Release files / pyPathLinux-1.0.1.tar.gz

Download URL pyPathLinux-1.0.1.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2e344a43c7c4cf94a5ae5bc5219961773131b8af8208dba2d02e93408d442d3e
BLAKE2b-256 checksum
How to use checksums
6845fd8b0b031f974dfa21bac074d49f8d5d768032449f1239308f5b8c2d9f26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

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