Skip to main content

An eXtensible serializing and deserializing toolkit for Python strucuted classes

Project description

xattrs

PyPI - Version

PyPI - Python Version


Serialize and deserialize instances of your attrs and dataclasses types with implicit or customized encoding.

🚧 WIP

Table of Contents

Introduction

Project orient

Let dataclasses or attrs just store declaretive and immutable 'data'.

Goals:

  • Easy to use, easy to extend, easy to customize.
  • Extending upstream project as more as its recommended ways, see also attrs Extending.

Non-goals:

Installation

pip install xattrs

How to contribute

The first and the best way to contribute to xattrs is to use it in your project and give feedback on your experience about it both good and bad. You could participate our community by submitting issues or even pull requests, not limited to bugs, but also proposals, documentation, use cases and best practices.

Then you could also try to help us to improve the project by promoting it to your teams, writing blog posts, or even giving a talk in your local community.

If you have did all above, but still thought you could do more. Consider to sponsor the project for long-term maintenance and development.

The most important thing is the community, and we are looking forward to how people enjoy using xattrs and how it could help them to solve their problems.

Development Guide

Major upstream dependencies

  • attrs
  • dataclasses
  • annotated

License

xattrs is distributed under the terms of the MIT license.

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

xattrs-0.0.1.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

xattrs-0.0.1-py3-none-any.whl (27.1 kB view details)

Uploaded Python 3

File details

Details for the file xattrs-0.0.1.tar.gz.

File metadata

  • Download URL: xattrs-0.0.1.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.18

File hashes

Hashes for xattrs-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b53d23bf375656297fe69dadd19d9ae4d660be55b90bed95a8e0787e5f4bfea4
MD5 6a7a4ba966b4eec48b7d9fb72daeed35
BLAKE2b-256 b17cfd0c498099808dcf398164535d2eb7d144e526c82e93874f034c3c6dbb9b

See more details on using hashes here.

File details

Details for the file xattrs-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: xattrs-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 27.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.18

File hashes

Hashes for xattrs-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 682fc59760fb606e1ed4aee304798e039d2c0fd9cc1a38f27805e0f3b67bb7fb
MD5 d5da91849d6c7884861bddd99fff5a59
BLAKE2b-256 361337a0d0376fe5e59f50bc59d4ca44ad7f7afd98d5d29d11af2df707bc6728

See more details on using hashes here.

Supported by

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