Skip to main content

An essential Python toolkit for peak productivity

Project description

PyXIS

status

Pyxis is a comprehensive Python toolkit designed to enhance developer productivity. It offers a suite of tools and classes that streamline various aspects of software development. From data stream processing to advanced configuration management, Pyxis provides an array of functionalities to tackle complex challenges efficiently.

Installation

pip install vitalibo.pyxis==0.2.12

or install from GitHub:

pip install 'git+https://github.com/vitalibo/pyxis.git@0.2.12'

Usage

from dataclasses import dataclass
from pyxis.dataclasses import reference
from pyxis.streams import Stream


@reference
@dataclass
class User:
    name: str
    age: int


users = Stream \
    .of(User('foo', 25), User('bar', 22), User('baz', 30)) \
    .key_by(lambda user: user.age // 10) \
    .group_by_key(User.name) \
    .to_dict()

print(users)

Output

{2: ('foo', 'bar'), 3: ('baz',)}

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

vitalibo_pyxis-0.2.12.tar.gz (89.5 kB view details)

Uploaded Source

Built Distribution

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

vitalibo_pyxis-0.2.12-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file vitalibo_pyxis-0.2.12.tar.gz.

File metadata

  • Download URL: vitalibo_pyxis-0.2.12.tar.gz
  • Upload date:
  • Size: 89.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for vitalibo_pyxis-0.2.12.tar.gz
Algorithm Hash digest
SHA256 7d9289e5ab44c55f3c8026a53563c013f191632456c2a3bcf8cce026c8b1d55d
MD5 62279f19da334db0907ab5164696fbbe
BLAKE2b-256 e2fa1ac0a9d1b323dc8482b00daf975abefc15f22968116a3493abd64cd5cc05

See more details on using hashes here.

Provenance

The following attestation bundles were made for vitalibo_pyxis-0.2.12.tar.gz:

Publisher: ci.yaml on vitalibo/pyxis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file vitalibo_pyxis-0.2.12-py3-none-any.whl.

File metadata

File hashes

Hashes for vitalibo_pyxis-0.2.12-py3-none-any.whl
Algorithm Hash digest
SHA256 839902bdbe3cf76a99174d309ee30378a21e0ff27217e229200ec278a21b7fcc
MD5 a9aba17fc9e8ed9c7e10ac0452be73ad
BLAKE2b-256 d34c30ab65e7ba7c3fa7fafc6a32ac1b9cc221b0840c8dfa8e67d51ce2abee0f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vitalibo_pyxis-0.2.12-py3-none-any.whl:

Publisher: ci.yaml on vitalibo/pyxis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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