Skip to main content

No project description provided

Project description

CI Status Coverage Contributors Forks Stargazers Issues


Logo

Plyght

A Python utility library made for modern, robust, industry Python applications.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Acknowledgments

About The Project

Plyght is an open-source lightweight Python utility library that provides extended capability for client services configurations, function decorations, advanced logging, format converters, and more. The premise of Plyght is to improve exisiting functionality and enhance the developer experience and readbility of code. Plyght is an opinionated Python library, prefering explicit, declarative programming. In general, its implementations are stand alone, but are best served using the entire application framework.

Built With

  • Python
  • Git
  • GitHub Actions
  • Docker

(back to top)

Getting Started

To get started it best you follow the introductory guide at Plyght.

Prerequisites

This project relies on Python, Poetry, and Git. Apart from those, that's it! It is important that the correct versions of Python and Poetry are installed, otherwise all the dependencies are managed in the pyptoject.toml file at the root directory. The below version are relevant to the project:

python=^3.13
poetry=^2.0.0

Additionally, the package is planned to be released on PyPi as an installation which can be done directly through poetry, pip, or any other Python package manager; opposed to installation direct from source.

Installation

The installation of Plyght can be done through the pip or poetry using the pyproject.toml. Additionally, if the installation requires additional supporting functionality such as Kafka, Neo4j, OpenSearch et al, you will need to specify those in the installation step.

Poetry
#Installing without additional dependencies.
poetry install

#Installing with additional depedencies.
poetry install --extras "neo4j kafka ..."
Pip
#Installing without additional dependencies.
pip install .

#Installing with additional depedencies.
poetry install "[neo4j,kafka,...]"

Compendium CI

The current workflow being used is a Compendium CI Python Poetry pipeline with comprehensive checks for testing, linting, style, code security and structure. Compendium is a GitHub specific CI suite fully managed here. It is important that before any pushes are made the code quality checks and reformatting are ran. This can be done with the following commands:

poetry run black src && poetry run isort src

This will ensure the pipeline completes successfully and all code is to an appropriate format standard. For more information on the linting configuration seek out the pyproject.toml configuration under [tools.black] & [tools.isort] as well as the .flake8 configuration file.

Acknowledgments:

contrib.rocks image

(back to top)

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

plyght-0.1.1a1.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

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

plyght-0.1.1a1-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file plyght-0.1.1a1.tar.gz.

File metadata

  • Download URL: plyght-0.1.1a1.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.0 Windows/11

File hashes

Hashes for plyght-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 f4cc0f69ea3c3604bce2b5434c5fd27c6485ce220821d5ca025ff6c555e494ec
MD5 45893d698d3034b34a08487b6b8a307b
BLAKE2b-256 2400c1cc62314eb0747eb9c8c456db5084b8ed28d5b58f6a58cc5200026c6cf1

See more details on using hashes here.

File details

Details for the file plyght-0.1.1a1-py3-none-any.whl.

File metadata

  • Download URL: plyght-0.1.1a1-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.13.0 Windows/11

File hashes

Hashes for plyght-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 7de5eb7b9e7809fe139f850b93148f1c6ab6083cc06ce37057f557a9679be40e
MD5 a884734292c947f5a7d88b7d0b867e0f
BLAKE2b-256 8a7067989c13cfca22023fe902a4562ea32e1d1c0d98e762de7c0c1cf9298460

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