Skip to main content

Internal utility package for PT backend developers

Project description

🚀 pt_dev_utils

PyPI version Python License

pt_dev_utils is a lightweight internal Python utility package crafted to streamline backend development in the PT system. It includes modular, reusable functions that help keep your codebase clean, efficient, and DRY.

🔧 Built for internal use — optimized for speed, clarity, and team productivity.


✨ Features

  • 📂 File Utilities: Standardized file operations (read, write, path handling)
  • 📋 Validation Functions: Common data validators for backend pipelines
  • 💡 Minimal Dependencies: Designed to stay lean and fast

📦 Installation

Install from PyPI using pip:

pip install pt-dev-utils

✅ Example Usage

from pt_dev_utils import load_csv_as_records, read_csv_as_dict_list

records = load_csv_as_records('data/sample.csv')
print(records)
# [('John', 25, 'Engineer'), ('Jane', 30, 'Manager')]

# Read all columns with default headers
data = read_csv_as_dict_list('data.csv')

# Read with selected columns
data = read_csv_as_dict_list(
        'data.csv',
        selected_columns=['name', 'age']
    )


# Read with custom headers
data = read_csv_as_dict_list(
        'data.csv',
        custom_headers=['name', 'age', 'city']
    )

📚 Documentation

📖 Read full documentation
📦 View on PyPI
📂 GitHub Repository


🧾 Changelog

v1.1.8

  • Added publishable docs
  • Minor bug fixes

🛠 Contributing

This package is primarily maintained for internal use. For suggestions or bug reports, please open an issue on the GitHub repo.


🔐 License

Internal Use Only – All rights reserved © PT System.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pt_dev_utils-1.1.8.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pt_dev_utils-1.1.8-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file pt_dev_utils-1.1.8.tar.gz.

File metadata

  • Download URL: pt_dev_utils-1.1.8.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for pt_dev_utils-1.1.8.tar.gz
Algorithm Hash digest
SHA256 0d29bb0b6c81b67058aa0c9b8b68f6eb954de6d3e628508d57b97e86ebc6530a
MD5 d4ee49de14cb2ac75f0c5c005e34df70
BLAKE2b-256 265db1230f12dfe8dc8294b61a9a1ecfe4c8e8fe17824135c595a7d041e7ab04

See more details on using hashes here.

File details

Details for the file pt_dev_utils-1.1.8-py3-none-any.whl.

File metadata

  • Download URL: pt_dev_utils-1.1.8-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.10

File hashes

Hashes for pt_dev_utils-1.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 e9ff4bbe99fa645b10d19b05e9b5f34ecc36798fab7af6ecd3b7a122ac552f35
MD5 1c052d88713f5926a151b1f0a28c05b1
BLAKE2b-256 f42d6dbcc1ef6ed1f5e4dbe513851a6889fa5695515b9cf62d1a7e8798a9f58c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page