├── catchit-logo.png ├── scripts ├── test.sh └── lint.sh ├── catchit ├── find_tunnel.sh ├── grep_tunnel.sh ├── inverse_grep.txt ├── config.py ├── output.py ├── regexs.json └── catchit.py ├── .flake8 ├── .github ├── CODE_OF_CONDUCT.md ├── ISSUE_TEMPLATE │ ├── Support_question.md │ ├── Feature_request.md │ ├── Bug_report.md │ └── meeting-minutes.md └── workflows │ ├── lint.yml │ └── test.yml ├── NOTICE ├── LICENSE.spdx ├── .gitignore ├── pyproject.toml ├── tests └── test_catchit.py ├── README.md ├── CONTRIBUTING.md ├── LICENSE └── poetry.lock /catchit-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/finos/CatchIT/HEAD/catchit-logo.png -------------------------------------------------------------------------------- /scripts/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euxo pipefail 3 | 4 | poetry run pytest tests -vv -------------------------------------------------------------------------------- /catchit/find_tunnel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | find $1 -not -path "*/venv/*" -not -empty 2>/dev/null | grep $3 $2 3 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 88 3 | extend-ignore = 4 | E203 # See https://github.com/PyCQA/pycodestyle/issues/373 -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct for CatchIT 2 | 3 | Please see the [Community Code of Conduct](https://www.finos.org/code-of-conduct). 4 | -------------------------------------------------------------------------------- /NOTICE: -------------------------------------------------------------------------------- 1 | CatchIT - FINOS 2 | Copyright 2021 Goldman Sachs 3 | 4 | This product includes software developed at the Fintech Open Source Foundation (https://www.finos.org/). 5 | 6 | -------------------------------------------------------------------------------- /catchit/grep_tunnel.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | grep -nroI $4 --exclude-dir=.git --exclude-dir=.svn --exclude-dir=node_modules --exclude-dir=venv --exclude='regexs.json' "$1" $2 | grep -ivE -f $3 3 | -------------------------------------------------------------------------------- /catchit/inverse_grep.txt: -------------------------------------------------------------------------------- 1 | no-catchit 2 | $ENV 3 | $this 4 | $argv 5 | ${ 6 | changeit 7 | chageme 8 | notasecret 9 | testonly 10 | junk 11 | fake 12 | mock 13 | notset 14 | testsecret 15 | testpassword 16 | -------------------------------------------------------------------------------- /catchit/config.py: -------------------------------------------------------------------------------- 1 | class Catchit_Config: 2 | def __init__(self): 3 | self.bash: str = "bash" 4 | self.scanning_path: str = "." 5 | self.system_path_sep: str = "**/*" 6 | self.tunnel_flags = "" 7 | -------------------------------------------------------------------------------- /LICENSE.spdx: -------------------------------------------------------------------------------- 1 | SPDXVersion: SPDX-2.0 2 | DataLicense: CC0-1.0 3 | Creator: Goldman Sachs 4 | PackageName: CatchIT 5 | PackageOriginator: Goldman Sachs 6 | PackageHomePage: https://github.com/finos/CatchIT 7 | PackageLicenseDeclared: Apache-2.0 8 | -------------------------------------------------------------------------------- /scripts/lint.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -euxo pipefail 3 | 4 | poetry run flake8 catchit/ tests/ 5 | poetry run isort --profile black --check --diff catchit/ tests/ 6 | poetry run black --target-version py39 --check catchit/ tests/ 7 | poetry run mypy --check catchit 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | # Docusaurus generated folders 4 | website/translated_docs/ 5 | website/build/ 6 | website/i18n/ 7 | 8 | # Yarn build 9 | website/node_modules/ 10 | 11 | # Generated docs 12 | docs/contributing.md 13 | 14 | # We use YARN 15 | website/package-lock.json 16 | 17 | # Python 18 | __pycache__ 19 | venv -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Support_question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 🤗 Support Question 3 | about: If you have a question about configuration, usage, etc. 💬 4 | 5 | --- 6 | 7 | ## Support Question 8 | 9 | ...ask your question here. 10 | 11 | ...be sure to search existing issues since someone might have already asked something similar. 12 | -------------------------------------------------------------------------------- /catchit/output.py: -------------------------------------------------------------------------------- 1 | from typing import Dict, List 2 | 3 | 4 | class CatchIT_Ouput: 5 | def __init__(self): 6 | self.code: List[Dict] = [] 7 | self.file: List[Dict] = [] 8 | self.summary: Dict[str, Dict] = { 9 | "findings": { 10 | "code": 0, 11 | "file": 0, 12 | "blocking_code": 0, 13 | "blocking_file": 0, 14 | }, 15 | "execution_time": { 16 | "code": 0.0, 17 | "file": 0.0, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- 1 | [tool.poetry] 2 | name = "catchit" 3 | version = "0.1.0" 4 | description = "CatchIT secret scanner to catch sensitive information hardcoded in source-code repositories" 5 | authors = ["Your Name "] 6 | license = "Apache License" 7 | 8 | [tool.poetry.dependencies] 9 | python = "^3.8" 10 | 11 | [tool.poetry.dev-dependencies] 12 | black = "^21.7b0" 13 | isort = "^5.9.3" 14 | mypy = "^0.910" 15 | pytest = "^6.2.4" 16 | flake8 = "^3.9.2" 17 | 18 | [build-system] 19 | requires = ["poetry-core>=1.0.0"] 20 | build-backend = "poetry.core.masonry.api" 21 | -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- 1 | name: Lint 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | build: 7 | runs-on: ubuntu-latest 8 | 9 | steps: 10 | - uses: actions/checkout@v2 11 | 12 | - name: Set up Python 3.9 13 | uses: actions/setup-python@v2 14 | with: 15 | python-version: 3.9 16 | 17 | - name: Install dependencies 18 | run: | 19 | python -m pip install --upgrade pip 20 | python -m pip install --upgrade poetry 21 | poetry install 22 | 23 | - name: Lint 24 | run: ./scripts/lint.sh 25 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 🚀 Feature Request 3 | about: I have a suggestion (and may want to implement it 🙂)! 4 | 5 | --- 6 | 7 | ## Feature Request 8 | 9 | ### Description of Problem: 10 | ...what *problem* are you trying to solve that the project doesn't currently solve? 11 | 12 | ...please resist the temptation to describe your request in terms of a solution. Job Story form ("When [triggering condition], I want to [motivation/goal], so I can [outcome].") can help ensure you're expressing a problem statement. 13 | 14 | ### Potential Solutions: 15 | ...clearly and concisely describe what you want to happen. Add any considered drawbacks. 16 | 17 | ... if you've considered alternatives, clearly and concisely describe those too. 18 | -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | build: 7 | runs-on: ${{ matrix.os }} 8 | strategy: 9 | fail-fast: false 10 | matrix: 11 | python-version: [3.8, 3.9] 12 | os: [ubuntu-latest, ubuntu-18.04, macos-latest] 13 | 14 | steps: 15 | - uses: actions/checkout@v2 16 | 17 | - name: Set up Python ${{ matrix.python-version }} 18 | uses: actions/setup-python@v2 19 | with: 20 | python-version: ${{ matrix.python-version }} 21 | 22 | - name: Install dependencies 23 | run: | 24 | python -m pip install --upgrade pip 25 | python -m pip install --upgrade poetry 26 | poetry install 27 | 28 | - name: Test 29 | run: ./scripts/test.sh -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/Bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: 🐛 Bug Report 3 | about: If something isn't working as expected 🤔. 4 | 5 | --- 6 | 7 | ## Bug Report 8 | 9 | ### Steps to Reproduce: 10 | 1. ...step 1 description... 11 | 2. ...step 2 description... 12 | 3. ...step 3 description... 13 | 14 | ### Expected Result: 15 | ...description of what you expected to see... 16 | 17 | ### Actual Result: 18 | ...what actually happened, including full exceptions (please include the entire stack trace, including "caused by" entries), log entries, screen shots etc. where appropriate... 19 | 20 | ### Environment: 21 | ...version and build of the project, OS and runtime versions, virtualised environment (if any), etc. ... 22 | 23 | ### Additional Context: 24 | ...add any other context about the problem here. If applicable, add screenshots to help explain... 25 | -------------------------------------------------------------------------------- /catchit/regexs.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "CODE_SCANNING":{ 4 | "AWS-ID": { "regex": "A(AG|CC|GP|ID|IP|KI|NP|NV|PK|RO|SC|SI)A[A-Z0-9]{16}", "confidence": 1, "entropy": 4, "flag": "-PnroI"}, 5 | "PASSWORD": {"regex": "?\\s{0,2}[=:<]\\s{0,2}['\"]?(?i)([a-zA-Z0-9][a-zA-Z0-9\\W]{5,40})['\"]?", "confidence" :0.2, "entropy": 3, "flag": "-PnroiI"}, 6 | "PASSWORD-ARGUMENT": {"regex": "(\\-[Uu])[ \t]+(?i)([a-zA-Z0-9_]){4,20} \\-[Pp][ \t]+(?i)([a-zA-Z0-9@]){4,20}", "confidence": 0.66, "entropy":0, "flag": "-PnroI"}, 7 | "PASSWORD-URL": {"regex": "[a-zA-Z]{3,10}:\\/\\/(?i)[^\\/\\s:@\\$]{3,50}:(?i)[^\\/\\s:@\\$]{3,50}@.{1,100}", "confidence": 0.72, "entropy": 4, "flag": "-PnroI"}, 8 | "GOOGLE-CLOUD-PLATFORM-API-KEY": {"regex": "AIza[0-9A-Za-z\\-_]{35}", "confidence": 1, "entropy": 3, "flag": "-PnroI"}, 9 | "JWT": {"regex": "ey[A-Za-z0-9_\\-]{18,}\\.ey[A-Za-z0-9_\\-]{18,}(\\.[A-Za-z0-9_\\-]{18,})?", "confidence": 0.9, "entropy": 3, "flag": "-PnroI"} 10 | }, 11 | 12 | "FILE_SCANNING":{ 13 | "RSA_KEYS": {"regex": "\\/[.]id_[rd]sa$", "confidence": 1}, 14 | "SSH_KEYS_DIR": {"regex": "\\/([.]ssh|config)/(personal|server)_(rsa|dsa|ed25519|ecdsa)$","confidence": 1}, 15 | "SSH_KEYS_DIR2": {"regex": "\\/[.](id_ed25519|id_ecdsa)$","confidence": 1}, 16 | "SSH_AUTH_KEYS": {"regex": "ssh/authorized_keys$","confidence": 1}, 17 | "PEM": {"regex": "\\/[a-zA-Z0-9]+\\.pem$","confidence": 1}, 18 | "KEY": {"regex": "\\/[a-zA-Z0-9]+\\.key$","confidence": 1}, 19 | "KEYTAB": {"regex": "\\/[a-zA-Z0-9]+\\.(keytab|kt)$","confidence": 0.57}, 20 | "CRT-CER": {"regex": "\\/[a-zA-Z0-9]+(\\.crt|\\.[cd]er)$","confidence": 1} 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /tests/test_catchit.py: -------------------------------------------------------------------------------- 1 | import json 2 | import platform 3 | import sys 4 | from pathlib import Path 5 | 6 | import pytest 7 | 8 | sys.path.append(str(Path(__file__).parent.parent / "catchit")) # noqa 9 | 10 | import catchit # type: ignore # noqa 11 | 12 | with open("catchit/regexs.json", "r") as regexs: 13 | REGEXS_DICT = json.loads(regexs.read()) 14 | 15 | 16 | @pytest.fixture 17 | def tunnel_flags(): 18 | if platform.system() == "Darwin": 19 | return "-E" 20 | elif platform.system() == "Linux": 21 | return "-P" 22 | 23 | 24 | def test_find(tmp_path, tunnel_flags): 25 | dir = tmp_path / "sub" 26 | dir.mkdir() 27 | 28 | key_file = dir / "keyfile.key" 29 | key_file.touch() 30 | key_file.write_text("Dummy value") 31 | 32 | rsa_file = dir / ".id_rsa" 33 | rsa_file.touch() 34 | rsa_file.write_text("Dummy Value") 35 | 36 | catchit_results = catchit.exec_find(REGEXS_DICT, dir, tunnel_flags) 37 | assert sorted([finding["file_key"] for finding in catchit_results]) == [ 38 | "KEY", 39 | "RSA_KEYS", 40 | ] 41 | 42 | sub_dir = dir / "sub_dir" 43 | assert catchit.exec_find(REGEXS_DICT, sub_dir, tunnel_flags) == [] 44 | 45 | 46 | def test_grep(tmp_path, tunnel_flags): 47 | dir = tmp_path / "sub" 48 | dir.mkdir() 49 | 50 | txt_file = dir / "sample.txt" 51 | txt_file.touch() 52 | txt_file.write_text( 53 | """ 54 | password = "fsdfdsfdsfdfgdfg1234" 55 | 56 | -u anirudd -p asfddsfdfdfgfdg 57 | 58 | this_is_not_a_key = AKIAAIOSFODNN7EXAMPLE 59 | 60 | """ 61 | ) 62 | 63 | catchit_results = catchit.exec_grep(REGEXS_DICT, dir, tunnel_flags) 64 | assert sorted([finding["regex_key"] for finding in catchit_results]) == [ 65 | "AWS-ID", 66 | "PASSWORD", 67 | "PASSWORD-ARGUMENT", 68 | ] 69 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/meeting-minutes.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: "\U0001F91D [PROJECT NAME] Meeting Minutes" 3 | about: To track [PROJECT NAME] meeting agenda and attendance 4 | title: DD MMM YYYY - [PROJECT NAME] Meeting Minutes 5 | labels: meeting 6 | assignees: 7 | 8 | --- 9 | 10 | 11 | ## Date 12 | YYYYMMDD - time 13 | 14 | ## Untracked attendees 15 | - Fullname, Affiliation, (optional) GitHub username 16 | - ... 17 | 18 | ## Meeting notices 19 | - FINOS **Project leads** are responsible for observing the FINOS guidelines for [running project meetings](https://github.com/finos/community/blob/master/governance/Meeting-Procedures.md#run-the-meeting). Project maintainers can find additional resources in the [FINOS Maintainers Cheatsheet](https://odp.finos.org/docs/finos-maintainers-cheatsheet/). 20 | 21 | - **All participants** in FINOS project meetings are subject to the [LF Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), the [FINOS Community Code of Conduct](https://github.com/finos/community/blob/master/governance/Code-of-Conduct.md) and all other [FINOS policies](https://github.com/finos/community/tree/master/governance#policies). 22 | 23 | - FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact legal@finos.org with any questions. 24 | 25 | - FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available. 26 | 27 | ## Agenda 28 | - [ ] Convene & roll call (5mins) 29 | - [ ] Display [FINOS Antitrust Policy summary slide](https://github.com/finos/community/blob/master/governance/Compliance-Slides/Antitrust-Compliance-Slide.pdf) 30 | - [ ] Review Meeting Notices (see above) 31 | - [ ] Approve past meeting minutes 32 | - [ ] Agenda item 1 33 | - [ ] Agenda item 2 34 | - [ ] ... 35 | - [ ] AOB, Q&A & Adjourn (5mins) 36 | 37 | ## Decisions Made 38 | - [ ] Decision 1 39 | - [ ] Decision 2 40 | - [ ] ... 41 | 42 | ## Action Items 43 | - [ ] Action 1 44 | - [ ] Action 2 45 | - [ ] ... 46 | 47 | ### WebEx info 48 | - Meeting link: 49 | - Meeting number: 50 | - Password: 51 | - Call-in: 52 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![FINOS - Archived](https://cdn.jsdelivr.net/gh/finos/contrib-toolbox@master/images/badge-archived.svg)](https://community.finos.org/docs/governance/Software-Projects/stages/archived) 2 | 3 | This project is archived, which means that it's in read-only state; you can download and use this code, but please be aware that it may be buggy and may also contain security vulnerabilities. If you're interested to restore development activities on this project, please email help@finos.org. 4 | 5 | # CatchIT Secret Scanner 6 | 7 | Goldman Sachs has developed a simple yet powerful framework called CatchIT that can be easily integrated with CI/CD and provide information about confidential security violations in JSON output in stdout. It leverages the linux commands grep and find, so that the scanner has very low execution time. We have a predefined list of regular expressions for common sensitive files and secrets found in code which can be easily extended. The regexes have been created keeping in mind the rate of false positives. 8 | 9 | ![Image CatchIT](catchit-logo.png) 10 | 11 | ## Dependencies 12 | 1. Python3 13 | 2. Bash (Leveraging linux commands- grep and find) 14 | 15 | ## TL; DR 16 | 1. Find the sensitive files (Certs, RSA keys, AWS credentials etc) 17 | 2. Search for the confidential Information in code (Passwords, AWS keys, Conn strings etc) 18 | 19 | ## Features 20 | 1. More regular expressions can be added to the file regexs.json 21 | 2. It is a CI/CD friendly tool as the median time for projects varying between 1000 and 10000 LoC is 0.3 seconds. 22 | 3. The scanner provides a functionality to keep a list of sample secrets keywords or false positives in a file inverse_grep.txt. This can be leveraged to escape commonly found patterns for the reduction of false positives. 23 | 4. The scanner also leverages Shannon entropy on the findings generated by the engine to have a boolean confidence, which can be leveraged to block/warn or keep it as informatory in the pipelines. 24 | 5. Regex with only a higher confidence will be blocked/warned 25 | 26 | ## How to run? 27 | 28 | ``` 29 | python3 catchit.py --scan-path {Scan directory path} 30 | ``` 31 | 32 | ## Contributing 33 | For issue tracking, we use [GitHub Issues](https://github.com/finos/CatchIT/issues). 34 | 35 | 1. Fork it () 36 | 2. Create your feature branch (`git checkout -b feature/fooBar`) 37 | 3. Read our [contribution guidelines](.github/CONTRIBUTING.md) and [Community Code of Conduct](https://www.finos.org/code-of-conduct) 38 | 4. Commit your changes (`git commit -am 'Add some fooBar'`) 39 | 5. Push to the branch (`git push origin feature/fooBar`) 40 | 6. Create a new Pull Request 41 | 42 | _NOTE:_ Commits and pull requests to FINOS repositories will only be accepted from those contributors with an active, executed Individual Contributor License Agreement (ICLA) with FINOS OR who are covered under an existing and active Corporate Contribution License Agreement (CCLA) executed with FINOS. Commits from individuals not covered under an ICLA or CCLA will be flagged and blocked by the FINOS Clabot tool. Please note that some CCLAs require individuals/employees to be explicitly named on the CCLA. 43 | 44 | *Need an ICLA? Unsure if you are covered under an existing CCLA? Email [help@finos.org](mailto:help@finos.org)* 45 | 46 | 47 | ## License 48 | 49 | Copyright 2021 Goldman Sachs 50 | 51 | Distributed under the [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0). 52 | 53 | SPDX-License-Identifier: [Apache-2.0](https://spdx.org/licenses/Apache-2.0) 54 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # CatchIT Contribution and Governance Policies 2 | 3 | This document describes the contribution process and governance policies of the FINOS CatchIT project. The project is also governed by the [Linux Foundation Antitrust Policy](https://www.linuxfoundation.org/antitrust-policy/), and the FINOS [IP Policy](https://github.com/finos/community/blob/master/governance/IP-Policy.pdf), [Code of Conduct](https://github.com/finos/community/blob/master/governance/Code-of-Conduct.md), [Collaborative Principles](https://github.com/finos/community/blob/master/governance/Collaborative-Principles.md), and [Meeting Procedures](https://github.com/finos/community/blob/master/governance/Meeting-Procedures.md). 4 | 5 | ## Contribution Process 6 | 7 | Before making a contribution, please take the following steps: 8 | 1. Check whether there's already an open issue related to your proposed contribution. If there is, join the discussion and propose your contribution there. 9 | 2. If there isn't already a relevant issue, create one, describing your contribution and the problem you're trying to solve. 10 | 3. Respond to any questions or suggestions raised in the issue by other developers. 11 | 4. Fork the project repository and prepare your proposed contribution. 12 | 5. Submit a pull request. 13 | 14 | NOTE: All contributors must have a contributor license agreement (CLA) on file with FINOS before their pull requests will be merged. Please review the FINOS [contribution requirements](https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/75530375/Contribution+Compliance+Requirements) and submit (or have your employer submit) the required CLA before submitting a pull request. 15 | 16 | ## Governance 17 | 18 | ### Roles 19 | 20 | The project community consists of Contributors and Maintainers: 21 | * A **Contributor** is anyone who submits a contribution to the project. (Contributions may include code, issues, comments, documentation, media, or any combination of the above.) 22 | * A **Maintainer** is a Contributor who, by virtue of their contribution history, has been given write access to project repositories and may merge approved contributions. 23 | * The **Lead Maintainer** is the project's interface with the FINOS team and Board. They are responsible for approving [quarterly project reports](https://finosfoundation.atlassian.net/wiki/spaces/FINOS/pages/93225748/Board+Reporting+and+Program+Health+Checks) and communicating on behalf of the project. The Lead Maintainer is elected by a vote of the Maintainers. 24 | 25 | ### Contribution Rules 26 | 27 | Anyone is welcome to submit a contribution to the project. The rules below apply to all contributions. (The key words "MUST", "SHALL", "SHOULD", "MAY", etc. in this document are to be interpreted as described in [IETF RFC 2119](https://www.ietf.org/rfc/rfc2119.txt).) 28 | 29 | * All contributions MUST be submitted as pull requests, including contributions by Maintainers. 30 | * All pull requests SHOULD be reviewed by a Maintainer (other than the Contributor) before being merged. 31 | * Pull requests for non-trivial contributions SHOULD remain open for a review period sufficient to give all Maintainers a sufficient opportunity to review and comment on them. 32 | * After the review period, if no Maintainer has an objection to the pull request, any Maintainer MAY merge it. 33 | * If any Maintainer objects to a pull request, the Maintainers SHOULD try to come to consensus through discussion. If not consensus can be reached, any Maintainer MAY call for a vote on the contribution. 34 | 35 | ### Maintainer Voting 36 | 37 | The Maintainers MAY hold votes only when they are unable to reach consensus on an issue. Any Maintainer MAY call a vote on a contested issue, after which Maintainers SHALL have 36 hours to register their votes. Votes SHALL take the form of "+1" (agree), "-1" (disagree), "+0" (abstain). Issues SHALL be decided by the majority of votes cast. If there is only one Maintainer, they SHALL decide any issue otherwise requiring a Maintainer vote. If a vote is tied, the Lead Maintainer MAY cast an additional tie-breaker vote. 38 | 39 | The Maintainers SHALL decide the following matters by consensus or, if necessary, a vote: 40 | * Contested pull requests 41 | * Election and removal of the Lead Maintainer 42 | * Election and removal of Maintainers 43 | 44 | All Maintainer votes MUST be carried out transparently, with all discussion and voting occurring in public, either: 45 | * in comments associated with the relevant issue or pull request, if applicable; 46 | * on the project mailing list or other official public communication channel; or 47 | * during a regular, minuted project meeting. 48 | 49 | ### Maintainer Qualifications 50 | 51 | Any Contributor who has made a substantial contribution to the project MAY apply (or be nominated) to become a Maintainer. The existing Maintainers SHALL decide whether to approve the nomination according to the Maintainer Voting process above. 52 | 53 | ### Changes to this Document 54 | 55 | This document MAY be amended by a vote of the Maintainers according to the Maintainer Voting process above. 56 | -------------------------------------------------------------------------------- /catchit/catchit.py: -------------------------------------------------------------------------------- 1 | import argparse 2 | import json 3 | import logging 4 | import math 5 | import ntpath 6 | import os 7 | import platform 8 | import subprocess 9 | import sys 10 | import time 11 | from pathlib import Path 12 | from string import ascii_letters, digits 13 | from typing import Any, Dict, List 14 | 15 | from config import Catchit_Config 16 | from output import CatchIT_Ouput 17 | 18 | logging.basicConfig( 19 | level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s" 20 | ) 21 | logger = logging.getLogger(__name__) 22 | 23 | BASE_PATH = Path(__file__).parent 24 | TS_START = time.time() 25 | FILE_REGEXS = str(BASE_PATH / "regexs.json") 26 | EXEC_GREP_SCRIPT = str(BASE_PATH / "grep_tunnel.sh") 27 | EXEC_FIND_SCRIPT = str(BASE_PATH / "find_tunnel.sh") 28 | INVERSE_GREP = str(BASE_PATH / "inverse_grep.txt") 29 | BASE64_CHARS = "+/=" + ascii_letters + digits 30 | 31 | catchit_output = CatchIT_Ouput() 32 | catchit_config = Catchit_Config() 33 | 34 | 35 | def check_operating_system(): 36 | if platform.system() == "Windows": 37 | catchit_config.bash = "C:\\Program Files\\Git\\bin\\bash.exe" 38 | catchit_config.system_path_sep = "**\\*" 39 | catchit_config.tunnel_flags = "-E" 40 | 41 | elif platform.system() == "Darwin": 42 | catchit_config.tunnel_flags = "-E" 43 | 44 | elif platform.system() == "Linux": 45 | catchit_config.tunnel_flags = "-P" 46 | 47 | 48 | # Parsing the findings from grep subprocess output and returning the refined findings 49 | def getFinding_GREP( 50 | proc: subprocess.CompletedProcess, 51 | scanning_path: str, 52 | confidence: float = 0.4, 53 | entropy: float = 0, 54 | ) -> List[Dict]: 55 | logger.info("Starting getFinding_grep") 56 | 57 | try: 58 | findings = [] 59 | proc_output = proc.stdout.decode("utf-8").split("\n") 60 | for line in proc_output: 61 | finding = {} 62 | out_line = line.split(":") 63 | if len(out_line) < 2: 64 | break 65 | if os.name == "nt" and ntpath.isabs(line) and line[1] == 58: 66 | finding["path"] = out_line[0] + ":" + out_line[1] 67 | finding["path"] = str( 68 | Path(finding["path"]).relative_to(Path(scanning_path)) 69 | ) 70 | finding["line"] = out_line[2] 71 | finding["match"] = str(":".join(out_line[3:])) 72 | else: 73 | finding["path"] = out_line[0] 74 | finding["path"] = str( 75 | Path(finding["path"]).relative_to(Path(scanning_path)) 76 | ) 77 | finding["line"] = out_line[1] 78 | finding["match"] = str(":".join(out_line[2:])) 79 | catchit_output.summary["findings"]["code"] += 1 80 | if ( 81 | confidence >= 0.5 82 | and shannon_entropy(out_line[2], BASE64_CHARS) > entropy 83 | ): 84 | catchit_output.summary["findings"]["blocking_code"] += 1 85 | finding["type"] = "Blocking" 86 | else: 87 | finding["type"] = "Non-Blocking" 88 | findings.append(finding) 89 | 90 | return findings 91 | except Exception as e: 92 | logger.error("Error, skipping this iteration: ", e) 93 | return [] 94 | 95 | 96 | # Parsing the findings from find subprocess output and returning the refined findings 97 | def getFinding_FIND( 98 | proc: subprocess.CompletedProcess, scanning_path: str, confidence: float = 0.4 99 | ) -> List[Dict]: 100 | logger.info("Starting getFinding_find") 101 | 102 | try: 103 | findings = [] 104 | proc_output = proc.stdout.decode("utf-8").split("\n") 105 | for line in proc_output: 106 | finding = {} 107 | out_line = line.split(":") 108 | if len(out_line[0]) == 0: 109 | break 110 | if len(out_line) == 2: 111 | finding["path"] = out_line[0] + ":" + out_line[1] 112 | finding["path"] = str( 113 | Path(finding["path"]).relative_to(Path(scanning_path)) 114 | ) 115 | else: 116 | finding["path"] = out_line[0] 117 | finding["path"] = str( 118 | Path(finding["path"]).relative_to(Path(scanning_path)) 119 | ) 120 | catchit_output.summary["findings"]["file"] += 1 121 | if confidence >= 0.5: 122 | catchit_output.summary["findings"]["blocking_file"] += 1 123 | finding["type"] = "Blocking" 124 | else: 125 | finding["type"] = "Non-Blocking" 126 | 127 | findings.append(finding) 128 | 129 | return findings 130 | except Exception as e: 131 | logger.error("Error, skipping this iteration: ", e) 132 | return [] 133 | 134 | 135 | # Leverages Code_Scanning regexs from regexs.json to flag suspicious code. 136 | def exec_grep(regexs_json: Dict, scanning_path: str, tunnel_flags: str) -> List[Dict]: 137 | logger.info("Starting exec grep") 138 | 139 | findings = [] 140 | try: 141 | for (regex_key, regex_value) in regexs_json["CODE_SCANNING"].items(): 142 | output: Dict[str, Any] = {} 143 | if "regex" in regex_value.keys(): 144 | regex = regex_value["regex"] 145 | else: 146 | logger.error(f"regex missing for {regex_key}") 147 | continue 148 | confidence = regex_value.get("confidence", 0) 149 | entropy = regex_value.get("entropy", 0) 150 | try: 151 | if confidence > 0: 152 | proc = subprocess.run( 153 | [ 154 | catchit_config.bash, 155 | EXEC_GREP_SCRIPT, 156 | regex, 157 | scanning_path, 158 | INVERSE_GREP, 159 | tunnel_flags, 160 | ], 161 | stdout=subprocess.PIPE, 162 | stderr=subprocess.PIPE, 163 | timeout=2, 164 | ) 165 | output["findings"] = getFinding_GREP( 166 | proc, scanning_path, confidence, entropy 167 | ) 168 | output["regex_key"] = regex_key 169 | output["regex_value"] = regex 170 | 171 | if len(output["findings"]) > 0: 172 | findings.append(output) 173 | except subprocess.TimeoutExpired: 174 | logger.error("exec_grep times out") 175 | 176 | except Exception as e: 177 | logger.error("exec_grep encountered an error: ", e) 178 | return [] 179 | 180 | logger.info("exec_grep successfully completed") 181 | return findings 182 | 183 | 184 | # Leverages File_Scanning from regexs.json to get suspicious files. 185 | def exec_find(regexs_json: Dict, scanning_path: str, tunnel_flags: str): 186 | logger.info("Starting exec find") 187 | 188 | findings = [] 189 | try: 190 | for (file_key, file_value) in regexs_json["FILE_SCANNING"].items(): 191 | output: Dict[str, Any] = {} 192 | if "regex" in file_value.keys(): 193 | regex = file_value["regex"] 194 | else: 195 | logger.error(f"regex missing for {file_key}") 196 | continue 197 | confidence = file_value.get("confidence", 0) 198 | try: 199 | if confidence > 0: 200 | proc = subprocess.run( 201 | [ 202 | catchit_config.bash, 203 | EXEC_FIND_SCRIPT, 204 | scanning_path, 205 | regex, 206 | tunnel_flags, 207 | ], 208 | stdout=subprocess.PIPE, 209 | stderr=subprocess.PIPE, 210 | timeout=2, 211 | ) 212 | output["findings"] = getFinding_FIND( 213 | proc, scanning_path, confidence 214 | ) 215 | output["file_key"] = file_key 216 | output["file_value"] = regex 217 | if len(output["findings"]) > 0: 218 | findings.append(output) 219 | except subprocess.TimeoutExpired: 220 | logger.error("exec_find timed out") 221 | except Exception as e: 222 | logger.error("exec_find encountered an error:", e) 223 | return [] 224 | 225 | logger.info("exec_find completed successfully") 226 | return findings 227 | 228 | 229 | # Calculate the shannon entropy of the findings from grep and find commands 230 | def shannon_entropy(data: str, iterator: str) -> float: 231 | try: 232 | if not data: 233 | return 0.0 234 | entropy = 0.0 235 | for x in iterator: 236 | p_x = float(data.count(x)) / len(data) 237 | if p_x > 0: 238 | entropy += -p_x * math.log(p_x, 2) 239 | return entropy 240 | except Exception: 241 | logger.error("error encounterd in calculating shannon entropy") 242 | return 0.0 243 | 244 | 245 | def main(): 246 | logger.info("#### STARTING CATCHIT ####") 247 | 248 | my_parser = argparse.ArgumentParser(description="CatchIt plugins") 249 | my_parser.add_argument( 250 | "--bash-path", 251 | help="Path to the bash supported terminal, defaults to bash", 252 | default="", 253 | ) 254 | my_parser.add_argument("--scan-path", help="Path for scan", default="") 255 | 256 | args = vars(my_parser.parse_args()) 257 | 258 | catchit_config.scanning_path = str(args["scan_path"]) or os.getcwd() 259 | catchit_config.bash = str(args["bash_path"]) or catchit_config.bash 260 | 261 | # Get the regexs from regexs.json 262 | with open(FILE_REGEXS, "r") as f: 263 | regexs_json = json.load(f) 264 | 265 | # Configure the tunnel flags and bash path based on the operating system 266 | check_operating_system() 267 | 268 | # Starting grep functions to scan for suspicious code 269 | time_grep = time.time() 270 | catchit_output.code = exec_grep( 271 | regexs_json, catchit_config.scanning_path, catchit_config.tunnel_flags 272 | ) 273 | catchit_output.summary["execution_time"]["code"] = time.time() - time_grep 274 | 275 | # Starting find functions to scan for suspicious files 276 | time_find = time.time() 277 | catchit_output.file = exec_find( 278 | regexs_json, catchit_config.scanning_path, catchit_config.tunnel_flags 279 | ) 280 | catchit_output.summary["execution_time"]["file"] = time.time() - time_find 281 | 282 | total_block_findings = ( 283 | catchit_output.summary["findings"]["blocking_code"] 284 | + catchit_output.summary["findings"]["blocking_file"] 285 | ) 286 | 287 | catchit_output.summary["execution_time"]["total"] = time.time() - TS_START 288 | 289 | print(json.dumps(catchit_output.__dict__, indent=4)) 290 | 291 | # Exiting with code 1 for blocked findings 292 | if total_block_findings != 0: 293 | sys.exit(1) 294 | 295 | 296 | if __name__ == "__main__": 297 | main() 298 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright 2021 Goldman Sachs 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- 1 | [[package]] 2 | name = "appdirs" 3 | version = "1.4.4" 4 | description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." 5 | category = "dev" 6 | optional = false 7 | python-versions = "*" 8 | 9 | [[package]] 10 | name = "atomicwrites" 11 | version = "1.4.0" 12 | description = "Atomic file writes." 13 | category = "dev" 14 | optional = false 15 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 16 | 17 | [[package]] 18 | name = "attrs" 19 | version = "21.2.0" 20 | description = "Classes Without Boilerplate" 21 | category = "dev" 22 | optional = false 23 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 24 | 25 | [package.extras] 26 | dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit"] 27 | docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] 28 | tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface"] 29 | tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins"] 30 | 31 | [[package]] 32 | name = "black" 33 | version = "21.7b0" 34 | description = "The uncompromising code formatter." 35 | category = "dev" 36 | optional = false 37 | python-versions = ">=3.6.2" 38 | 39 | [package.dependencies] 40 | appdirs = "*" 41 | click = ">=7.1.2" 42 | mypy-extensions = ">=0.4.3" 43 | pathspec = ">=0.8.1,<1" 44 | regex = ">=2020.1.8" 45 | tomli = ">=0.2.6,<2.0.0" 46 | 47 | [package.extras] 48 | colorama = ["colorama (>=0.4.3)"] 49 | d = ["aiohttp (>=3.6.0)", "aiohttp-cors (>=0.4.0)"] 50 | python2 = ["typed-ast (>=1.4.2)"] 51 | uvloop = ["uvloop (>=0.15.2)"] 52 | 53 | [[package]] 54 | name = "click" 55 | version = "8.0.1" 56 | description = "Composable command line interface toolkit" 57 | category = "dev" 58 | optional = false 59 | python-versions = ">=3.6" 60 | 61 | [package.dependencies] 62 | colorama = {version = "*", markers = "platform_system == \"Windows\""} 63 | 64 | [[package]] 65 | name = "colorama" 66 | version = "0.4.4" 67 | description = "Cross-platform colored terminal text." 68 | category = "dev" 69 | optional = false 70 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 71 | 72 | [[package]] 73 | name = "flake8" 74 | version = "3.9.2" 75 | description = "the modular source code checker: pep8 pyflakes and co" 76 | category = "dev" 77 | optional = false 78 | python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" 79 | 80 | [package.dependencies] 81 | mccabe = ">=0.6.0,<0.7.0" 82 | pycodestyle = ">=2.7.0,<2.8.0" 83 | pyflakes = ">=2.3.0,<2.4.0" 84 | 85 | [[package]] 86 | name = "iniconfig" 87 | version = "1.1.1" 88 | description = "iniconfig: brain-dead simple config-ini parsing" 89 | category = "dev" 90 | optional = false 91 | python-versions = "*" 92 | 93 | [[package]] 94 | name = "isort" 95 | version = "5.9.3" 96 | description = "A Python utility / library to sort Python imports." 97 | category = "dev" 98 | optional = false 99 | python-versions = ">=3.6.1,<4.0" 100 | 101 | [package.extras] 102 | pipfile_deprecated_finder = ["pipreqs", "requirementslib"] 103 | requirements_deprecated_finder = ["pipreqs", "pip-api"] 104 | colors = ["colorama (>=0.4.3,<0.5.0)"] 105 | plugins = ["setuptools"] 106 | 107 | [[package]] 108 | name = "mccabe" 109 | version = "0.6.1" 110 | description = "McCabe checker, plugin for flake8" 111 | category = "dev" 112 | optional = false 113 | python-versions = "*" 114 | 115 | [[package]] 116 | name = "mypy" 117 | version = "0.910" 118 | description = "Optional static typing for Python" 119 | category = "dev" 120 | optional = false 121 | python-versions = ">=3.5" 122 | 123 | [package.dependencies] 124 | mypy-extensions = ">=0.4.3,<0.5.0" 125 | toml = "*" 126 | typing-extensions = ">=3.7.4" 127 | 128 | [package.extras] 129 | dmypy = ["psutil (>=4.0)"] 130 | python2 = ["typed-ast (>=1.4.0,<1.5.0)"] 131 | 132 | [[package]] 133 | name = "mypy-extensions" 134 | version = "0.4.3" 135 | description = "Experimental type system extensions for programs checked with the mypy typechecker." 136 | category = "dev" 137 | optional = false 138 | python-versions = "*" 139 | 140 | [[package]] 141 | name = "packaging" 142 | version = "21.0" 143 | description = "Core utilities for Python packages" 144 | category = "dev" 145 | optional = false 146 | python-versions = ">=3.6" 147 | 148 | [package.dependencies] 149 | pyparsing = ">=2.0.2" 150 | 151 | [[package]] 152 | name = "pathspec" 153 | version = "0.9.0" 154 | description = "Utility library for gitignore style pattern matching of file paths." 155 | category = "dev" 156 | optional = false 157 | python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" 158 | 159 | [[package]] 160 | name = "pluggy" 161 | version = "0.13.1" 162 | description = "plugin and hook calling mechanisms for python" 163 | category = "dev" 164 | optional = false 165 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 166 | 167 | [package.extras] 168 | dev = ["pre-commit", "tox"] 169 | 170 | [[package]] 171 | name = "py" 172 | version = "1.10.0" 173 | description = "library with cross-python path, ini-parsing, io, code, log facilities" 174 | category = "dev" 175 | optional = false 176 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 177 | 178 | [[package]] 179 | name = "pycodestyle" 180 | version = "2.7.0" 181 | description = "Python style guide checker" 182 | category = "dev" 183 | optional = false 184 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 185 | 186 | [[package]] 187 | name = "pyflakes" 188 | version = "2.3.1" 189 | description = "passive checker of Python programs" 190 | category = "dev" 191 | optional = false 192 | python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" 193 | 194 | [[package]] 195 | name = "pyparsing" 196 | version = "2.4.7" 197 | description = "Python parsing module" 198 | category = "dev" 199 | optional = false 200 | python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" 201 | 202 | [[package]] 203 | name = "pytest" 204 | version = "6.2.4" 205 | description = "pytest: simple powerful testing with Python" 206 | category = "dev" 207 | optional = false 208 | python-versions = ">=3.6" 209 | 210 | [package.dependencies] 211 | atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} 212 | attrs = ">=19.2.0" 213 | colorama = {version = "*", markers = "sys_platform == \"win32\""} 214 | iniconfig = "*" 215 | packaging = "*" 216 | pluggy = ">=0.12,<1.0.0a1" 217 | py = ">=1.8.2" 218 | toml = "*" 219 | 220 | [package.extras] 221 | testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] 222 | 223 | [[package]] 224 | name = "regex" 225 | version = "2021.8.28" 226 | description = "Alternative regular expression module, to replace re." 227 | category = "dev" 228 | optional = false 229 | python-versions = "*" 230 | 231 | [[package]] 232 | name = "toml" 233 | version = "0.10.2" 234 | description = "Python Library for Tom's Obvious, Minimal Language" 235 | category = "dev" 236 | optional = false 237 | python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" 238 | 239 | [[package]] 240 | name = "tomli" 241 | version = "1.2.1" 242 | description = "A lil' TOML parser" 243 | category = "dev" 244 | optional = false 245 | python-versions = ">=3.6" 246 | 247 | [[package]] 248 | name = "typing-extensions" 249 | version = "3.10.0.0" 250 | description = "Backported and Experimental Type Hints for Python 3.5+" 251 | category = "dev" 252 | optional = false 253 | python-versions = "*" 254 | 255 | [metadata] 256 | lock-version = "1.1" 257 | python-versions = "^3.8" 258 | content-hash = "9aa87d1eef6f09ea55e576f3cf1513f7f0ec976c6cbc10890a277dbad04776b3" 259 | 260 | [metadata.files] 261 | appdirs = [ 262 | {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, 263 | {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, 264 | ] 265 | atomicwrites = [ 266 | {file = "atomicwrites-1.4.0-py2.py3-none-any.whl", hash = "sha256:6d1784dea7c0c8d4a5172b6c620f40b6e4cbfdf96d783691f2e1302a7b88e197"}, 267 | {file = "atomicwrites-1.4.0.tar.gz", hash = "sha256:ae70396ad1a434f9c7046fd2dd196fc04b12f9e91ffb859164193be8b6168a7a"}, 268 | ] 269 | attrs = [ 270 | {file = "attrs-21.2.0-py2.py3-none-any.whl", hash = "sha256:149e90d6d8ac20db7a955ad60cf0e6881a3f20d37096140088356da6c716b0b1"}, 271 | {file = "attrs-21.2.0.tar.gz", hash = "sha256:ef6aaac3ca6cd92904cdd0d83f629a15f18053ec84e6432106f7a4d04ae4f5fb"}, 272 | ] 273 | black = [ 274 | {file = "black-21.7b0-py3-none-any.whl", hash = "sha256:1c7aa6ada8ee864db745b22790a32f94b2795c253a75d6d9b5e439ff10d23116"}, 275 | {file = "black-21.7b0.tar.gz", hash = "sha256:c8373c6491de9362e39271630b65b964607bc5c79c83783547d76c839b3aa219"}, 276 | ] 277 | click = [ 278 | {file = "click-8.0.1-py3-none-any.whl", hash = "sha256:fba402a4a47334742d782209a7c79bc448911afe1149d07bdabdf480b3e2f4b6"}, 279 | {file = "click-8.0.1.tar.gz", hash = "sha256:8c04c11192119b1ef78ea049e0a6f0463e4c48ef00a30160c704337586f3ad7a"}, 280 | ] 281 | colorama = [ 282 | {file = "colorama-0.4.4-py2.py3-none-any.whl", hash = "sha256:9f47eda37229f68eee03b24b9748937c7dc3868f906e8ba69fbcbdd3bc5dc3e2"}, 283 | {file = "colorama-0.4.4.tar.gz", hash = "sha256:5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b"}, 284 | ] 285 | flake8 = [ 286 | {file = "flake8-3.9.2-py2.py3-none-any.whl", hash = "sha256:bf8fd333346d844f616e8d47905ef3a3384edae6b4e9beb0c5101e25e3110907"}, 287 | {file = "flake8-3.9.2.tar.gz", hash = "sha256:07528381786f2a6237b061f6e96610a4167b226cb926e2aa2b6b1d78057c576b"}, 288 | ] 289 | iniconfig = [ 290 | {file = "iniconfig-1.1.1-py2.py3-none-any.whl", hash = "sha256:011e24c64b7f47f6ebd835bb12a743f2fbe9a26d4cecaa7f53bc4f35ee9da8b3"}, 291 | {file = "iniconfig-1.1.1.tar.gz", hash = "sha256:bc3af051d7d14b2ee5ef9969666def0cd1a000e121eaea580d4a313df4b37f32"}, 292 | ] 293 | isort = [ 294 | {file = "isort-5.9.3-py3-none-any.whl", hash = "sha256:e17d6e2b81095c9db0a03a8025a957f334d6ea30b26f9ec70805411e5c7c81f2"}, 295 | {file = "isort-5.9.3.tar.gz", hash = "sha256:9c2ea1e62d871267b78307fe511c0838ba0da28698c5732d54e2790bf3ba9899"}, 296 | ] 297 | mccabe = [ 298 | {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"}, 299 | {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"}, 300 | ] 301 | mypy = [ 302 | {file = "mypy-0.910-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:a155d80ea6cee511a3694b108c4494a39f42de11ee4e61e72bc424c490e46457"}, 303 | {file = "mypy-0.910-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:b94e4b785e304a04ea0828759172a15add27088520dc7e49ceade7834275bedb"}, 304 | {file = "mypy-0.910-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:088cd9c7904b4ad80bec811053272986611b84221835e079be5bcad029e79dd9"}, 305 | {file = "mypy-0.910-cp35-cp35m-win_amd64.whl", hash = "sha256:adaeee09bfde366d2c13fe6093a7df5df83c9a2ba98638c7d76b010694db760e"}, 306 | {file = "mypy-0.910-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:ecd2c3fe726758037234c93df7e98deb257fd15c24c9180dacf1ef829da5f921"}, 307 | {file = "mypy-0.910-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:d9dd839eb0dc1bbe866a288ba3c1afc33a202015d2ad83b31e875b5905a079b6"}, 308 | {file = "mypy-0.910-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:3e382b29f8e0ccf19a2df2b29a167591245df90c0b5a2542249873b5c1d78212"}, 309 | {file = "mypy-0.910-cp36-cp36m-win_amd64.whl", hash = "sha256:53fd2eb27a8ee2892614370896956af2ff61254c275aaee4c230ae771cadd885"}, 310 | {file = "mypy-0.910-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b6fb13123aeef4a3abbcfd7e71773ff3ff1526a7d3dc538f3929a49b42be03f0"}, 311 | {file = "mypy-0.910-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:e4dab234478e3bd3ce83bac4193b2ecd9cf94e720ddd95ce69840273bf44f6de"}, 312 | {file = "mypy-0.910-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:7df1ead20c81371ccd6091fa3e2878559b5c4d4caadaf1a484cf88d93ca06703"}, 313 | {file = "mypy-0.910-cp37-cp37m-win_amd64.whl", hash = "sha256:0aadfb2d3935988ec3815952e44058a3100499f5be5b28c34ac9d79f002a4a9a"}, 314 | {file = "mypy-0.910-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ec4e0cd079db280b6bdabdc807047ff3e199f334050db5cbb91ba3e959a67504"}, 315 | {file = "mypy-0.910-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:119bed3832d961f3a880787bf621634ba042cb8dc850a7429f643508eeac97b9"}, 316 | {file = "mypy-0.910-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:866c41f28cee548475f146aa4d39a51cf3b6a84246969f3759cb3e9c742fc072"}, 317 | {file = "mypy-0.910-cp38-cp38-win_amd64.whl", hash = "sha256:ceb6e0a6e27fb364fb3853389607cf7eb3a126ad335790fa1e14ed02fba50811"}, 318 | {file = "mypy-0.910-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:1a85e280d4d217150ce8cb1a6dddffd14e753a4e0c3cf90baabb32cefa41b59e"}, 319 | {file = "mypy-0.910-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:42c266ced41b65ed40a282c575705325fa7991af370036d3f134518336636f5b"}, 320 | {file = "mypy-0.910-cp39-cp39-manylinux1_x86_64.whl", hash = "sha256:3c4b8ca36877fc75339253721f69603a9c7fdb5d4d5a95a1a1b899d8b86a4de2"}, 321 | {file = "mypy-0.910-cp39-cp39-manylinux2010_x86_64.whl", hash = "sha256:c0df2d30ed496a08de5daed2a9ea807d07c21ae0ab23acf541ab88c24b26ab97"}, 322 | {file = "mypy-0.910-cp39-cp39-win_amd64.whl", hash = "sha256:c6c2602dffb74867498f86e6129fd52a2770c48b7cd3ece77ada4fa38f94eba8"}, 323 | {file = "mypy-0.910-py3-none-any.whl", hash = "sha256:ef565033fa5a958e62796867b1df10c40263ea9ded87164d67572834e57a174d"}, 324 | {file = "mypy-0.910.tar.gz", hash = "sha256:704098302473cb31a218f1775a873b376b30b4c18229421e9e9dc8916fd16150"}, 325 | ] 326 | mypy-extensions = [ 327 | {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"}, 328 | {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"}, 329 | ] 330 | packaging = [ 331 | {file = "packaging-21.0-py3-none-any.whl", hash = "sha256:c86254f9220d55e31cc94d69bade760f0847da8000def4dfe1c6b872fd14ff14"}, 332 | {file = "packaging-21.0.tar.gz", hash = "sha256:7dc96269f53a4ccec5c0670940a4281106dd0bb343f47b7471f779df49c2fbe7"}, 333 | ] 334 | pathspec = [ 335 | {file = "pathspec-0.9.0-py2.py3-none-any.whl", hash = "sha256:7d15c4ddb0b5c802d161efc417ec1a2558ea2653c2e8ad9c19098201dc1c993a"}, 336 | {file = "pathspec-0.9.0.tar.gz", hash = "sha256:e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1"}, 337 | ] 338 | pluggy = [ 339 | {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"}, 340 | {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"}, 341 | ] 342 | py = [ 343 | {file = "py-1.10.0-py2.py3-none-any.whl", hash = "sha256:3b80836aa6d1feeaa108e046da6423ab8f6ceda6468545ae8d02d9d58d18818a"}, 344 | {file = "py-1.10.0.tar.gz", hash = "sha256:21b81bda15b66ef5e1a777a21c4dcd9c20ad3efd0b3f817e7a809035269e1bd3"}, 345 | ] 346 | pycodestyle = [ 347 | {file = "pycodestyle-2.7.0-py2.py3-none-any.whl", hash = "sha256:514f76d918fcc0b55c6680472f0a37970994e07bbb80725808c17089be302068"}, 348 | {file = "pycodestyle-2.7.0.tar.gz", hash = "sha256:c389c1d06bf7904078ca03399a4816f974a1d590090fecea0c63ec26ebaf1cef"}, 349 | ] 350 | pyflakes = [ 351 | {file = "pyflakes-2.3.1-py2.py3-none-any.whl", hash = "sha256:7893783d01b8a89811dd72d7dfd4d84ff098e5eed95cfa8905b22bbffe52efc3"}, 352 | {file = "pyflakes-2.3.1.tar.gz", hash = "sha256:f5bc8ecabc05bb9d291eb5203d6810b49040f6ff446a756326104746cc00c1db"}, 353 | ] 354 | pyparsing = [ 355 | {file = "pyparsing-2.4.7-py2.py3-none-any.whl", hash = "sha256:ef9d7589ef3c200abe66653d3f1ab1033c3c419ae9b9bdb1240a85b024efc88b"}, 356 | {file = "pyparsing-2.4.7.tar.gz", hash = "sha256:c203ec8783bf771a155b207279b9bccb8dea02d8f0c9e5f8ead507bc3246ecc1"}, 357 | ] 358 | pytest = [ 359 | {file = "pytest-6.2.4-py3-none-any.whl", hash = "sha256:91ef2131a9bd6be8f76f1f08eac5c5317221d6ad1e143ae03894b862e8976890"}, 360 | {file = "pytest-6.2.4.tar.gz", hash = "sha256:50bcad0a0b9c5a72c8e4e7c9855a3ad496ca6a881a3641b4260605450772c54b"}, 361 | ] 362 | regex = [ 363 | {file = "regex-2021.8.28-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9d05ad5367c90814099000442b2125535e9d77581855b9bee8780f1b41f2b1a2"}, 364 | {file = "regex-2021.8.28-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f3bf1bc02bc421047bfec3343729c4bbbea42605bcfd6d6bfe2c07ade8b12d2a"}, 365 | {file = "regex-2021.8.28-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5f6a808044faae658f546dd5f525e921de9fa409de7a5570865467f03a626fc0"}, 366 | {file = "regex-2021.8.28-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:a617593aeacc7a691cc4af4a4410031654f2909053bd8c8e7db837f179a630eb"}, 367 | {file = "regex-2021.8.28-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:79aef6b5cd41feff359acaf98e040844613ff5298d0d19c455b3d9ae0bc8c35a"}, 368 | {file = "regex-2021.8.28-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:0fc1f8f06977c2d4f5e3d3f0d4a08089be783973fc6b6e278bde01f0544ff308"}, 369 | {file = "regex-2021.8.28-cp310-cp310-win32.whl", hash = "sha256:6eebf512aa90751d5ef6a7c2ac9d60113f32e86e5687326a50d7686e309f66ed"}, 370 | {file = "regex-2021.8.28-cp310-cp310-win_amd64.whl", hash = "sha256:ac88856a8cbccfc14f1b2d0b829af354cc1743cb375e7f04251ae73b2af6adf8"}, 371 | {file = "regex-2021.8.28-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:c206587c83e795d417ed3adc8453a791f6d36b67c81416676cad053b4104152c"}, 372 | {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e8690ed94481f219a7a967c118abaf71ccc440f69acd583cab721b90eeedb77c"}, 373 | {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:328a1fad67445550b982caa2a2a850da5989fd6595e858f02d04636e7f8b0b13"}, 374 | {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:c7cb4c512d2d3b0870e00fbbac2f291d4b4bf2634d59a31176a87afe2777c6f0"}, 375 | {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:66256b6391c057305e5ae9209941ef63c33a476b73772ca967d4a2df70520ec1"}, 376 | {file = "regex-2021.8.28-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:8e44769068d33e0ea6ccdf4b84d80c5afffe5207aa4d1881a629cf0ef3ec398f"}, 377 | {file = "regex-2021.8.28-cp36-cp36m-win32.whl", hash = "sha256:08d74bfaa4c7731b8dac0a992c63673a2782758f7cfad34cf9c1b9184f911354"}, 378 | {file = "regex-2021.8.28-cp36-cp36m-win_amd64.whl", hash = "sha256:abb48494d88e8a82601af905143e0de838c776c1241d92021e9256d5515b3645"}, 379 | {file = "regex-2021.8.28-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:b4c220a1fe0d2c622493b0a1fd48f8f991998fb447d3cd368033a4b86cf1127a"}, 380 | {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4a332404baa6665b54e5d283b4262f41f2103c255897084ec8f5487ce7b9e8e"}, 381 | {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c61dcc1cf9fd165127a2853e2c31eb4fb961a4f26b394ac9fe5669c7a6592892"}, 382 | {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:ee329d0387b5b41a5dddbb6243a21cb7896587a651bebb957e2d2bb8b63c0791"}, 383 | {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f60667673ff9c249709160529ab39667d1ae9fd38634e006bec95611f632e759"}, 384 | {file = "regex-2021.8.28-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:b844fb09bd9936ed158ff9df0ab601e2045b316b17aa8b931857365ea8586906"}, 385 | {file = "regex-2021.8.28-cp37-cp37m-win32.whl", hash = "sha256:4cde065ab33bcaab774d84096fae266d9301d1a2f5519d7bd58fc55274afbf7a"}, 386 | {file = "regex-2021.8.28-cp37-cp37m-win_amd64.whl", hash = "sha256:1413b5022ed6ac0d504ba425ef02549a57d0f4276de58e3ab7e82437892704fc"}, 387 | {file = "regex-2021.8.28-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ed4b50355b066796dacdd1cf538f2ce57275d001838f9b132fab80b75e8c84dd"}, 388 | {file = "regex-2021.8.28-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:28fc475f560d8f67cc8767b94db4c9440210f6958495aeae70fac8faec631797"}, 389 | {file = "regex-2021.8.28-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bdc178caebd0f338d57ae445ef8e9b737ddf8fbc3ea187603f65aec5b041248f"}, 390 | {file = "regex-2021.8.28-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:999ad08220467b6ad4bd3dd34e65329dd5d0df9b31e47106105e407954965256"}, 391 | {file = "regex-2021.8.28-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:808ee5834e06f57978da3e003ad9d6292de69d2bf6263662a1a8ae30788e080b"}, 392 | {file = "regex-2021.8.28-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d5111d4c843d80202e62b4fdbb4920db1dcee4f9366d6b03294f45ed7b18b42e"}, 393 | {file = "regex-2021.8.28-cp38-cp38-win32.whl", hash = "sha256:473858730ef6d6ff7f7d5f19452184cd0caa062a20047f6d6f3e135a4648865d"}, 394 | {file = "regex-2021.8.28-cp38-cp38-win_amd64.whl", hash = "sha256:31a99a4796bf5aefc8351e98507b09e1b09115574f7c9dbb9cf2111f7220d2e2"}, 395 | {file = "regex-2021.8.28-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:04f6b9749e335bb0d2f68c707f23bb1773c3fb6ecd10edf0f04df12a8920d468"}, 396 | {file = "regex-2021.8.28-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9b006628fe43aa69259ec04ca258d88ed19b64791693df59c422b607b6ece8bb"}, 397 | {file = "regex-2021.8.28-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:121f4b3185feaade3f85f70294aef3f777199e9b5c0c0245c774ae884b110a2d"}, 398 | {file = "regex-2021.8.28-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:a577a21de2ef8059b58f79ff76a4da81c45a75fe0bfb09bc8b7bb4293fa18983"}, 399 | {file = "regex-2021.8.28-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1743345e30917e8c574f273f51679c294effba6ad372db1967852f12c76759d8"}, 400 | {file = "regex-2021.8.28-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:e1e8406b895aba6caa63d9fd1b6b1700d7e4825f78ccb1e5260551d168db38ed"}, 401 | {file = "regex-2021.8.28-cp39-cp39-win32.whl", hash = "sha256:ed283ab3a01d8b53de3a05bfdf4473ae24e43caee7dcb5584e86f3f3e5ab4374"}, 402 | {file = "regex-2021.8.28-cp39-cp39-win_amd64.whl", hash = "sha256:610b690b406653c84b7cb6091facb3033500ee81089867ee7d59e675f9ca2b73"}, 403 | {file = "regex-2021.8.28.tar.gz", hash = "sha256:f585cbbeecb35f35609edccb95efd95a3e35824cd7752b586503f7e6087303f1"}, 404 | ] 405 | toml = [ 406 | {file = "toml-0.10.2-py2.py3-none-any.whl", hash = "sha256:806143ae5bfb6a3c6e736a764057db0e6a0e05e338b5630894a5f779cabb4f9b"}, 407 | {file = "toml-0.10.2.tar.gz", hash = "sha256:b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"}, 408 | ] 409 | tomli = [ 410 | {file = "tomli-1.2.1-py3-none-any.whl", hash = "sha256:8dd0e9524d6f386271a36b41dbf6c57d8e32fd96fd22b6584679dc569d20899f"}, 411 | {file = "tomli-1.2.1.tar.gz", hash = "sha256:a5b75cb6f3968abb47af1b40c1819dc519ea82bcc065776a866e8d74c5ca9442"}, 412 | ] 413 | typing-extensions = [ 414 | {file = "typing_extensions-3.10.0.0-py2-none-any.whl", hash = "sha256:0ac0f89795dd19de6b97debb0c6af1c70987fd80a2d62d1958f7e56fcc31b497"}, 415 | {file = "typing_extensions-3.10.0.0-py3-none-any.whl", hash = "sha256:779383f6086d90c99ae41cf0ff39aac8a7937a9283ce0a414e5dd782f4c94a84"}, 416 | {file = "typing_extensions-3.10.0.0.tar.gz", hash = "sha256:50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342"}, 417 | ] 418 | --------------------------------------------------------------------------------