bpack


Namebpack JSON
Version 1.1.0 PyPI version JSON
download
home_page
SummaryBinary data structures (un-)packing library
upload_time2023-04-15 09:27:18
maintainer
docs_urlNone
author
requires_python>=3.7
licenseApache-2.0
keywords binary struct descriptor declarative bit unpack pack
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Binary data structures (un-)Packing library
===========================================

:Copyright: 2020-2023, Antonio Valentino <antonio.valentino@tiscali.it>

.. badges

|PyPI Status| |GHA Status| |Documentation Status|

.. |PyPI Status| image:: https://img.shields.io/pypi/v/bpack.svg
    :target: https://pypi.org/project/bpack
    :alt: PyPI Status
.. |GHA Status| image:: https://github.com/avalentino/bpack/workflows/Build/badge.svg
    :target: https://github.com/avalentino/bpack/actions
    :alt: GitHub Actions Status
.. |Documentation Status| image:: https://readthedocs.org/projects/bpack/badge/?version=latest
    :target: https://bpack.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

.. description

The *bpack* Python package provides tools to describe and encode/decode
binary data.

Binary data are assumed to be organized in *records*, each composed by a
sequence of fields. Fields are characterized by a known size, offset
(w.r.t. the beginning of the record) and datatype.

The package provides classes and functions that can be used to:

* describe binary data structures in a declarative way (structures can
  be specified up to the bit level)
* automatically generate encoders/decoders for a specified data descriptor

Encoders/decoders (*backends*) rely on well known Python packages like:

* |struct| (form the standard library)
* bitstruct_ (optional)
* numpy_ (optional)
* bitarray_ (optional) - partial implementation


.. _struct: https://docs.python.org/3/library/struct.html
.. _bitstruct: https://github.com/eerimoq/bitstruct
.. _numpy: https://numpy.org
.. _bitarray: https://github.com/ilanschnell/bitarray

.. local-definitions

.. |struct| replace:: struct_

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "bpack",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "binary,struct,descriptor,declarative,bit,unpack,pack",
    "author": "",
    "author_email": "Antonio Valentino <antonio.valentino@tiscali.it>",
    "download_url": "https://files.pythonhosted.org/packages/0b/51/ca985d8a5d266ac4c68ba42b7931d6da24b3595318a3c90c1e53add98ade/bpack-1.1.0.tar.gz",
    "platform": null,
    "description": "Binary data structures (un-)Packing library\n===========================================\n\n:Copyright: 2020-2023, Antonio Valentino <antonio.valentino@tiscali.it>\n\n.. badges\n\n|PyPI Status| |GHA Status| |Documentation Status|\n\n.. |PyPI Status| image:: https://img.shields.io/pypi/v/bpack.svg\n    :target: https://pypi.org/project/bpack\n    :alt: PyPI Status\n.. |GHA Status| image:: https://github.com/avalentino/bpack/workflows/Build/badge.svg\n    :target: https://github.com/avalentino/bpack/actions\n    :alt: GitHub Actions Status\n.. |Documentation Status| image:: https://readthedocs.org/projects/bpack/badge/?version=latest\n    :target: https://bpack.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. description\n\nThe *bpack* Python package provides tools to describe and encode/decode\nbinary data.\n\nBinary data are assumed to be organized in *records*, each composed by a\nsequence of fields. Fields are characterized by a known size, offset\n(w.r.t. the beginning of the record) and datatype.\n\nThe package provides classes and functions that can be used to:\n\n* describe binary data structures in a declarative way (structures can\n  be specified up to the bit level)\n* automatically generate encoders/decoders for a specified data descriptor\n\nEncoders/decoders (*backends*) rely on well known Python packages like:\n\n* |struct| (form the standard library)\n* bitstruct_ (optional)\n* numpy_ (optional)\n* bitarray_ (optional) - partial implementation\n\n\n.. _struct: https://docs.python.org/3/library/struct.html\n.. _bitstruct: https://github.com/eerimoq/bitstruct\n.. _numpy: https://numpy.org\n.. _bitarray: https://github.com/ilanschnell/bitarray\n\n.. local-definitions\n\n.. |struct| replace:: struct_\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Binary data structures (un-)packing library",
    "version": "1.1.0",
    "split_keywords": [
        "binary",
        "struct",
        "descriptor",
        "declarative",
        "bit",
        "unpack",
        "pack"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5e9bb5ab973d49f76fd99169779452a612dc7093e1c8ffcf59202ee1ef48f9a5",
                "md5": "fc9e002ba33dc99a3112e99d431cc848",
                "sha256": "ad13e6d8f0580dd70fc393c008a8c01e1ee2ec5c38cd631b658a66608b84bd8e"
            },
            "downloads": -1,
            "filename": "bpack-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fc9e002ba33dc99a3112e99d431cc848",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 50261,
            "upload_time": "2023-04-15T09:27:15",
            "upload_time_iso_8601": "2023-04-15T09:27:15.855110Z",
            "url": "https://files.pythonhosted.org/packages/5e/9b/b5ab973d49f76fd99169779452a612dc7093e1c8ffcf59202ee1ef48f9a5/bpack-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0b51ca985d8a5d266ac4c68ba42b7931d6da24b3595318a3c90c1e53add98ade",
                "md5": "e7a55ed60c506d5adba01b4149ffb80b",
                "sha256": "8eb165aa48b71f39a97f8b591c6c0aab6501c2fb12355e3783a2e23d3e53425d"
            },
            "downloads": -1,
            "filename": "bpack-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "e7a55ed60c506d5adba01b4149ffb80b",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 63651,
            "upload_time": "2023-04-15T09:27:18",
            "upload_time_iso_8601": "2023-04-15T09:27:18.332211Z",
            "url": "https://files.pythonhosted.org/packages/0b/51/ca985d8a5d266ac4c68ba42b7931d6da24b3595318a3c90c1e53add98ade/bpack-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-15 09:27:18",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "bpack"
}
        
Elapsed time: 0.05800s