Skip to main content

lukhed_basic_utils

A collection of basic utility functions for Python projects.

Installation and Usage

pip install lukhed-basic-utils

osCommon

A set utility functions for interacting with the operating system's file and directory structures.

Example Usage

from lukhed_basic_utils import osCommon as osC

Creating Operating System Agnostic FIle Path Strings

example_path = osC.create_file_path_string(list_of_dir=['subdir', 'file.txt'])
print(example_path)
#output
/home/user/current_working_dir/subdir/file.txt

Retrieving File Names in Directory

return_files_in_dir_as_strings("/home/user/docs", return_file_names_only=True)
# output
['file1.txt', 'file2.txt']

fileCommon

A set utility functions for working with local files.

from lukhed_basic_utils import fileCommon as fC

githubCommon

A class for working with the Github API, geared toward utilizing github repo's as storage or shared config.

from lukhed_basic_utils.githubCommon import GithubHelper

Retrieve JSON Content Stored In a Github Repo

gC = GithubHelper(project='lukhed', repo_name='exampleRepo')
example_dict = gC.retrieve_file_content('someConfig.json')

Other Utility Files

classCommon

listWorkCommon

mathCommon

stringCommon

timeCommon

For more documentation, check pypi page: https://pypi.org/project/lukhed-basic-utils/

Metadata

Release files for lukhed-basic-utils 1.6.12

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

Source distribution (sdist)

Source distribution for lukhed-basic-utils 1.6.12
File Size Uploaded
lukhed_basic_utils-1.6.12.tar.gz 66.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lukhed-basic-utils 1.6.12
File Interpreter ABI Platform
lukhed_basic_utils-1.6.12-py3-none-any.whl Python 3 none any Details

Total release size: 138.5 kB

Release files / lukhed_basic_utils-1.6.12.tar.gz

Download URL lukhed_basic_utils-1.6.12.tar.gz
Size 66.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f398650083af6b81328c3cffca4f509aeb1b11897600fadcbbe3c52e2f773245
BLAKE2b-256 checksum
How to use checksums
d6986b8205142b473cb361a69a67630b35d75f0497ab9b18b810bad09c1cd6f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.13

Release files / lukhed_basic_utils-1.6.12-py3-none-any.whl

Download URL lukhed_basic_utils-1.6.12-py3-none-any.whl
Size 72.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ecf8f823908942d6d18d6d70b388e01c4f313946026e329ff5a9a01370e83cb9
BLAKE2b-256 checksum
How to use checksums
d752fcfa9fa824f67c4c22ce022b9bc8482ac48c115bf2c3c2961271f7fa0805
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.6.12 This release

2 release files

1.6.11

2 release files

1.6.9

2 release files

1.6.8

2 release files

1.6.7

2 release files

1.6.6

2 release files

1.6.5

2 release files

1.6.4

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.7

2 release files

1.4.6

2 release files

1.4.5

2 release files

1.4.4

2 release files

1.4.3

2 release files

1.4.2

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.0

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

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