MatchCode toolkit
=================
MatchCode toolkit is a Python library that provides the file and directory
fingerprinting functionality for `ScanCode toolkit
<https://github.com/aboutcode-org/scancode-toolkit>`_ and `ScanCode.io
<https://github.com/aboutcode-org/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 scan plugin that adds the fields
``directory_content_fingerprint``, ``directory_structure_fingerprint``, and
``halo1`` to Resources and computes those values.
::
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/aboutcode-org/matchcode-toolkit",
"name": "matchcode-toolkit",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"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/cf/c1/6fe387e8add852a05269e8b5a6d07bad2e6b3946533d2b20b086ff26bf32/matchcode_toolkit-7.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/aboutcode-org/scancode-toolkit>`_ and `ScanCode.io\n<https://github.com/aboutcode-org/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 scan plugin that adds the fields\n``directory_content_fingerprint``, ``directory_structure_fingerprint``, and\n``halo1`` to Resources and computes those values.\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": "7.0.0",
"project_urls": {
"Homepage": "https://github.com/aboutcode-org/matchcode-toolkit"
},
"split_keywords": [
"matchcode",
" scancode.io",
" open source"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1887c421811d5bedf640f420e954247969540dc7260d03b1e2deef5f21a1940f",
"md5": "efa97d35d0860f6ef6e23afa2e71d229",
"sha256": "6026ee2d5951a0e3c84dccc5ff5ea437a58314d2cf1f779e4780f16d0351c65f"
},
"downloads": -1,
"filename": "matchcode_toolkit-7.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "efa97d35d0860f6ef6e23afa2e71d229",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 17353,
"upload_time": "2024-12-09T22:29:22",
"upload_time_iso_8601": "2024-12-09T22:29:22.039648Z",
"url": "https://files.pythonhosted.org/packages/18/87/c421811d5bedf640f420e954247969540dc7260d03b1e2deef5f21a1940f/matchcode_toolkit-7.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cfc16fe387e8add852a05269e8b5a6d07bad2e6b3946533d2b20b086ff26bf32",
"md5": "88fd49317d24261a024026ab4357c7b9",
"sha256": "0593e73dcbfc7caa7490eb31f75ac36faabd0e7eaf138d5737ed5e65e467e3b4"
},
"downloads": -1,
"filename": "matchcode_toolkit-7.0.0.tar.gz",
"has_sig": false,
"md5_digest": "88fd49317d24261a024026ab4357c7b9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 192567,
"upload_time": "2024-12-09T22:29:24",
"upload_time_iso_8601": "2024-12-09T22:29:24.007648Z",
"url": "https://files.pythonhosted.org/packages/cf/c1/6fe387e8add852a05269e8b5a6d07bad2e6b3946533d2b20b086ff26bf32/matchcode_toolkit-7.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-09 22:29:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "aboutcode-org",
"github_project": "matchcode-toolkit",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "attrs",
"specs": [
[
"==",
"24.2.0"
]
]
},
{
"name": "beautifulsoup4",
"specs": [
[
"==",
"4.12.3"
]
]
},
{
"name": "bitarray",
"specs": [
[
"==",
"3.0.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2024.8.30"
]
]
},
{
"name": "chardet",
"specs": [
[
"==",
"5.2.0"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.4.0"
]
]
},
{
"name": "click",
"specs": [
[
"==",
"8.1.7"
]
]
},
{
"name": "commoncode",
"specs": [
[
"==",
"32.0.0"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.10"
]
]
},
{
"name": "pip",
"specs": [
[
"==",
"24.3.1"
]
]
},
{
"name": "pluggy",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "plugincode",
"specs": [
[
"==",
"32.0.0"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"==",
"6.0.2"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.32.3"
]
]
},
{
"name": "samecode",
"specs": [
[
"==",
"0.5.1"
]
]
},
{
"name": "saneyaml",
"specs": [
[
"==",
"0.6.1"
]
]
},
{
"name": "setuptools",
"specs": [
[
"==",
"75.6.0"
]
]
},
{
"name": "soupsieve",
"specs": [
[
"==",
"2.6"
]
]
},
{
"name": "text-unidecode",
"specs": [
[
"==",
"1.3"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.2.3"
]
]
},
{
"name": "wheel",
"specs": [
[
"==",
"0.45.1"
]
]
}
],
"lcname": "matchcode-toolkit"
}