Skip to main content

Python Dev Utility Modules

This is a collection of Python utility modules aimed at streamlining development workflows and making the development process more enjoyable.

Overview

This collection includes various utility modules designed to perform common development tasks, such as file manipulation, text formatting, and command-line interface (CLI) handling.

Modules

Module Description
writer.py A module providing utility functions for writing files.
Functions:
- write_file_with_prompt: Write content to a file, prompting the user if the file already exists.
banner.py A module for creating formatted banners for CLI output.
Functions:
- print_banner: Print a formatted banner to the console.

Got it! Here's the updated README section:


Setup

To use these utility modules in your Python projects, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://gist.github.com/devinci-it/d432708e796d6e6160efe13ee6cc7bbc/
    
  2. Rename and navigate to the cloned directory:

    mv ./d432708e796d6e6160efe13ee6cc7bbc ./dev_utils
    cd dev_utils
    
  3. Install the modules using pip:

    pip install .
    
  4. The main functions from some modules are automatically imported in the __init__.py file for convenience. You can modify these aliases as needed or use them directly in your scripts.

  5. Start using the utility functions in your projects!

Note

This collection of utility modules is an ongoing project, and additional modules will be published as they are developed. These modules are personally used and developed to streamline and enhance the development experience.

Metadata

Release files for devinci-pyutils 1.0.0

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

Source distribution (sdist)

Source distribution for devinci-pyutils 1.0.0
File Size Uploaded
devinci_pyutils-1.0.0.tar.gz 7.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for devinci-pyutils 1.0.0
File Interpreter ABI Platform
devinci_pyutils-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 16.5 kB

Release files / devinci_pyutils-1.0.0.tar.gz

Download URL devinci_pyutils-1.0.0.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b5a7052f14c3525c1156fea2ce79b037125ed6a74494f4470136ad044ace3e43
BLAKE2b-256 checksum
How to use checksums
162a2b6857d89263e2999cc0485f74d8a15e721f5dcb53a6dae70a525387e14f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / devinci_pyutils-1.0.0-py3-none-any.whl

Download URL devinci_pyutils-1.0.0-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a91be54536b224ad695f35c18239fe20cb09fb5f709a50ceebcfea17ea4e6a44
BLAKE2b-256 checksum
How to use checksums
80f19a274663863bcd4b5d4c43fd36784efb40243b4dd3033b792aa7547e1c75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1

3 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