Skip to main content

A human-readable and secure XML-based alternative to pickle.

Project description

Project Metadata

  • Version: 0.0.1
  • PyPI: Pending publish
  • File Extension: .pklxml
pip install git+https://github.com/RAPTOR7762/pklxml.git

License Stars

pklxml

pklxml, short for Python Pickle Extensible Markup Language Library, is a Python module and as a human-readable alternative to Pickle. Instead of saving data as a binary .pkl file, it saves data as an XML-based file called .pklxml. This makes it a lot more safer. The module uses the LXML module to parse .pklxml (XML) files.

The reason why I wanted to make this module is so that we (as humans) can easily what has been actually saved. I have to open .pkl files with Qt Creator to decode the binary and I (un)successfully managed to decode it.

I'm thinking of publishing this to PyPi, but maybe not so soon.

Example programme

from pklxml import dump, load

data = {'name': 'Alice', 'age': 30}
dump(data, 'data.pypxml')

loaded_data = load('data.pypxml')
print(loaded_data)

Contribute

Contribute to this repository if you can! Like my repository! Thanks!

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

pklxml-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

pklxml-0.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pklxml-0.1.0.tar.gz.

File metadata

  • Download URL: pklxml-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pklxml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 145b54c0eb1e649514ab5d9af307367ea8df6dc40d8ef83f170319e3d86613fe
MD5 2b6399dcdce8cbbd1e86112220ab2b6c
BLAKE2b-256 ef199a30b93b2f560491797addaa026e5e7ceec20484dc9195574e680fc8f1af

See more details on using hashes here.

Provenance

The following attestation bundles were made for pklxml-0.1.0.tar.gz:

Publisher: python-publish.yml on RAPTOR7762/pklxml

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

File details

Details for the file pklxml-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pklxml-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for pklxml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6e861c02c3af408ec055b75cc8ae4c4e863af8f24cd3742a57a45a6178d013b8
MD5 5324c9105d763adaf5f56b1350fcdf0a
BLAKE2b-256 eac96f9e0995b454194c99623de39cbc044ba16f5ff30b53c92ac53ac1a542d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pklxml-0.1.0-py3-none-any.whl:

Publisher: python-publish.yml on RAPTOR7762/pklxml

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