matchcode-toolkit


Namematchcode-toolkit JSON
Version 5.0.0 PyPI version JSON
download
home_pagehttps://github.com/nexB/matchcode-toolkit
Summarymatchcode-toolkit
upload_time2024-05-08 21:51:51
maintainerNone
docs_urlNone
authornexB. Inc. and others
requires_python>=3.7
licenseApache-2.0
keywords matchcode scancode.io open source
VCS
bugtrack_url
requirements attrs beautifulsoup4 bitarray certifi charset-normalizer click commoncode idna pip pluggy plugincode PyYAML requests saneyaml setuptools soupsieve text-unidecode urllib3 wheel
Travis-CI No Travis.
coveralls test coverage No coveralls.
            MatchCode toolkit
=================
MatchCode toolkit is a Python library that provides the file and directory
fingerprinting functionality for `ScanCode toolkit
<https://github.com/nexB/scancode-toolkit>`_ and `ScanCode.io
<https://github.com/nexB/scancode.io>`_ by implementing the HaloHash algorithm
and using it in ScanCode toolkit and ScanCode.io plugins and pipelines.


Installation
------------

MatchCode toolkit must be installed in the same environment as ScanCode toolkit
or ScanCode.io.

From PyPI:
::

  pip install matchcode-toolkit

A checkout of this repo can also be installed into an environment using pip's
``--editable`` option,
::

  # Activate the virtual environment you want to install MatchCode-toolkit into,
  # change directories to the ``matchcode-toolkit`` directory
  pip install --editable .

or built into a wheel and then installed:
::

  python setup.py build bdist_wheel
  pip install matchcode_toolkit-*-py3-none-any.whl


Usage
-----

MatchCode toolkit provides the ``--fingerprint`` option for ScanCode toolkit.
This is a post-scan plugin that adds the fields
``directory_content_fingerprint`` and ``directory_structure_fingerprint`` to
Resources and computes those values for directories.
::

  scancode --info --fingerprint <scan target location> --json-pp <output location>


MatchCode toolkit provides the ``scan_and_fingerprint_package`` and
``fingerprint_codebase`` pipelines for ScanCode.io.

These pipelines add resource and directory fingerprints to the ``extra_data`` field.


License
-------

SPDX-License-Identifier: Apache-2.0

The ScanCode.io software is licensed under the Apache License version 2.0.
Data generated with ScanCode.io is provided as-is without warranties.
ScanCode is a trademark of nexB Inc.

You may not use this software except in compliance with the License.
You may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
CONDITIONS OF ANY KIND, either express or implied. See the License for the
specific language governing permissions and limitations under the License.

