asn1cpython-support


Nameasn1cpython-support JSON
Version 0.0.1 PyPI version JSON
download
home_pageNone
SummaryCMake support files for ASN.1 C extension bindings
upload_time2025-08-12 19:38:07
maintainerNone
docs_urlNone
authorMatrixEdior
requires_pythonNone
licenseNone
keywords asn1 asn1c pyasn1
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            # ASN.1c Python Bndings Support Files

`asn1cpython-support` is a small Python helper package that provides build-time
support utilities for Python packages using the modified
[asn1c](https://github.com/MatrixEditor/asn1c-bindings) compiler to generate C
sources from ASN.1 specifications. Documentation is here:
[matrixeditor.github.io/asn1c-bindings](https://matrixeditor.github.io/asn1c-bindings/).

Its primary purpose is to bridge Python packaging tools (such as
[scikit-build-core](https://scikit-build-core.readthedocs.io/en/latest/)) with
the asn1c-bindings CMake package, ensuring that ASN.1 source files can be
compiled into Python extension modules seamlessly.

## Usage in CMake

When building a Python extension module that uses ASN.1 specifications, you can
retrieve the CMake package path like this:

```cmake
execute_process(
    COMMAND "${Python_EXECUTABLE}" -m asn1cpython_support --cmake-dir
    OUTPUT_STRIP_TRAILING_WHITESPACE
    OUTPUT_VARIABLE asn1c-bindings_ROOT
)
find_package(asn1c-bindings CONFIG REQUIRED)
```

## Installation

```bash
pip install asn1cpython-support
```

### Example

A typical `pyproject.toml` snippet using this package with *scikit-build-core*:

```toml
[build-system]
# This requirement will make all required files available at build time
requires = ["scikit-build-core~=0.9.0", "asn1cpython-support"]
build-backend = "scikit_build_core.build"

[tool.scikit-build]
cmake.minimum-version = "3.15"
# ...
```

## License

MIT License — see LICENSE for details.
            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "asn1cpython-support",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "asn1, asn1c, pyasn1",
    "author": "MatrixEdior",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/2b/d8/d965ae5087d2276b465894018fe7206511439584e233db34699d06a91176/asn1cpython_support-0.0.1.tar.gz",
    "platform": null,
    "description": "# ASN.1c Python Bndings Support Files\n\n`asn1cpython-support` is a small Python helper package that provides build-time\nsupport utilities for Python packages using the modified\n[asn1c](https://github.com/MatrixEditor/asn1c-bindings) compiler to generate C\nsources from ASN.1 specifications. Documentation is here:\n[matrixeditor.github.io/asn1c-bindings](https://matrixeditor.github.io/asn1c-bindings/).\n\nIts primary purpose is to bridge Python packaging tools (such as\n[scikit-build-core](https://scikit-build-core.readthedocs.io/en/latest/)) with\nthe asn1c-bindings CMake package, ensuring that ASN.1 source files can be\ncompiled into Python extension modules seamlessly.\n\n## Usage in CMake\n\nWhen building a Python extension module that uses ASN.1 specifications, you can\nretrieve the CMake package path like this:\n\n```cmake\nexecute_process(\n    COMMAND \"${Python_EXECUTABLE}\" -m asn1cpython_support --cmake-dir\n    OUTPUT_STRIP_TRAILING_WHITESPACE\n    OUTPUT_VARIABLE asn1c-bindings_ROOT\n)\nfind_package(asn1c-bindings CONFIG REQUIRED)\n```\n\n## Installation\n\n```bash\npip install asn1cpython-support\n```\n\n### Example\n\nA typical `pyproject.toml` snippet using this package with *scikit-build-core*:\n\n```toml\n[build-system]\n# This requirement will make all required files available at build time\nrequires = [\"scikit-build-core~=0.9.0\", \"asn1cpython-support\"]\nbuild-backend = \"scikit_build_core.build\"\n\n[tool.scikit-build]\ncmake.minimum-version = \"3.15\"\n# ...\n```\n\n## License\n\nMIT License \u2014 see LICENSE for details.",
    "bugtrack_url": null,
    "license": null,
    "summary": "CMake support files for ASN.1 C extension bindings",
    "version": "0.0.1",
    "project_urls": {
        "documentation": "https://matrixeditor.github.io/asn1c-bindings/",
        "project": "https://github.com/MatrixEditor/asn1c-bindings"
    },
    "split_keywords": [
        "asn1",
        " asn1c",
        " pyasn1"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "e94c8b35cf347540df43988075dd809997a3e7565f7af330224924a121294f6b",
                "md5": "8d1a70486df2aa8ba836363235a3c1f3",
                "sha256": "604c602ed49a706fa4a1940ca1d32eb611a4c1571860cce8547c899dd039f0f1"
            },
            "downloads": -1,
            "filename": "asn1cpython_support-0.0.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "8d1a70486df2aa8ba836363235a3c1f3",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 7872,
            "upload_time": "2025-08-12T19:38:06",
            "upload_time_iso_8601": "2025-08-12T19:38:06.056546Z",
            "url": "https://files.pythonhosted.org/packages/e9/4c/8b35cf347540df43988075dd809997a3e7565f7af330224924a121294f6b/asn1cpython_support-0.0.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "2bd8d965ae5087d2276b465894018fe7206511439584e233db34699d06a91176",
                "md5": "2e56d8ddf79fb901f8a0e48ad7351ae0",
                "sha256": "2c4e0d0c20b0446b13b8fe773f24c07d536801d79936fbd613a7dad3ec6c857d"
            },
            "downloads": -1,
            "filename": "asn1cpython_support-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "2e56d8ddf79fb901f8a0e48ad7351ae0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7369,
            "upload_time": "2025-08-12T19:38:07",
            "upload_time_iso_8601": "2025-08-12T19:38:07.283352Z",
            "url": "https://files.pythonhosted.org/packages/2b/d8/d965ae5087d2276b465894018fe7206511439584e233db34699d06a91176/asn1cpython_support-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-12 19:38:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "MatrixEditor",
    "github_project": "asn1c-bindings",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": true,
    "lcname": "asn1cpython-support"
}
        
Elapsed time: 0.83551s