pycparser-fake-libc


Namepycparser-fake-libc JSON
Version 2.21 PyPI version JSON
download
home_pagehttps://github.com/ThomasGerstenberg/pycparser-fake-libc
SummaryPip-installable package with pycparser's fake libc headers
upload_time2022-01-02 23:55:15
maintainer
docs_urlNone
authorThomas Gerstenberg
requires_python
license
keywords pycparser
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pycparser-fake-libc

Simple build wrapper to create a pip-installable package which includes all of the headers from [pycparser](https://github.com/eliben/pycparser)/utils/fake_libc_include.

See: https://github.com/eliben/pycparser

To build, run `make` to copy the headers from the submoduled `pycparser` into the library dir and build the wheel file

Usage:

```python
import os
import pycparser_fake_libc
import pycparser

fake_libc_arg = "-I" + pycparser_fake_libc.directory

ast = pycparser.parse_file("c_file_to_parse.c", use_cpp=True, cpp_args=fake_libc_arg)
```



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ThomasGerstenberg/pycparser-fake-libc",
    "name": "pycparser-fake-libc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "pycparser",
    "author": "Thomas Gerstenberg",
    "author_email": "tgerst6@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/13/5e/cc398fc8fa09a76752a2182cfa2e7ef37c63748a3a3710f713bc0f1c256a/pycparser-fake-libc-2.21.tar.gz",
    "platform": "",
    "description": "# pycparser-fake-libc\n\nSimple build wrapper to create a pip-installable package which includes all of the headers from [pycparser](https://github.com/eliben/pycparser)/utils/fake_libc_include.\n\nSee: https://github.com/eliben/pycparser\n\nTo build, run `make` to copy the headers from the submoduled `pycparser` into the library dir and build the wheel file\n\nUsage:\n\n```python\nimport os\nimport pycparser_fake_libc\nimport pycparser\n\nfake_libc_arg = \"-I\" + pycparser_fake_libc.directory\n\nast = pycparser.parse_file(\"c_file_to_parse.c\", use_cpp=True, cpp_args=fake_libc_arg)\n```\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Pip-installable package with pycparser's fake libc headers",
    "version": "2.21",
    "project_urls": {
        "Homepage": "https://github.com/ThomasGerstenberg/pycparser-fake-libc"
    },
    "split_keywords": [
        "pycparser"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ef0fc81e9122b735275d131e51e3f49a49de956f947509a0170110744d4c8c1e",
                "md5": "a8e2392765104bce16bc3b2cafcf1a54",
                "sha256": "ae1e51a6cab2f514f6612cb876ed70056ed49ea871c0d809b524f858e5cf5cd2"
            },
            "downloads": -1,
            "filename": "pycparser_fake_libc-2.21-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a8e2392765104bce16bc3b2cafcf1a54",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 28355,
            "upload_time": "2022-01-02T23:55:13",
            "upload_time_iso_8601": "2022-01-02T23:55:13.415467Z",
            "url": "https://files.pythonhosted.org/packages/ef/0f/c81e9122b735275d131e51e3f49a49de956f947509a0170110744d4c8c1e/pycparser_fake_libc-2.21-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "135ecc398fc8fa09a76752a2182cfa2e7ef37c63748a3a3710f713bc0f1c256a",
                "md5": "5753a716bca4b631afb645dfdfec38ec",
                "sha256": "a46fb5dada548182c39da340a6cd7366851359ffb78dee27cc619d65c33a51e8"
            },
            "downloads": -1,
            "filename": "pycparser-fake-libc-2.21.tar.gz",
            "has_sig": false,
            "md5_digest": "5753a716bca4b631afb645dfdfec38ec",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9678,
            "upload_time": "2022-01-02T23:55:15",
            "upload_time_iso_8601": "2022-01-02T23:55:15.038616Z",
            "url": "https://files.pythonhosted.org/packages/13/5e/cc398fc8fa09a76752a2182cfa2e7ef37c63748a3a3710f713bc0f1c256a/pycparser-fake-libc-2.21.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-01-02 23:55:15",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ThomasGerstenberg",
    "github_project": "pycparser-fake-libc",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pycparser-fake-libc"
}
        
Elapsed time: 0.18655s