Data Generated with ScanCode.io is provided on an "AS IS" BASIS, WITHOUT WARRANTIES
OR CONDITIONS OF ANY KIND, either express or implied. No content created from
ScanCode.io should be considered or used as legal advice. Consult an Attorney
for any legal advice.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/nexB/matchcode-toolkit",
    "name": "matchcode-toolkit",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "matchcode, ScanCode.io, open source",
    "author": "nexB. Inc. and others",
    "author_email": "info@aboutcode.org",
    "download_url": "https://files.pythonhosted.org/packages/05/6a/dd421e2160066a24e0bd0fcdace4dd928f0a3e55c28b321f8b9d23d3dabd/matchcode_toolkit-5.0.0.tar.gz",
    "platform": null,
    "description": "MatchCode toolkit\n=================\nMatchCode toolkit is a Python library that provides the file and directory\nfingerprinting functionality for `ScanCode toolkit\n<https://github.com/nexB/scancode-toolkit>`_ and `ScanCode.io\n<https://github.com/nexB/scancode.io>`_ by implementing the HaloHash algorithm\nand using it in ScanCode toolkit and ScanCode.io plugins and pipelines.\n\n\nInstallation\n------------\n\nMatchCode toolkit must be installed in the same environment as ScanCode toolkit\nor ScanCode.io.\n\nFrom PyPI:\n::\n\n  pip install matchcode-toolkit\n\nA checkout of this repo can also be installed into an environment using pip's\n``--editable`` option,\n::\n\n  # Activate the virtual environment you want to install MatchCode-toolkit into,\n  # change directories to the ``matchcode-toolkit`` directory\n  pip install --editable .\n\nor built into a wheel and then installed:\n::\n\n  python setup.py build bdist_wheel\n  pip install matchcode_toolkit-*-py3-none-any.whl\n\n\nUsage\n-----\n\nMatchCode toolkit provides the ``--fingerprint`` option for ScanCode toolkit.\nThis is a post-scan plugin that adds the fields\n``directory_content_fingerprint`` and ``directory_structure_fingerprint`` to\nResources and computes those values for directories.\n::\n\n  scancode --info --fingerprint <scan target location> --json-pp <output location>\n\n\nMatchCode toolkit provides the ``scan_and_fingerprint_package`` and\n``fingerprint_codebase`` pipelines for ScanCode.io.\n\nThese pipelines add resource and directory fingerprints to the ``extra_data`` field.\n\n\nLicense\n-------\n\nSPDX-License-Identifier: Apache-2.0\n\nThe ScanCode.io software is licensed under the Apache License version 2.0.\nData generated with ScanCode.io is provided as-is without warranties.\nScanCode is a trademark of nexB Inc.\n\nYou may not use this software except in compliance with the License.\nYou may obtain a copy of the License at: http://apache.org/licenses/LICENSE-2.0\nUnless required by applicable law or agreed to in writing, software distributed\nunder the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR\nCONDITIONS OF ANY KIND, either express or implied. See the License for the\nspecific language governing permissions and limitations under the License.\n\nData Generated with ScanCode.io is provided on an \"AS IS\" BASIS, WITHOUT WARRANTIES\nOR CONDITIONS OF ANY KIND, either express or implied. No content created from\nScanCode.io should be considered or used as legal advice. Consult an Attorney\nfor any legal advice.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "matchcode-toolkit",
    "version": "5.0.0",
    "project_urls": {
        "Homepage": "https://github.com/nexB/matchcode-toolkit"
    },
    "split_keywords": [
        "matchcode",
        " scancode.io",
        " open source"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2b31d03771925c4afcd3197eef827d0fc11c475a9e6db82ff0fefacb35032f0a",
                "md5": "7f68d7c41994f8f48907be0a1688a824",
                "sha256": "1b0fde1212a55153c5c5ee1f2ecb418cb8772bb8820ca5e932613709f02052bf"
            },
            "downloads": -1,
            "filename": "matchcode_toolkit-5.0.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7f68d7c41994f8f48907be0a1688a824",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 21418,
            "upload_time": "2024-05-08T21:51:50",
            "upload_time_iso_8601": "2024-05-08T21:51:50.210031Z",
            "url": "https://files.pythonhosted.org/packages/2b/31/d03771925c4afcd3197eef827d0fc11c475a9e6db82ff0fefacb35032f0a/matchcode_toolkit-5.0.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "056add421e2160066a24e0bd0fcdace4dd928f0a3e55c28b321f8b9d23d3dabd",
                "md5": "60961e9254432bf6ac93c58bb2574f06",
                "sha256": "c700910f48fb6edeaa0d9a24776080561b7b87e5938d50e691d10607aa98719c"
            },
            "downloads": -1,
            "filename": "matchcode_toolkit-5.0.0.tar.gz",
            "has_sig": false,
            "md5_digest": "60961e9254432bf6ac93c58bb2574f06",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 121608,
            "upload_time": "2024-05-08T21:51:51",
            "upload_time_iso_8601": "2024-05-08T21:51:51.931481Z",
            "url": "https://files.pythonhosted.org/packages/05/6a/dd421e2160066a24e0bd0fcdace4dd928f0a3e55c28b321f8b9d23d3dabd/matchcode_toolkit-5.0.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-08 21:51:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "nexB",
    "github_project": "matchcode-toolkit",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "attrs",
            "specs": [
                [
                    "==",
                    "23.2.0"
                ]
            ]
        },
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    "==",
                    "4.12.3"
                ]
            ]
        },
        {
            "name": "bitarray",
            "specs": [
                [
                    "==",
                    "2.9.2"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2024.2.2"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "3.3.2"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "commoncode",
            "specs": [
                [
                    "==",
                    "31.0.3"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.6"
                ]
            ]
        },
        {
            "name": "pip",
            "specs": [
                [
                    "==",
                    "23.3.1"
                ]
            ]
        },
        {
            "name": "pluggy",
            "specs": [
                [
                    "==",
                    "1.4.0"
                ]
            ]
        },
        {
            "name": "plugincode",
            "specs": [
                [
                    "==",
                    "32.0.0"
                ]
            ]
        },
        {
            "name": "PyYAML",
            "specs": [
                [
                    "==",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "saneyaml",
            "specs": [
                [
                    "==",
                    "0.6.0"
                ]
            ]
        },
        {
            "name": "setuptools",
            "specs": [
                [
                    "==",
                    "69.0.2"
                ]
            ]
        },
        {
            "name": "soupsieve",
            "specs": [
                [
                    "==",
                    "2.5"
                ]
            ]
        },
        {
            "name": "text-unidecode",
            "specs": [
                [
                    "==",
                    "1.3"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "2.2.1"
                ]
            ]
        },
        {
            "name": "wheel",
            "specs": [
                [
                    "==",
                    "0.42.0"
                ]
            ]
        }
    ],
    "lcname": "matchcode-toolkit"
}
        
Elapsed time: 0.26433s