Skip to main content

mcgpyutils(MCG Python Utilities) is a project containing utility classes commonly used in Python projects at MCG Strategic.

Requirements

  • Python3, version >= 3.6

Usage

Example:

from mcgpyutils import FileSystemUtils

fsu = FileSystemUtils()
print(fsu.get_path_to_script(__file__))

Development

Changes to this package can be tested by putting the path to the root of this repository in the PYTHONPATH environment variable. PYTHONPATH will take precedence over the installed package and allow new changes to be used instead of the version installed via pip. To revert this, remove the path to the root of this repository from the PYTHONPATH. Here are 2 aliases to make switching easy:

# Enable development mode
alias pyutilsdev='export PYTHONPATH="/path/to/mcgpyutils:$PYTHONPATH"'

# Revert to installed package (this assumes there's nothing else in your PYTHONPATH)
alias pyutilsprod='export PYTHONPATH=""'

Release files for mcgpyutils 1.0.5

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

Source distribution (sdist)

Source distribution for mcgpyutils 1.0.5
File Size Uploaded
mcgpyutils-1.0.5.tar.gz 9.6 kB Details

Built distribution (wheel)

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

Total release size: 23.2 kB

Release files / mcgpyutils-1.0.5.tar.gz

Download URL mcgpyutils-1.0.5.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
11065fecda16bf51cf4474da0ec91531ebd888ca6965bd8258583a0ded07c765
BLAKE2b-256 checksum
How to use checksums
f7bc1d54716f3fbab6c514d2748d248beb7944a74776551305dc2513a0e80c4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / mcgpyutils-1.0.5-py3-none-any.whl

Download URL mcgpyutils-1.0.5-py3-none-any.whl
Size 13.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ca277c72b79d3a7cde0a29b873aa474246f3352e934aa58293f419d20def8ea
BLAKE2b-256 checksum
How to use checksums
6b87b54193ba65d253284d7ff71d0c3f3ebac1c21042605f88f9636333c6ab07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.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