source-inspector


Namesource-inspector JSON
Version 0.5.0 PyPI version JSON
download
home_pagehttps://github.com/nexB/source-inspector
Summarysource-inspector
upload_time2024-04-24 21:17:13
maintainerNone
docs_urlNone
authornexB. Inc. and others
requires_python>=3.7
licenseApache-2.0
keywords utilities
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            source-inspector
================================

source-inspector is a set of utilities to inspect and analyze source
code and collect interesting data using various tools such as code symbols and strings.
This is also a ScanCode-toolkit plugin.

Homepage: https://github.com/nexB/source-inspector
License: Apache-2.0


Requirements
~~~~~~~~~~~~~

This utility is designed to work on Linux and POSIX OS with these utilities:

- xgettext that comes with GNU gettext.
- universal ctags, version 5.9 or higher, built with JSON support.

On Debian systems run this::

    sudo apt-get install universal-ctags gettext

On MacOS systems run this::

    brew install universal-ctags gettext

To get started:
~~~~~~~~~~~~~~~~

1. Clone this repo

2. Run::

    ./configure --dev
    source venv/bin/activate

3. Run tests with::

    pytest -vvs

4. Run a basic scan to collect symbols and display as YAML on screen::

    scancode --source-symbol tests/data/symbols_ctags/test3.cpp --yaml -

5. Run a basic scan to collect strings and display as YAML on screen::

    scancode --source-string tests/data/symbols_ctags/test3.cpp --yaml -
    

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nexB/source-inspector",
    "name": "source-inspector",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "utilities",
    "author": "nexB. Inc. and others",
    "author_email": "info@aboutcode.org",
    "download_url": "https://files.pythonhosted.org/packages/04/6b/fa3c94ad0056082cbc723d3dc34c2879342c13e1edc2578752f10a81a3d8/source_inspector-0.5.0.tar.gz",
    "platform": null,
    "description": "source-inspector\n================================\n\nsource-inspector is a set of utilities to inspect and analyze source\ncode and collect interesting data using various tools such as code symbols and strings.\nThis is also a ScanCode-toolkit plugin.\n\nHomepage: https://github.com/nexB/source-inspector\nLicense: Apache-2.0\n\n\nRequirements\n~~~~~~~~~~~~~\n\nThis utility is designed to work on Linux and POSIX OS with these utilities:\n\n- xgettext that comes with GNU gettext.\n- universal ctags, version 5.9 or higher, built with JSON support.\n\nOn Debian systems run this::\n\n    sudo apt-get install universal-ctags gettext\n\nOn MacOS systems run this::\n\n    brew install universal-ctags gettext\n\nTo get started:\n~~~~~~~~~~~~~~~~\n\n1. Clone this repo\n\n2. Run::\n\n    ./configure --dev\n    source venv/bin/activate\n\n3. Run tests with::\n\n    pytest -vvs\n\n4. Run a basic scan to collect symbols and display as YAML on screen::\n\n    scancode --source-symbol tests/data/symbols_ctags/test3.cpp --yaml -\n\n5. Run a basic scan to collect strings and display as YAML on screen::\n\n    scancode --source-string tests/data/symbols_ctags/test3.cpp --yaml -\n    \n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "source-inspector",
    "version": "0.5.0",
    "project_urls": {
        "Homepage": "https://github.com/nexB/source-inspector"
    },
    "split_keywords": [
        "utilities"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7f61a335c0f53b313a4d9a7ee35d6484aba99d26b8240ea260d94c20bf288f23",
                "md5": "b2cc0502b3aab9cf8f59a85e4a79bed4",
                "sha256": "ca6315fb91cacf29b4bbca9adf05d5410bd88a8dd207e40968b9d7ccb87a257a"
            },
            "downloads": -1,
            "filename": "source_inspector-0.5.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b2cc0502b3aab9cf8f59a85e4a79bed4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 17876,
            "upload_time": "2024-04-24T21:17:12",
            "upload_time_iso_8601": "2024-04-24T21:17:12.128038Z",
            "url": "https://files.pythonhosted.org/packages/7f/61/a335c0f53b313a4d9a7ee35d6484aba99d26b8240ea260d94c20bf288f23/source_inspector-0.5.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "046bfa3c94ad0056082cbc723d3dc34c2879342c13e1edc2578752f10a81a3d8",
                "md5": "de49ec385d0f41e2d75bcf2cd81636ee",
                "sha256": "daccee082d99231817cb6b39b345964c25fbbd9e8d49b954b9874ae7fe71c001"
            },
            "downloads": -1,
            "filename": "source_inspector-0.5.0.tar.gz",
            "has_sig": false,
            "md5_digest": "de49ec385d0f41e2d75bcf2cd81636ee",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 449559,
            "upload_time": "2024-04-24T21:17:13",
            "upload_time_iso_8601": "2024-04-24T21:17:13.963532Z",
            "url": "https://files.pythonhosted.org/packages/04/6b/fa3c94ad0056082cbc723d3dc34c2879342c13e1edc2578752f10a81a3d8/source_inspector-0.5.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-24 21:17:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nexB",
    "github_project": "source-inspector",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "source-inspector"
}
        
Elapsed time: 0.28809s