supplier-meesho.webflow 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of supplier-meesho.webflow might be problematic. Click here for more details.
- package/.localized +0 -0
- package/2.sh +1 -0
- package/Complaince.pdf +0 -0
- package/GitRepos/CircleIndicator/.idea/caches/build_file_checksums.ser +0 -0
- package/GitRepos/CircleIndicator/.idea/caches/gradle_models.ser +0 -0
- package/GitRepos/CircleIndicator/.idea/checkstyle-idea.xml +16 -0
- package/GitRepos/CircleIndicator/.idea/compiler.xml +21 -0
- package/GitRepos/CircleIndicator/.idea/copyright/profiles_settings.xml +3 -0
- package/GitRepos/CircleIndicator/.idea/encodings.xml +6 -0
- package/GitRepos/CircleIndicator/.idea/gradle.xml +23 -0
- package/GitRepos/CircleIndicator/.idea/misc.xml +93 -0
- package/GitRepos/CircleIndicator/.idea/modules.xml +11 -0
- package/GitRepos/CircleIndicator/.idea/runConfigurations.xml +12 -0
- package/GitRepos/CircleIndicator/.idea/vcs.xml +6 -0
- package/GitRepos/CircleIndicator/CHANGELOG.md +62 -0
- package/GitRepos/CircleIndicator/LoopingViewPager/README.md +4 -0
- package/GitRepos/CircleIndicator/LoopingViewPager/build.gradle +22 -0
- package/GitRepos/CircleIndicator/LoopingViewPager/proguard-rules.pro +17 -0
- package/GitRepos/CircleIndicator/LoopingViewPager/src/main/AndroidManifest.xml +5 -0
- package/GitRepos/CircleIndicator/LoopingViewPager/src/main/java/com/imbryk/viewPager/LoopPagerAdapterWrapper.java +168 -0
- package/GitRepos/CircleIndicator/LoopingViewPager/src/main/java/com/imbryk/viewPager/LoopViewPager.java +208 -0
- package/GitRepos/CircleIndicator/README.md +73 -0
- package/GitRepos/CircleIndicator/apk/sample.apk +0 -0
- package/GitRepos/CircleIndicator/build.gradle +20 -0
- package/GitRepos/CircleIndicator/circleindicator/build.gradle +30 -0
- package/GitRepos/CircleIndicator/circleindicator/gradle.properties +22 -0
- package/GitRepos/CircleIndicator/circleindicator/proguard-rules.pro +17 -0
- package/GitRepos/CircleIndicator/circleindicator/src/main/AndroidManifest.xml +5 -0
- package/GitRepos/CircleIndicator/circleindicator/src/main/java/me/relex/circleindicator/CircleIndicator.java +323 -0
- package/GitRepos/CircleIndicator/circleindicator/src/main/java/me/relex/circleindicator/SnackbarBehavior.java +45 -0
- package/GitRepos/CircleIndicator/circleindicator/src/main/res/animator/scale_with_alpha.xml +22 -0
- package/GitRepos/CircleIndicator/circleindicator/src/main/res/drawable/white_radius.xml +6 -0
- package/GitRepos/CircleIndicator/circleindicator/src/main/res/values/attrs.xml +60 -0
- package/GitRepos/CircleIndicator/circleindicator/upload-jcenter.gradle +67 -0
- package/GitRepos/CircleIndicator/circleindicator/upload-maven.gradle +55 -0
- package/GitRepos/CircleIndicator/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/GitRepos/CircleIndicator/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/GitRepos/CircleIndicator/gradle.properties +18 -0
- package/GitRepos/CircleIndicator/gradlew +164 -0
- package/GitRepos/CircleIndicator/gradlew.bat +90 -0
- package/GitRepos/CircleIndicator/sample/build.gradle +32 -0
- package/GitRepos/CircleIndicator/sample/proguard-rules.pro +17 -0
- package/GitRepos/CircleIndicator/sample/src/main/AndroidManifest.xml +23 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/SampleActivity.java +158 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/SamplePagerAdapter.java +59 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/ChangeColorFragment.java +28 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/CustomAnimationFragment.java +28 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/DefaultFragment.java +29 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/DynamicAdapterFragment.java +52 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/LoopViewPagerFragment.java +28 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/ResetAdapterFragment.java +41 -0
- package/GitRepos/CircleIndicator/sample/src/main/java/me/relex/circleindicator/sample/fragment/SnackbarBehaviorFragment.java +44 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/animator/indicator_animator.xml +16 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/animator/indicator_animator_reverse.xml +10 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/animator/indicator_no_animator.xml +4 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable/black_radius.xml +8 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable/black_radius_square.xml +7 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable/white_radius.xml +6 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable-hdpi/ic_launcher.png +0 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable-mdpi/ic_launcher.png +0 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable-xhdpi/ic_launcher.png +0 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/drawable-xxhdpi/ic_launcher.png +0 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/activity_sample.xml +22 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_change_color.xml +21 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_custom_animation.xml +26 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_default.xml +18 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_dynamic_adapter.xml +34 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_loop_viewpager.xml +18 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_reset_adapter.xml +27 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/fragment_sample_snackbar_behavior.xml +28 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/item_view.xml +2 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/layout/viewpager_activity.xml +74 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/values/array.xml +10 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/values/colors.xml +19 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/values/ids.xml +17 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/values/strings.xml +9 -0
- package/GitRepos/CircleIndicator/sample/src/main/res/values/styles.xml +26 -0
- package/GitRepos/CircleIndicator/screenshot.gif +0 -0
- package/GitRepos/CircleIndicator/settings.gradle +1 -0
- package/GitRepos/Time/.travis.yml +14 -0
- package/GitRepos/Time/LICENSE.md +22 -0
- package/GitRepos/Time/README.md +269 -0
- package/GitRepos/Time/build.gradle +23 -0
- package/GitRepos/Time/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/GitRepos/Time/gradle/wrapper/gradle-wrapper.properties +6 -0
- package/GitRepos/Time/gradlew +172 -0
- package/GitRepos/Time/gradlew.bat +84 -0
- package/GitRepos/Time/settings.gradle +3 -0
- package/GitRepos/Time/time/build.gradle +20 -0
- package/GitRepos/Time/time/src/main/kotlin/com/kizitonwose/time/Extensions.kt +65 -0
- package/GitRepos/Time/time/src/main/kotlin/com/kizitonwose/time/Time.kt +143 -0
- package/GitRepos/Time/time/src/test/kotlin/com/kizitonwose/time/TimeTest.kt +110 -0
- package/GitRepos/Time/time-android/build.gradle +38 -0
- package/GitRepos/Time/time-android/proguard-rules.pro +21 -0
- package/GitRepos/Time/time-android/src/main/AndroidManifest.xml +2 -0
- package/GitRepos/Time/time-android/src/main/kotlin/com/kizitonwose/timeandroid/AndroidExtensions.kt +15 -0
- package/GitRepos/Time/time-android/src/main/res/values/strings.xml +3 -0
- package/GitRepos/black/.coveragerc +9 -0
- package/GitRepos/black/.flake8 +7 -0
- package/GitRepos/black/.github/CODE_OF_CONDUCT.md +11 -0
- package/GitRepos/black/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- package/GitRepos/black/.github/ISSUE_TEMPLATE/feature_request.md +19 -0
- package/GitRepos/black/.github/ISSUE_TEMPLATE/style_issue.md +29 -0
- package/GitRepos/black/.github/workflows/changelog.yml +21 -0
- package/GitRepos/black/.github/workflows/doc.yml +30 -0
- package/GitRepos/black/.github/workflows/docker.yml +43 -0
- package/GitRepos/black/.github/workflows/fuzz.yml +35 -0
- package/GitRepos/black/.github/workflows/lint.yml +28 -0
- package/GitRepos/black/.github/workflows/primer.yml +47 -0
- package/GitRepos/black/.github/workflows/pypi_upload.yml +31 -0
- package/GitRepos/black/.github/workflows/test.yml +76 -0
- package/GitRepos/black/.github/workflows/upload_binary.yml +51 -0
- package/GitRepos/black/.pre-commit-config.yaml +30 -0
- package/GitRepos/black/.pre-commit-hooks.yaml +9 -0
- package/GitRepos/black/.prettierrc.yaml +3 -0
- package/GitRepos/black/.readthedocs.yaml +14 -0
- package/GitRepos/black/AUTHORS.md +184 -0
- package/GitRepos/black/CHANGES.md +648 -0
- package/GitRepos/black/CONTRIBUTING.md +10 -0
- package/GitRepos/black/Dockerfile +14 -0
- package/GitRepos/black/LICENSE +21 -0
- package/GitRepos/black/Pipfile +36 -0
- package/GitRepos/black/Pipfile.lock +1308 -0
- package/GitRepos/black/README.md +220 -0
- package/GitRepos/black/action/Dockerfile +10 -0
- package/GitRepos/black/action/entrypoint.sh +9 -0
- package/GitRepos/black/action.yml +24 -0
- package/GitRepos/black/autoload/black.vim +172 -0
- package/GitRepos/black/docs/Makefile +20 -0
- package/GitRepos/black/docs/_static/custom.css +38 -0
- package/GitRepos/black/docs/_static/license.svg +1 -0
- package/GitRepos/black/docs/_static/logo2-readme.png +0 -0
- package/GitRepos/black/docs/_static/logo2.png +0 -0
- package/GitRepos/black/docs/_static/pypi_template.svg +1 -0
- package/GitRepos/black/docs/compatible_configs/flake8/.flake8 +3 -0
- package/GitRepos/black/docs/compatible_configs/flake8/setup.cfg +3 -0
- package/GitRepos/black/docs/compatible_configs/flake8/tox.ini +3 -0
- package/GitRepos/black/docs/compatible_configs/isort/.editorconfig +2 -0
- package/GitRepos/black/docs/compatible_configs/isort/.isort.cfg +2 -0
- package/GitRepos/black/docs/compatible_configs/isort/pyproject.toml +2 -0
- package/GitRepos/black/docs/compatible_configs/isort/setup.cfg +2 -0
- package/GitRepos/black/docs/compatible_configs/pylint/pylintrc +5 -0
- package/GitRepos/black/docs/compatible_configs/pylint/pyproject.toml +5 -0
- package/GitRepos/black/docs/compatible_configs/pylint/setup.cfg +5 -0
- package/GitRepos/black/docs/conf.py +227 -0
- package/GitRepos/black/docs/contributing/gauging_changes.md +42 -0
- package/GitRepos/black/docs/contributing/index.rst +42 -0
- package/GitRepos/black/docs/contributing/issue_triage.md +169 -0
- package/GitRepos/black/docs/contributing/reference/reference_classes.rst +76 -0
- package/GitRepos/black/docs/contributing/reference/reference_exceptions.rst +12 -0
- package/GitRepos/black/docs/contributing/reference/reference_functions.rst +178 -0
- package/GitRepos/black/docs/contributing/reference/reference_summary.rst +16 -0
- package/GitRepos/black/docs/contributing/release_process.md +89 -0
- package/GitRepos/black/docs/contributing/the_basics.md +101 -0
- package/GitRepos/black/docs/getting_started.md +49 -0
- package/GitRepos/black/docs/guides/index.rst +14 -0
- package/GitRepos/black/docs/guides/introducing_black_to_your_project.md +50 -0
- package/GitRepos/black/docs/guides/using_black_with_other_tools.md +278 -0
- package/GitRepos/black/docs/index.rst +120 -0
- package/GitRepos/black/docs/integrations/editors.md +326 -0
- package/GitRepos/black/docs/integrations/github_actions.md +35 -0
- package/GitRepos/black/docs/integrations/index.rst +28 -0
- package/GitRepos/black/docs/integrations/source_version_control.md +14 -0
- package/GitRepos/black/docs/license.rst +6 -0
- package/GitRepos/black/docs/make.bat +36 -0
- package/GitRepos/black/docs/requirements.txt +6 -0
- package/GitRepos/black/docs/the_black_code_style/current_style.md +456 -0
- package/GitRepos/black/docs/the_black_code_style/future_style.md +35 -0
- package/GitRepos/black/docs/the_black_code_style/index.rst +19 -0
- package/GitRepos/black/docs/usage_and_configuration/black_as_a_server.md +78 -0
- package/GitRepos/black/docs/usage_and_configuration/file_collection_and_discovery.md +36 -0
- package/GitRepos/black/docs/usage_and_configuration/index.rst +24 -0
- package/GitRepos/black/docs/usage_and_configuration/the_basics.md +286 -0
- package/GitRepos/black/fuzz.py +85 -0
- package/GitRepos/black/gallery/Dockerfile +11 -0
- package/GitRepos/black/gallery/README.md +45 -0
- package/GitRepos/black/gallery/gallery.py +307 -0
- package/GitRepos/black/mypy.ini +39 -0
- package/GitRepos/black/plugin/black.vim +60 -0
- package/GitRepos/black/profiling/dict_big.py +8001 -0
- package/GitRepos/black/profiling/dict_huge.py +41440 -0
- package/GitRepos/black/profiling/list_big.py +4000 -0
- package/GitRepos/black/profiling/list_huge.py +22431 -0
- package/GitRepos/black/profiling/mix_big.py +1002 -0
- package/GitRepos/black/profiling/mix_huge.py +7692 -0
- package/GitRepos/black/profiling/mix_small.py +102 -0
- package/GitRepos/black/pyproject.toml +34 -0
- package/GitRepos/black/setup.cfg +2 -0
- package/GitRepos/black/setup.py +113 -0
- package/GitRepos/black/src/black/__init__.py +1062 -0
- package/GitRepos/black/src/black/__main__.py +3 -0
- package/GitRepos/black/src/black/brackets.py +334 -0
- package/GitRepos/black/src/black/cache.py +83 -0
- package/GitRepos/black/src/black/comments.py +269 -0
- package/GitRepos/black/src/black/concurrency.py +39 -0
- package/GitRepos/black/src/black/const.py +4 -0
- package/GitRepos/black/src/black/debug.py +48 -0
- package/GitRepos/black/src/black/files.py +243 -0
- package/GitRepos/black/src/black/linegen.py +984 -0
- package/GitRepos/black/src/black/lines.py +734 -0
- package/GitRepos/black/src/black/mode.py +123 -0
- package/GitRepos/black/src/black/nodes.py +843 -0
- package/GitRepos/black/src/black/numerics.py +65 -0
- package/GitRepos/black/src/black/output.py +83 -0
- package/GitRepos/black/src/black/parsing.py +215 -0
- package/GitRepos/black/src/black/py.typed +1 -0
- package/GitRepos/black/src/black/report.py +100 -0
- package/GitRepos/black/src/black/rusty.py +28 -0
- package/GitRepos/black/src/black/strings.py +216 -0
- package/GitRepos/black/src/black/trans.py +1925 -0
- package/GitRepos/black/src/black_primer/cli.py +147 -0
- package/GitRepos/black/src/black_primer/lib.py +361 -0
- package/GitRepos/black/src/black_primer/primer.json +143 -0
- package/GitRepos/black/src/blackd/__init__.py +211 -0
- package/GitRepos/black/src/blib2to3/Grammar.txt +215 -0
- package/GitRepos/black/src/blib2to3/LICENSE +254 -0
- package/GitRepos/black/src/blib2to3/PatternGrammar.txt +28 -0
- package/GitRepos/black/src/blib2to3/README +16 -0
- package/GitRepos/black/src/blib2to3/__init__.py +1 -0
- package/GitRepos/black/src/blib2to3/pgen2/__init__.py +4 -0
- package/GitRepos/black/src/blib2to3/pgen2/conv.py +256 -0
- package/GitRepos/black/src/blib2to3/pgen2/driver.py +253 -0
- package/GitRepos/black/src/blib2to3/pgen2/grammar.py +223 -0
- package/GitRepos/black/src/blib2to3/pgen2/literals.py +68 -0
- package/GitRepos/black/src/blib2to3/pgen2/parse.py +235 -0
- package/GitRepos/black/src/blib2to3/pgen2/pgen.py +428 -0
- package/GitRepos/black/src/blib2to3/pgen2/token.py +94 -0
- package/GitRepos/black/src/blib2to3/pgen2/tokenize.py +681 -0
- package/GitRepos/black/src/blib2to3/pygram.py +197 -0
- package/GitRepos/black/src/blib2to3/pytree.py +980 -0
- package/GitRepos/black/test_requirements.txt +9 -0
- package/GitRepos/black/tests/__init__.py +0 -0
- package/GitRepos/black/tests/conftest.py +1 -0
- package/GitRepos/black/tests/data/async_as_identifier.py +49 -0
- package/GitRepos/black/tests/data/beginning_backslash.py +12 -0
- package/GitRepos/black/tests/data/blackd_diff.diff +13 -0
- package/GitRepos/black/tests/data/blackd_diff.py +6 -0
- package/GitRepos/black/tests/data/bracketmatch.py +15 -0
- package/GitRepos/black/tests/data/cantfit.py +107 -0
- package/GitRepos/black/tests/data/class_blank_parentheses.py +58 -0
- package/GitRepos/black/tests/data/class_methods_new_line.py +270 -0
- package/GitRepos/black/tests/data/collections.py +174 -0
- package/GitRepos/black/tests/data/comment_after_escaped_newline.py +18 -0
- package/GitRepos/black/tests/data/comments.py +96 -0
- package/GitRepos/black/tests/data/comments2.py +342 -0
- package/GitRepos/black/tests/data/comments3.py +47 -0
- package/GitRepos/black/tests/data/comments4.py +94 -0
- package/GitRepos/black/tests/data/comments5.py +71 -0
- package/GitRepos/black/tests/data/comments6.py +118 -0
- package/GitRepos/black/tests/data/comments7.py +271 -0
- package/GitRepos/black/tests/data/comments_non_breaking_space.py +44 -0
- package/GitRepos/black/tests/data/composition.py +181 -0
- package/GitRepos/black/tests/data/composition_no_trailing_comma.py +367 -0
- package/GitRepos/black/tests/data/debug_visitor.out +810 -0
- package/GitRepos/black/tests/data/debug_visitor.py +32 -0
- package/GitRepos/black/tests/data/decorators.py +182 -0
- package/GitRepos/black/tests/data/docstring.py +377 -0
- package/GitRepos/black/tests/data/docstring_no_string_normalization.py +249 -0
- package/GitRepos/black/tests/data/empty_lines.py +187 -0
- package/GitRepos/black/tests/data/empty_pyproject.toml +2 -0
- package/GitRepos/black/tests/data/expression.diff +447 -0
- package/GitRepos/black/tests/data/expression.py +630 -0
- package/GitRepos/black/tests/data/expression_skip_magic_trailing_comma.diff +428 -0
- package/GitRepos/black/tests/data/fmtonoff.py +413 -0
- package/GitRepos/black/tests/data/fmtonoff2.py +40 -0
- package/GitRepos/black/tests/data/fmtonoff3.py +35 -0
- package/GitRepos/black/tests/data/fmtonoff4.py +36 -0
- package/GitRepos/black/tests/data/fmtskip.py +3 -0
- package/GitRepos/black/tests/data/fmtskip2.py +17 -0
- package/GitRepos/black/tests/data/fmtskip3.py +20 -0
- package/GitRepos/black/tests/data/fmtskip4.py +13 -0
- package/GitRepos/black/tests/data/fmtskip5.py +22 -0
- package/GitRepos/black/tests/data/force_py36.py +16 -0
- package/GitRepos/black/tests/data/force_pyi.py +65 -0
- package/GitRepos/black/tests/data/fstring.py +21 -0
- package/GitRepos/black/tests/data/function.py +247 -0
- package/GitRepos/black/tests/data/function2.py +58 -0
- package/GitRepos/black/tests/data/function_trailing_comma.py +88 -0
- package/GitRepos/black/tests/data/import_spacing.py +118 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/.definitely_exclude/a.pie +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/.definitely_exclude/a.py +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/.definitely_exclude/a.pyi +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/dont_exclude/a.pie +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/dont_exclude/a.py +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/dont_exclude/a.pyi +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/exclude/a.pie +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/exclude/a.py +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/b/exclude/a.pyi +0 -0
- package/GitRepos/black/tests/data/include_exclude_tests/pyproject.toml +3 -0
- package/GitRepos/black/tests/data/long_strings.py +589 -0
- package/GitRepos/black/tests/data/long_strings__edge_case.py +110 -0
- package/GitRepos/black/tests/data/long_strings__regression.py +888 -0
- package/GitRepos/black/tests/data/long_strings_flag_disabled.py +289 -0
- package/GitRepos/black/tests/data/missing_final_newline.diff +8 -0
- package/GitRepos/black/tests/data/missing_final_newline.py +3 -0
- package/GitRepos/black/tests/data/nested_gitignore_tests/pyproject.toml +3 -0
- package/GitRepos/black/tests/data/nested_gitignore_tests/root/b.py +1 -0
- package/GitRepos/black/tests/data/nested_gitignore_tests/root/c.py +1 -0
- package/GitRepos/black/tests/data/nested_gitignore_tests/root/child/c.py +1 -0
- package/GitRepos/black/tests/data/nested_gitignore_tests/x.py +0 -0
- package/GitRepos/black/tests/data/numeric_literals.py +44 -0
- package/GitRepos/black/tests/data/numeric_literals_py2.py +16 -0
- package/GitRepos/black/tests/data/numeric_literals_skip_underscores.py +23 -0
- package/GitRepos/black/tests/data/pep_570.py +44 -0
- package/GitRepos/black/tests/data/pep_572.py +47 -0
- package/GitRepos/black/tests/data/pep_572_do_not_remove_parens.py +21 -0
- package/GitRepos/black/tests/data/pep_572_remove_parens.py +105 -0
- package/GitRepos/black/tests/data/percent_precedence.py +41 -0
- package/GitRepos/black/tests/data/python2.py +33 -0
- package/GitRepos/black/tests/data/python2_print_function.py +16 -0
- package/GitRepos/black/tests/data/python2_unicode_literals.py +20 -0
- package/GitRepos/black/tests/data/python37.py +65 -0
- package/GitRepos/black/tests/data/python38.py +45 -0
- package/GitRepos/black/tests/data/python39.py +37 -0
- package/GitRepos/black/tests/data/remove_parens.py +142 -0
- package/GitRepos/black/tests/data/slices.py +31 -0
- package/GitRepos/black/tests/data/string_prefixes.py +18 -0
- package/GitRepos/black/tests/data/string_quotes.py +102 -0
- package/GitRepos/black/tests/data/stub.pyi +35 -0
- package/GitRepos/black/tests/data/trailing_comma_optional_parens1.py +3 -0
- package/GitRepos/black/tests/data/trailing_comma_optional_parens2.py +3 -0
- package/GitRepos/black/tests/data/trailing_comma_optional_parens3.py +8 -0
- package/GitRepos/black/tests/data/tricky_unicode_symbols.py +6 -0
- package/GitRepos/black/tests/data/tupleassign.py +23 -0
- package/GitRepos/black/tests/empty.toml +1 -0
- package/GitRepos/black/tests/optional.py +119 -0
- package/GitRepos/black/tests/test.toml +10 -0
- package/GitRepos/black/tests/test_black.py +2100 -0
- package/GitRepos/black/tests/test_blackd.py +166 -0
- package/GitRepos/black/tests/test_format.py +144 -0
- package/GitRepos/black/tests/test_primer.py +217 -0
- package/GitRepos/black/tests/util.py +74 -0
- package/GitRepos/black/tox.ini +28 -0
- package/GitRepos/danger-static_analyzer_comments/.idea/inspectionProfiles/Project_Default.xml +6 -0
- package/GitRepos/danger-static_analyzer_comments/.idea/modules.xml +8 -0
- package/GitRepos/danger-static_analyzer_comments/Gemfile +3 -0
- package/GitRepos/danger-static_analyzer_comments/Gemfile.lock +141 -0
- package/GitRepos/danger-static_analyzer_comments/Guardfile +19 -0
- package/GitRepos/danger-static_analyzer_comments/LICENSE +21 -0
- package/GitRepos/danger-static_analyzer_comments/PLUGIN.gemspec.template.cpgz +0 -0
- package/GitRepos/danger-static_analyzer_comments/PLUGIN_LICENSE.txt +22 -0
- package/GitRepos/danger-static_analyzer_comments/PLUGIN_README.md +20 -0
- package/GitRepos/danger-static_analyzer_comments/README.md +2 -0
- package/GitRepos/danger-static_analyzer_comments/Rakefile +23 -0
- package/GitRepos/danger-static_analyzer_comments/configure +123 -0
- package/GitRepos/danger-static_analyzer_comments/danger-static_analyzer_comments.gemspec +49 -0
- package/GitRepos/danger-static_analyzer_comments/lib/danger_plugin.rb +73 -0
- package/GitRepos/danger-static_analyzer_comments/lib/version.rb +3 -0
- package/GitRepos/danger-static_analyzer_comments/spec/danger_static_analyzer_comments_spec.rb +23 -0
- package/GitRepos/danger-static_analyzer_comments/spec/spec_helper.rb +65 -0
- package/GitRepos/isort/.codecov.yml +10 -0
- package/GitRepos/isort/.coveragerc +20 -0
- package/GitRepos/isort/.cruft.json +17 -0
- package/GitRepos/isort/.deepsource.toml +18 -0
- package/GitRepos/isort/.dockerignore +17 -0
- package/GitRepos/isort/.editorconfig +19 -0
- package/GitRepos/isort/.github/FUNDING.yml +2 -0
- package/GitRepos/isort/.github/workflows/integration.yml +35 -0
- package/GitRepos/isort/.github/workflows/lint.yml +35 -0
- package/GitRepos/isort/.github/workflows/test.yml +64 -0
- package/GitRepos/isort/.isort.cfg +5 -0
- package/GitRepos/isort/.pre-commit-config.yaml +5 -0
- package/GitRepos/isort/.pre-commit-hooks.yaml +9 -0
- package/GitRepos/isort/CHANGELOG.md +522 -0
- package/GitRepos/isort/Dockerfile +26 -0
- package/GitRepos/isort/LICENSE +21 -0
- package/GitRepos/isort/MANIFEST.in +4 -0
- package/GitRepos/isort/README.md +355 -0
- package/GitRepos/isort/art/isort_loves_black.png +0 -0
- package/GitRepos/isort/art/logo.png +0 -0
- package/GitRepos/isort/art/logo.xcf +0 -0
- package/GitRepos/isort/art/logo_5.png +0 -0
- package/GitRepos/isort/art/logo_large.png +0 -0
- package/GitRepos/isort/art/logo_large.xcf +0 -0
- package/GitRepos/isort/art/stylesheets/extra.css +5 -0
- package/GitRepos/isort/docs/configuration/action_comments.md +108 -0
- package/GitRepos/isort/docs/configuration/add_or_remove_imports.md +28 -0
- package/GitRepos/isort/docs/configuration/black_compatibility.md +63 -0
- package/GitRepos/isort/docs/configuration/config_files.md +89 -0
- package/GitRepos/isort/docs/configuration/custom_sections_and_ordering.md +131 -0
- package/GitRepos/isort/docs/configuration/git_hook.md +34 -0
- package/GitRepos/isort/docs/configuration/github_action.md +63 -0
- package/GitRepos/isort/docs/configuration/multi_line_output_modes.md +121 -0
- package/GitRepos/isort/docs/configuration/options.md +1314 -0
- package/GitRepos/isort/docs/configuration/pre-commit.md +32 -0
- package/GitRepos/isort/docs/configuration/profiles.md +86 -0
- package/GitRepos/isort/docs/configuration/setuptools_integration.md +27 -0
- package/GitRepos/isort/docs/contributing/1.-contributing-guide.md +81 -0
- package/GitRepos/isort/docs/contributing/2.-coding-standard.md +57 -0
- package/GitRepos/isort/docs/contributing/3.-code-of-conduct.md +88 -0
- package/GitRepos/isort/docs/contributing/4.-acknowledgements.md +259 -0
- package/GitRepos/isort/docs/major_releases/introducing_isort_5.md +142 -0
- package/GitRepos/isort/docs/major_releases/release_policy.md +46 -0
- package/GitRepos/isort/docs/quick_start/0.-try.md +50 -0
- package/GitRepos/isort/docs/quick_start/1.-install.md +22 -0
- package/GitRepos/isort/docs/quick_start/2.-cli.md +43 -0
- package/GitRepos/isort/docs/quick_start/3.-api.md +22 -0
- package/GitRepos/isort/docs/quick_start/interactive.css +26 -0
- package/GitRepos/isort/docs/quick_start/interactive.js +55 -0
- package/GitRepos/isort/docs/quick_start/isort-5.0.0-py3-none-any.whl +0 -0
- package/GitRepos/isort/docs/quick_start/isort-5.0.1-py3-none-any.whl +0 -0
- package/GitRepos/isort/docs/upgrade_guides/5.0.0.md +97 -0
- package/GitRepos/isort/docs/warning_and_error_codes/W0500.md +22 -0
- package/GitRepos/isort/example.gif +0 -0
- package/GitRepos/isort/example_isort_formatting_plugin/example_isort_formatting_plugin.py +23 -0
- package/GitRepos/isort/example_isort_formatting_plugin/poetry.lock +173 -0
- package/GitRepos/isort/example_isort_formatting_plugin/pyproject.toml +20 -0
- package/GitRepos/isort/example_shared_isort_profile/example_shared_isort_profile.py +7 -0
- package/GitRepos/isort/example_shared_isort_profile/poetry.lock +7 -0
- package/GitRepos/isort/example_shared_isort_profile/pyproject.toml +18 -0
- package/GitRepos/isort/isort/__init__.py +19 -0
- package/GitRepos/isort/isort/__main__.py +3 -0
- package/GitRepos/isort/isort/_future/__init__.py +12 -0
- package/GitRepos/isort/isort/_future/_dataclasses.py +1209 -0
- package/GitRepos/isort/isort/_vendored/toml/LICENSE +27 -0
- package/GitRepos/isort/isort/_vendored/toml/__init__.py +23 -0
- package/GitRepos/isort/isort/_vendored/toml/decoder.py +1053 -0
- package/GitRepos/isort/isort/_vendored/toml/encoder.py +295 -0
- package/GitRepos/isort/isort/_vendored/toml/ordered.py +13 -0
- package/GitRepos/isort/isort/_vendored/toml/tz.py +21 -0
- package/GitRepos/isort/isort/_version.py +1 -0
- package/GitRepos/isort/isort/api.py +576 -0
- package/GitRepos/isort/isort/comments.py +32 -0
- package/GitRepos/isort/isort/core.py +455 -0
- package/GitRepos/isort/isort/deprecated/__init__.py +0 -0
- package/GitRepos/isort/isort/deprecated/finders.py +415 -0
- package/GitRepos/isort/isort/exceptions.py +180 -0
- package/GitRepos/isort/isort/files.py +41 -0
- package/GitRepos/isort/isort/format.py +150 -0
- package/GitRepos/isort/isort/hooks.py +86 -0
- package/GitRepos/isort/isort/identify.py +206 -0
- package/GitRepos/isort/isort/io.py +73 -0
- package/GitRepos/isort/isort/literal.py +109 -0
- package/GitRepos/isort/isort/logo.py +19 -0
- package/GitRepos/isort/isort/main.py +1230 -0
- package/GitRepos/isort/isort/output.py +634 -0
- package/GitRepos/isort/isort/parse.py +569 -0
- package/GitRepos/isort/isort/place.py +145 -0
- package/GitRepos/isort/isort/profiles.py +86 -0
- package/GitRepos/isort/isort/py.typed +0 -0
- package/GitRepos/isort/isort/pylama_isort.py +43 -0
- package/GitRepos/isort/isort/sections.py +9 -0
- package/GitRepos/isort/isort/settings.py +779 -0
- package/GitRepos/isort/isort/setuptools_commands.py +61 -0
- package/GitRepos/isort/isort/sorting.py +118 -0
- package/GitRepos/isort/isort/stdlibs/__init__.py +2 -0
- package/GitRepos/isort/isort/stdlibs/all.py +3 -0
- package/GitRepos/isort/isort/stdlibs/py2.py +3 -0
- package/GitRepos/isort/isort/stdlibs/py27.py +300 -0
- package/GitRepos/isort/isort/stdlibs/py3.py +3 -0
- package/GitRepos/isort/isort/stdlibs/py35.py +222 -0
- package/GitRepos/isort/isort/stdlibs/py36.py +223 -0
- package/GitRepos/isort/isort/stdlibs/py37.py +224 -0
- package/GitRepos/isort/isort/stdlibs/py38.py +223 -0
- package/GitRepos/isort/isort/stdlibs/py39.py +223 -0
- package/GitRepos/isort/isort/utils.py +16 -0
- package/GitRepos/isort/isort/wrap.py +139 -0
- package/GitRepos/isort/isort/wrap_modes.py +323 -0
- package/GitRepos/isort/logo.png +0 -0
- package/GitRepos/isort/mkdocs.yml +2 -0
- package/GitRepos/isort/poetry.lock +2472 -0
- package/GitRepos/isort/pyproject.toml +114 -0
- package/GitRepos/isort/rtd/index.md +6 -0
- package/GitRepos/isort/scripts/build_config_option_docs.py +214 -0
- package/GitRepos/isort/scripts/build_profile_docs.py +42 -0
- package/GitRepos/isort/scripts/check_acknowledgments.py +83 -0
- package/GitRepos/isort/scripts/clean.sh +7 -0
- package/GitRepos/isort/scripts/docker.sh +12 -0
- package/GitRepos/isort/scripts/done.sh +5 -0
- package/GitRepos/isort/scripts/lint.sh +11 -0
- package/GitRepos/isort/scripts/mkstdlibs.py +47 -0
- package/GitRepos/isort/scripts/test.sh +6 -0
- package/GitRepos/isort/scripts/test_integration.sh +4 -0
- package/GitRepos/isort/setup.cfg +28 -0
- package/GitRepos/isort/tests/__init__.py +0 -0
- package/GitRepos/isort/tests/integration/test_hypothesmith.py +96 -0
- package/GitRepos/isort/tests/integration/test_projects_using_isort.py +166 -0
- package/GitRepos/isort/tests/integration/test_setting_combinations.py +1869 -0
- package/GitRepos/isort/tests/unit/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/conftest.py +33 -0
- package/GitRepos/isort/tests/unit/example_crlf_file.py +10 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/almost-implicit/.isort.cfg +2 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/almost-implicit/root/nested/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/almost-implicit/root/nested/x.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/almost-implicit/root/y.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/implicit/.isort.cfg +2 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/implicit/root/nested/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/implicit/root/nested/x.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/none/.isort.cfg +2 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/none/root/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/none/root/nested/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkg_resource/.isort.cfg +2 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkg_resource/root/__init__.py +1 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkg_resource/root/nested/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkg_resource/root/nested/x.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkgutil/.isort.cfg +2 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkgutil/root/__init__.py +1 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkgutil/root/nested/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/example_projects/namespaces/pkgutil/root/nested/x.py +0 -0
- package/GitRepos/isort/tests/unit/profiles/__init__.py +0 -0
- package/GitRepos/isort/tests/unit/profiles/test_attrs.py +102 -0
- package/GitRepos/isort/tests/unit/profiles/test_black.py +370 -0
- package/GitRepos/isort/tests/unit/profiles/test_django.py +122 -0
- package/GitRepos/isort/tests/unit/profiles/test_google.py +413 -0
- package/GitRepos/isort/tests/unit/profiles/test_hug.py +112 -0
- package/GitRepos/isort/tests/unit/profiles/test_open_stack.py +134 -0
- package/GitRepos/isort/tests/unit/profiles/test_plone.py +75 -0
- package/GitRepos/isort/tests/unit/profiles/test_pycharm.py +55 -0
- package/GitRepos/isort/tests/unit/profiles/test_wemake.py +87 -0
- package/GitRepos/isort/tests/unit/test_action_comments.py +47 -0
- package/GitRepos/isort/tests/unit/test_api.py +108 -0
- package/GitRepos/isort/tests/unit/test_comments.py +34 -0
- package/GitRepos/isort/tests/unit/test_deprecated_finders.py +210 -0
- package/GitRepos/isort/tests/unit/test_exceptions.py +100 -0
- package/GitRepos/isort/tests/unit/test_files.py +8 -0
- package/GitRepos/isort/tests/unit/test_format.py +121 -0
- package/GitRepos/isort/tests/unit/test_hooks.py +101 -0
- package/GitRepos/isort/tests/unit/test_identify.py +274 -0
- package/GitRepos/isort/tests/unit/test_importable.py +42 -0
- package/GitRepos/isort/tests/unit/test_io.py +43 -0
- package/GitRepos/isort/tests/unit/test_isort.py +5166 -0
- package/GitRepos/isort/tests/unit/test_literal.py +37 -0
- package/GitRepos/isort/tests/unit/test_main.py +1087 -0
- package/GitRepos/isort/tests/unit/test_output.py +22 -0
- package/GitRepos/isort/tests/unit/test_parse.py +82 -0
- package/GitRepos/isort/tests/unit/test_place.py +56 -0
- package/GitRepos/isort/tests/unit/test_pylama_isort.py +24 -0
- package/GitRepos/isort/tests/unit/test_regressions.py +1653 -0
- package/GitRepos/isort/tests/unit/test_settings.py +229 -0
- package/GitRepos/isort/tests/unit/test_setuptools_command.py +31 -0
- package/GitRepos/isort/tests/unit/test_ticketed_features.py +1117 -0
- package/GitRepos/isort/tests/unit/test_wrap.py +15 -0
- package/GitRepos/isort/tests/unit/test_wrap_modes.py +587 -0
- package/GitRepos/isort/tests/unit/utils.py +14 -0
- package/GitRepos/kettle/LICENSE.txt +21 -0
- package/GitRepos/kettle/README.md +215 -0
- package/GitRepos/kettle/bin/kettle-skeleton.php +316 -0
- package/GitRepos/kettle/composer.json +33 -0
- package/GitRepos/kettle/src/kettle.php +1418 -0
- package/GitRepos/mirrors-autoflake/.pre-commit-hooks.yaml +5 -0
- package/GitRepos/mirrors-autoflake/.version +1 -0
- package/GitRepos/mirrors-autoflake/hooks.yaml +7 -0
- package/GitRepos/mirrors-autoflake/setup.py +8 -0
- package/GitRepos/razorpay-java/LICENSE.txt +8 -0
- package/GitRepos/razorpay-java/README.md +421 -0
- package/GitRepos/razorpay-java/pom.xml +153 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Addon.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/AddonClient.java +17 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/ApiClient.java +194 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/ApiUtils.java +179 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/BankTransfer.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Card.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/CardClient.java +12 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Constants.java +78 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/CustomTLSSocketFactory.java +75 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Customer.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/CustomerClient.java +36 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Entity.java +45 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Invoice.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/InvoiceClient.java +32 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Order.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/OrderClient.java +32 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Payment.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/PaymentClient.java +83 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Plan.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/PlanClient.java +28 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/RazorpayClient.java +45 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/RazorpayException.java +21 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Refund.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/RefundClient.java +28 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Reversal.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Subscription.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/SubscriptionClient.java +36 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Token.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Transfer.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/TransferClient.java +36 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/Utils.java +62 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/VirtualAccount.java +10 -0
- package/GitRepos/razorpay-java/src/main/java/com/razorpay/VirtualAccountClient.java +44 -0
- package/GitRepos/razorpay-java/src/main/resources/project.properties +1 -0
- package/GitRepos/react-data-grid/.babelrc +8 -0
- package/GitRepos/react-data-grid/.github/ISSUE_TEMPLATE.md +25 -0
- package/GitRepos/react-data-grid/.github/PULL_REQUEST_TEMPLATE.md +38 -0
- package/GitRepos/react-data-grid/LICENSE +24 -0
- package/GitRepos/react-data-grid/README.md +82 -0
- package/GitRepos/react-data-grid/addons.js +1 -0
- package/GitRepos/react-data-grid/docs/api/docs.json +6685 -0
- package/GitRepos/react-data-grid/docs/markdowns/AdvancedToolbar.md +17 -0
- package/GitRepos/react-data-grid/docs/markdowns/AutoCompleteEditor.md +68 -0
- package/GitRepos/react-data-grid/docs/markdowns/AutoCompleteFilter.md +22 -0
- package/GitRepos/react-data-grid/docs/markdowns/AutoCompleteTokensEditor.md +22 -0
- package/GitRepos/react-data-grid/docs/markdowns/Canvas.md +126 -0
- package/GitRepos/react-data-grid/docs/markdowns/Cell.md +101 -0
- package/GitRepos/react-data-grid/docs/markdowns/CheckboxEditor.md +27 -0
- package/GitRepos/react-data-grid/docs/markdowns/ContextMenu.md +12 -0
- package/GitRepos/react-data-grid/docs/markdowns/DateRangeEditor.md +24 -0
- package/GitRepos/react-data-grid/docs/markdowns/DateRangeFilter.md +42 -0
- package/GitRepos/react-data-grid/docs/markdowns/DateRangeFormatter.md +25 -0
- package/GitRepos/react-data-grid/docs/markdowns/DragDropContainer.md +17 -0
- package/GitRepos/react-data-grid/docs/markdowns/Draggable.md +30 -0
- package/GitRepos/react-data-grid/docs/markdowns/DraggableHeaderCell.md +22 -0
- package/GitRepos/react-data-grid/docs/markdowns/DropDownEditor.md +12 -0
- package/GitRepos/react-data-grid/docs/markdowns/DropDownFormatter.md +17 -0
- package/GitRepos/react-data-grid/docs/markdowns/EditorBase.md +32 -0
- package/GitRepos/react-data-grid/docs/markdowns/EditorContainer.md +37 -0
- package/GitRepos/react-data-grid/docs/markdowns/FilterableHeaderCell.md +17 -0
- package/GitRepos/react-data-grid/docs/markdowns/Grid.md +169 -0
- package/GitRepos/react-data-grid/docs/markdowns/GroupedColumnButton.md +17 -0
- package/GitRepos/react-data-grid/docs/markdowns/GroupedColumnsPanel.md +44 -0
- package/GitRepos/react-data-grid/docs/markdowns/Header.md +62 -0
- package/GitRepos/react-data-grid/docs/markdowns/HeaderCell.md +40 -0
- package/GitRepos/react-data-grid/docs/markdowns/HeaderRow.md +92 -0
- package/GitRepos/react-data-grid/docs/markdowns/ImageFormatter.md +12 -0
- package/GitRepos/react-data-grid/docs/markdowns/MenuHeader.md +12 -0
- package/GitRepos/react-data-grid/docs/markdowns/NumericFilter.md +17 -0
- package/GitRepos/react-data-grid/docs/markdowns/ReactDataGrid.md +209 -0
- package/GitRepos/react-data-grid/docs/markdowns/Row.md +70 -0
- package/GitRepos/react-data-grid/docs/markdowns/RowActionsCell.md +53 -0
- package/GitRepos/react-data-grid/docs/markdowns/RowDragLayer.md +42 -0
- package/GitRepos/react-data-grid/docs/markdowns/RowGroup.md +57 -0
- package/GitRepos/react-data-grid/docs/markdowns/SimpleCellFormatter.md +12 -0
- package/GitRepos/react-data-grid/docs/markdowns/SortableHeaderCell.md +27 -0
- package/GitRepos/react-data-grid/docs/markdowns/Toolbar.md +44 -0
- package/GitRepos/react-data-grid/docs/markdowns/Viewport.md +102 -0
- package/GitRepos/react-data-grid/docs/readme.md +38 -0
- package/GitRepos/react-data-grid/docs/utils/generalUtils.js +50 -0
- package/GitRepos/react-data-grid/docs/utils/generateMarkdown.js +74 -0
- package/GitRepos/react-data-grid/index.js +1 -0
- package/GitRepos/react-data-grid/package.json +120 -0
- package/GitRepos/react-data-grid/themes/DragColumn.PNG +0 -0
- package/GitRepos/react-data-grid/themes/daterangepicker-bs3.css +284 -0
- package/GitRepos/react-data-grid/themes/drag_column_full.PNG +0 -0
- package/GitRepos/react-data-grid/themes/react-data-grid.css +961 -0
- package/GitRepos/react-data-grid/themes/react-data-grid.less +629 -0
- package/Kali +0 -0
- package/MobSF/.dockerignore +26 -0
- package/MobSF/.github/CODE_OF_CONDUCT.md +46 -0
- package/MobSF/.github/CONTRIBUTING.md +131 -0
- package/MobSF/.github/FUNDING.yml +3 -0
- package/MobSF/.github/ISSUE_TEMPLATE/bug_report.md +54 -0
- package/MobSF/.github/ISSUE_TEMPLATE/feature_request.md +22 -0
- package/MobSF/.github/PULL_REQUEST_TEMPLATE.md +20 -0
- package/MobSF/.github/SECURITY.md +21 -0
- package/MobSF/.github/SUPPORT.md +1 -0
- package/MobSF/.github/workflows/auto-comment.yml +22 -0
- package/MobSF/.github/workflows/docker-build.yml +35 -0
- package/MobSF/.github/workflows/mobsf_test.yml +58 -0
- package/MobSF/.github/workflows/python-publish.yml +28 -0
- package/MobSF/.gitmodules +3 -0
- package/MobSF/.pyup.yml +27 -0
- package/MobSF/.sonarcloud.properties +3 -0
- package/MobSF/Dockerfile +96 -0
- package/MobSF/LICENSE +675 -0
- package/MobSF/LICENSES/AdminLTE_theme.txt +8 -0
- package/MobSF/LICENSES/AntiEmulator.txt +660 -0
- package/MobSF/LICENSES/IP2LOCATION LITE DATA.txt +21 -0
- package/MobSF/LICENSES/Rootcloak.txt +13 -0
- package/MobSF/LICENSES/ac-pm_tools.txt +341 -0
- package/MobSF/LICENSES/androguard.txt +76 -0
- package/MobSF/LICENSES/backsmali.txt +29 -0
- package/MobSF/LICENSES/class-dump-z.txt +13 -0
- package/MobSF/LICENSES/droidmon.txt +624 -0
- package/MobSF/LICENSES/exodus-core.txt +661 -0
- package/MobSF/LICENSES/frida.txt +50 -0
- package/MobSF/LICENSES/ios_binary_analysis_rules.txt +28 -0
- package/MobSF/LICENSES/jadx.txt +202 -0
- package/MobSF/LICENSES/maltrail_blacklist.txt +21 -0
- package/MobSF/MANIFEST.in +12 -0
- package/MobSF/README.md +116 -0
- package/MobSF/docker-compose.yml +39 -0
- package/MobSF/manage.py +18 -0
- package/MobSF/mobsf/DynamicAnalyzer/__init__.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/admin.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/models.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tests.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/__init__.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/class_trace.js +126 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/get_loaded_classes.js +15 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/get_methods.js +22 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/search_class_pattern.js +55 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/string_catch.js +10 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/auxiliary/string_compare.js +15 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/default/api_monitor.js +572 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/default/debugger_check_bypass.js +8 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/default/root_bypass.js +260 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/default/ssl_pinning_bypass.js +255 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/aes_key.js +161 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/bypass_flag_secure.js +17 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/bypass_method.js +8 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/default.js +3 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/file_trace.js +455 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/get_android_id.js +9 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/helper.js +16 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/hook_constructor.js +7 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/hook_java_reflection.js +7 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/inputstream_dump.js +34 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/intent_dumper.js +21 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/jni_hook_by_address.js +28 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/jni_trace.js +42 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/frida_scripts/others/webview_enable_debugging.js +12 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/mobsf_agents/ClipDump.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/Xposed.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/XposedInstaller_3.1.5.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/hooks.json +389 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/AndroidBluePill.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/Droidmon.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/JustTrustMe.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/com.devadvance.rootcloak2_v18_c43b61.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/hooks.json +389 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/mobi.acpm.proxyon_v1_419b04.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/onDevice/xposed/modules/mobi.acpm.sslunpinning_v2_37f44f.apk +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/tools/webproxy.py +89 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/__init__.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/__init__.py +0 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/analysis.py +285 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/dynamic_analyzer.py +316 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/environment.py +698 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/frida_core.py +168 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/frida_scripts.py +65 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/frida_server_download.py +75 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/operations.py +299 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/report.py +179 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/tests_common.py +212 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/tests_frida.py +339 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/tests_tls.py +109 -0
- package/MobSF/mobsf/DynamicAnalyzer/views/android/tests_xposed.py +194 -0
- package/MobSF/mobsf/MalwareAnalyzer/__init__.py +0 -0
- package/MobSF/mobsf/MalwareAnalyzer/admin.py +0 -0
- package/MobSF/mobsf/MalwareAnalyzer/models.py +0 -0
- package/MobSF/mobsf/MalwareAnalyzer/tests.py +0 -0
- package/MobSF/mobsf/MalwareAnalyzer/views/MalwareDomainCheck.py +226 -0
- package/MobSF/mobsf/MalwareAnalyzer/views/Trackers.py +237 -0
- package/MobSF/mobsf/MalwareAnalyzer/views/VirusTotal.py +140 -0
- package/MobSF/mobsf/MalwareAnalyzer/views/__init__.py +0 -0
- package/MobSF/mobsf/MalwareAnalyzer/views/apkid.py +61 -0
- package/MobSF/mobsf/MalwareAnalyzer/views/quark.py +145 -0
- package/MobSF/mobsf/MobSF/__init__.py +0 -0
- package/MobSF/mobsf/MobSF/forms.py +36 -0
- package/MobSF/mobsf/MobSF/init.py +143 -0
- package/MobSF/mobsf/MobSF/models.py +0 -0
- package/MobSF/mobsf/MobSF/settings.py +411 -0
- package/MobSF/mobsf/MobSF/urls.py +145 -0
- package/MobSF/mobsf/MobSF/utils.py +598 -0
- package/MobSF/mobsf/MobSF/views/__init__.py +0 -0
- package/MobSF/mobsf/MobSF/views/api/__init__.py +0 -0
- package/MobSF/mobsf/MobSF/views/api/api_dynamic_analysis.py +278 -0
- package/MobSF/mobsf/MobSF/views/api/api_middleware.py +47 -0
- package/MobSF/mobsf/MobSF/views/api/api_static_analysis.py +186 -0
- package/MobSF/mobsf/MobSF/views/apk_downloader.py +163 -0
- package/MobSF/mobsf/MobSF/views/helpers.py +94 -0
- package/MobSF/mobsf/MobSF/views/home.py +350 -0
- package/MobSF/mobsf/MobSF/views/scanning.py +149 -0
- package/MobSF/mobsf/MobSF/wsgi.py +24 -0
- package/MobSF/mobsf/StaticAnalyzer/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/admin.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/forms.py +92 -0
- package/MobSF/mobsf/StaticAnalyzer/models.py +123 -0
- package/MobSF/mobsf/StaticAnalyzer/tests.py +425 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/apktool_2.5.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/baksmali-2.5.2.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/ios/class-dump +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/ios/class-dump-swift +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/ios/jtool.ELF64 +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/LICENSE +201 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/NOTICE +213 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/README.md +125 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/bin/jadx +185 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/bin/jadx-gui +185 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/bin/jadx-gui.bat +89 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/bin/jadx.bat +89 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/android-29-clst.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/android-29-res.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/antlr-2.7.7.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/antlr-runtime-3.5.2.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/apksig-4.0.1.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/asm-8.0.1.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/baksmali-2.4.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/checker-qual-2.11.1.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/commons-lang3-3.11.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/commons-text-1.9.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/dexlib2-2.4.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/dx-1.16.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/error_prone_annotations-2.3.4.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/failureaccess-1.0.1.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/gson-2.8.6.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/guava-29.0-jre.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/image-viewer-1.2.3.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/j2objc-annotations-1.3.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-cli-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-core-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-dex-input-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-gui-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-java-convert-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-plugins-api-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jadx-smali-input-1.2.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jcommander-1.80.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jfontchooser-1.0.5.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/jsr305-3.0.2.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/logback-classic-1.2.3.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/logback-core-1.2.3.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/reactive-streams-1.0.3.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/rsyntaxtextarea-3.1.1.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/rxjava-2.2.19.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/rxjava2-swing-0.3.7.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/slf4j-api-1.7.30.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/smali-2.4.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/stringtemplate-3.2.1.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/jadx/lib/util-2.4.0.jar +0 -0
- package/MobSF/mobsf/StaticAnalyzer/tools/strings.py +24 -0
- package/MobSF/mobsf/StaticAnalyzer/views/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/android_manifest_desc.py +747 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/binary_analysis.py +255 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/cert_analysis.py +160 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/code_analysis.py +96 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/converter.py +97 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/db_interaction.py +217 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/dvm_permissions.py +278 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/find.py +75 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/generate_downloads.py +53 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/icon_analysis.py +134 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/manifest_analysis.py +908 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/manifest_view.py +64 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/network_security.py +243 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/playstore.py +76 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/rules/android_apis.yaml +425 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/rules/android_niap.yaml +356 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/rules/android_rules.yaml +683 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/source_tree.py +79 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/static_analyzer.py +660 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/strings.py +64 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/view_source.py +78 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/win_fixes.py +53 -0
- package/MobSF/mobsf/StaticAnalyzer/views/android/xapk.py +57 -0
- package/MobSF/mobsf/StaticAnalyzer/views/comparer.py +234 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/app_transport_security.py +222 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/appstore.py +54 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/binary_analysis.py +119 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/binary_rule_matcher.py +58 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/classdump.py +112 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/code_analysis.py +103 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/db_interaction.py +177 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/file_analysis.py +85 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/file_recon.py +63 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/icon_analysis.py +73 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/macho_analysis.py +255 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/permission_analysis.py +90 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/plist_analysis.py +150 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/rules/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/rules/ios_apis.yaml +85 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/rules/ipa_rules.py +226 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/rules/objective_c_rules.yaml +355 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/rules/swift_rules.yaml +461 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/static_analyzer.py +282 -0
- package/MobSF/mobsf/StaticAnalyzer/views/ios/view_source.py +155 -0
- package/MobSF/mobsf/StaticAnalyzer/views/sast_engine.py +71 -0
- package/MobSF/mobsf/StaticAnalyzer/views/shared_func.py +424 -0
- package/MobSF/mobsf/StaticAnalyzer/views/windows/__init__.py +0 -0
- package/MobSF/mobsf/StaticAnalyzer/views/windows/db_interaction.py +130 -0
- package/MobSF/mobsf/StaticAnalyzer/views/windows/windows.py +590 -0
- package/MobSF/mobsf/__init__.py +0 -0
- package/MobSF/mobsf/__main__.py +49 -0
- package/MobSF/mobsf/install/__init__.py +0 -0
- package/MobSF/mobsf/install/windows/__init__.py +0 -0
- package/MobSF/mobsf/install/windows/config.txt +26 -0
- package/MobSF/mobsf/install/windows/readme.md +43 -0
- package/MobSF/mobsf/install/windows/rpc_client.py +191 -0
- package/MobSF/mobsf/install/windows/setup.py +433 -0
- package/MobSF/mobsf/signatures/IP2LOCATION-LITE-DB5.IPV6.BIN +0 -0
- package/MobSF/mobsf/signatures/exodus_trackers +1 -0
- package/MobSF/mobsf/signatures/maltrail-malware-domains.txt +157958 -0
- package/MobSF/mobsf/signatures/malwaredomainlist +2256 -0
- package/MobSF/mobsf/static/adminlte/dashboard/css/adminlte.min.css +12 -0
- package/MobSF/mobsf/static/adminlte/dashboard/css/adminlte.min.css.map +1 -0
- package/MobSF/mobsf/static/adminlte/dashboard/js/adminlte.min.js +7 -0
- package/MobSF/mobsf/static/adminlte/dashboard/js/adminlte.min.js.map +1 -0
- package/MobSF/mobsf/static/adminlte/plugins/bootstrap/bootstrap.bundle.min.js +7 -0
- package/MobSF/mobsf/static/adminlte/plugins/bootstrap/bootstrap.bundle.min.js.map +1 -0
- package/MobSF/mobsf/static/adminlte/plugins/datatables/jquery.dataTables.min.js +166 -0
- package/MobSF/mobsf/static/adminlte/plugins/datatables-bs4/dataTables.bootstrap4.min.css +1 -0
- package/MobSF/mobsf/static/adminlte/plugins/datatables-bs4/dataTables.bootstrap4.min.js +8 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/all.css +4423 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/all.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/brands.css +14 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/brands.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/fontawesome.css +4390 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/fontawesome.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/regular.css +15 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/regular.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/solid.css +16 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/solid.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/svg-with-js.css +371 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/svg-with-js.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/v4-shims.css +2166 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/css/v4-shims.min.css +5 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-brands-400.eot +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-brands-400.svg +3496 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-brands-400.woff +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-regular-400.eot +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-regular-400.svg +803 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-regular-400.woff +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-solid-900.eot +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-solid-900.svg +4667 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-solid-900.woff +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/MobSF/mobsf/static/adminlte/plugins/jquery-ui.min.js +13 -0
- package/MobSF/mobsf/static/adminlte/plugins/jquery.min.js +2 -0
- package/MobSF/mobsf/static/adminlte/plugins/overlayScrollbars/css/OverlayScrollbars.min.css +13 -0
- package/MobSF/mobsf/static/adminlte/plugins/overlayScrollbars/js/jquery.overlayScrollbars.min.js +13 -0
- package/MobSF/mobsf/static/adminlte/plugins/sweetalert2/sweetalert2.min.css +1 -0
- package/MobSF/mobsf/static/adminlte/plugins/sweetalert2/sweetalert2.min.js +1 -0
- package/MobSF/mobsf/static/amcharts/animated.js +1 -0
- package/MobSF/mobsf/static/amcharts/core.js +1 -0
- package/MobSF/mobsf/static/amcharts/maps.js +1 -0
- package/MobSF/mobsf/static/amcharts/worldIndiaLow.js +20 -0
- package/MobSF/mobsf/static/codemirror/codemirror.css +350 -0
- package/MobSF/mobsf/static/codemirror/codemirror.js +9803 -0
- package/MobSF/mobsf/static/codemirror/javascript-lint.js +65 -0
- package/MobSF/mobsf/static/codemirror/javascript.js +945 -0
- package/MobSF/mobsf/static/codemirror/jshint.js +29591 -0
- package/MobSF/mobsf/static/codemirror/lint.css +71 -0
- package/MobSF/mobsf/static/codemirror/lint.js +259 -0
- package/MobSF/mobsf/static/enlighterjs/enlighterjs.enlighter.min.css +3 -0
- package/MobSF/mobsf/static/enlighterjs/enlighterjs.min.css +15 -0
- package/MobSF/mobsf/static/enlighterjs/enlighterjs.min.js +3 -0
- package/MobSF/mobsf/static/fonts/Open_Sans/LICENSE.txt +202 -0
- package/MobSF/mobsf/static/fonts/Open_Sans/OpenSans-Regular.ttf +0 -0
- package/MobSF/mobsf/static/fonts/Oswald/OFL.txt +93 -0
- package/MobSF/mobsf/static/fonts/Oswald/Oswald-Regular.ttf +0 -0
- package/MobSF/mobsf/static/img/favicon.ico +0 -0
- package/MobSF/mobsf/static/img/loading.jpg +0 -0
- package/MobSF/mobsf/static/img/mobsf_icon.png +0 -0
- package/MobSF/mobsf/static/img/mobsf_logo.png +0 -0
- package/MobSF/mobsf/static/img/no_icon.png +0 -0
- package/MobSF/mobsf/static/jsTree/custom.css +114 -0
- package/MobSF/mobsf/static/jsTree/jstree.min.js +6 -0
- package/MobSF/mobsf/static/jsTree/themes/default/32px.png +0 -0
- package/MobSF/mobsf/static/jsTree/themes/default/40px.png +0 -0
- package/MobSF/mobsf/static/jsTree/themes/default/content_background.gif +0 -0
- package/MobSF/mobsf/static/jsTree/themes/default/dir.gif +0 -0
- package/MobSF/mobsf/static/jsTree/themes/default/file.png +0 -0
- package/MobSF/mobsf/static/jsTree/themes/default/style.min.css +1 -0
- package/MobSF/mobsf/static/jsTree/themes/default/throbber.gif +0 -0
- package/MobSF/mobsf/static/landing/css/home.css +310 -0
- package/MobSF/mobsf/static/others/css/devices.min.css +1 -0
- package/MobSF/mobsf/static/others/css/pdf_report.css +123 -0
- package/MobSF/mobsf/static/others/css/spinner.css +168 -0
- package/MobSF/mobsf/static/others/css/terminal.css +79 -0
- package/MobSF/mobsf/static/others/css/xcode.min.css +1 -0
- package/MobSF/mobsf/static/terminal/terminal.css +79 -0
- package/MobSF/mobsf/templates/base/base_layout.html +123 -0
- package/MobSF/mobsf/templates/dynamic_analysis/android/dynamic_analyzer.html +1064 -0
- package/MobSF/mobsf/templates/dynamic_analysis/android/dynamic_report.html +1017 -0
- package/MobSF/mobsf/templates/dynamic_analysis/android/frida_logs.html +48 -0
- package/MobSF/mobsf/templates/dynamic_analysis/android/live_api.html +103 -0
- package/MobSF/mobsf/templates/dynamic_analysis/android/logcat.html +56 -0
- package/MobSF/mobsf/templates/dynamic_analysis/dynamic_analysis.html +328 -0
- package/MobSF/mobsf/templates/general/about.html +30 -0
- package/MobSF/mobsf/templates/general/apidocs.html +2201 -0
- package/MobSF/mobsf/templates/general/error.html +23 -0
- package/MobSF/mobsf/templates/general/home.html +298 -0
- package/MobSF/mobsf/templates/general/not_found.html +22 -0
- package/MobSF/mobsf/templates/general/recent.html +254 -0
- package/MobSF/mobsf/templates/general/search.html +35 -0
- package/MobSF/mobsf/templates/general/view.html +124 -0
- package/MobSF/mobsf/templates/general/zip.html +31 -0
- package/MobSF/mobsf/templates/pdf/android_report.html +930 -0
- package/MobSF/mobsf/templates/pdf/ios_report.html +760 -0
- package/MobSF/mobsf/templates/pdf/windows_report.html +211 -0
- package/MobSF/mobsf/templates/static_analysis/android_binary_analysis.html +2006 -0
- package/MobSF/mobsf/templates/static_analysis/android_source_analysis.html +1502 -0
- package/MobSF/mobsf/templates/static_analysis/compare.html +917 -0
- package/MobSF/mobsf/templates/static_analysis/ios_binary_analysis.html +1299 -0
- package/MobSF/mobsf/templates/static_analysis/ios_source_analysis.html +1125 -0
- package/MobSF/mobsf/templates/static_analysis/source_tree.html +332 -0
- package/MobSF/mobsf/templates/static_analysis/treeview_file.html +1 -0
- package/MobSF/mobsf/templates/static_analysis/treeview_folder.html +5 -0
- package/MobSF/mobsf/templates/static_analysis/windows_binary_analysis.html +411 -0
- package/MobSF/requirements.txt +30 -0
- package/MobSF/run.bat +19 -0
- package/MobSF/run.sh +48 -0
- package/MobSF/scripts/__init__.py +0 -0
- package/MobSF/scripts/check_install.py +28 -0
- package/MobSF/scripts/clean.bat +31 -0
- package/MobSF/scripts/clean.sh +43 -0
- package/MobSF/scripts/entrypoint.sh +8 -0
- package/MobSF/scripts/install_java_wkhtmltopdf.sh +33 -0
- package/MobSF/scripts/mass_static_analysis.py +95 -0
- package/MobSF/scripts/postgres_support.sh +11 -0
- package/MobSF/scripts/stack/docker-compose.yml +15 -0
- package/MobSF/scripts/update_android_permissions.py +46 -0
- package/MobSF/setup.bat +81 -0
- package/MobSF/setup.py +61 -0
- package/MobSF/setup.sh +76 -0
- package/MobSF/tox.ini +94 -0
- package/Notes/AWS Security.pdf +0 -0
- package/Notes/Android Security.pdf +0 -0
- package/Notes/Web Security.pdf +0 -0
- package/Screenshot 2022-03-10 at 11.57.37 AM.png +0 -0
- package/Security Bug Demo.mov +0 -0
- package/Security Review.mov +0 -0
- package/Templates/CRLF.txt +61 -0
- package/Templates/cors.html +26 -0
- package/Templates/openredirect.txt +860 -0
- package/Templates/secrets.py +102 -0
- package/Templates/vhost.txt +174 -0
- package/Templates/wordlist.txt +6038 -0
- package/Templates/xss.txt +2691 -0
- package/cloneall.sh +26 -0
- package/index.js +46 -0
- package/meesecops/.dockerignore +6 -0
- package/meesecops/Dockerfile +15 -0
- package/meesecops/LICENSE +201 -0
- package/meesecops/README.md +2 -0
- package/meesecops/README_secops.md +206 -0
- package/meesecops/Workflows/1-factor.png +0 -0
- package/meesecops/Workflows/2-factor.png +0 -0
- package/meesecops/__init__.py +0 -0
- package/meesecops/application/__init__.py +23 -0
- package/meesecops/application/jira_functions.py +554 -0
- package/meesecops/application/static/css/close_style.css +151 -0
- package/meesecops/application/static/css/style.css +358 -0
- package/meesecops/application/static/external/1.16.0.popper.min.js +5 -0
- package/meesecops/application/static/external/bootstrap.min.css +5 -0
- package/meesecops/application/static/external/bootstrap.min.js +7 -0
- package/meesecops/application/static/external/css.css +48 -0
- package/meesecops/application/static/external/index.js +607 -0
- package/meesecops/application/static/external/jquery-1.12.4.js +11008 -0
- package/meesecops/application/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- package/meesecops/application/static/fonts/hacked.woff +0 -0
- package/meesecops/application/static/images/ajax-loader.gif +0 -0
- package/meesecops/application/static/images/favicon.png +0 -0
- package/meesecops/application/static/images/glogin.png +0 -0
- package/meesecops/application/static/images/logo3.png +0 -0
- package/meesecops/application/static/images/sort_asc.png +0 -0
- package/meesecops/application/static/images/sort_both.png +0 -0
- package/meesecops/application/static/images/sort_desc.png +0 -0
- package/meesecops/application/static/options.json +62 -0
- package/meesecops/application/static/request_options.json +721 -0
- package/meesecops/application/static/robots.txt +2 -0
- package/meesecops/application/templates/close_tickets.html +261 -0
- package/meesecops/application/templates/footer.html +15 -0
- package/meesecops/application/templates/index.html +337 -0
- package/meesecops/application/templates/login.html +50 -0
- package/meesecops/application/templates/nav.html +63 -0
- package/meesecops/application/templates/new_secreview.html +92 -0
- package/meesecops/application/templates/search_tickets.html +77 -0
- package/meesecops/application/templates/security_updates.html +82 -0
- package/meesecops/application/views.py +536 -0
- package/meesecops/config.py +206 -0
- package/meesecops/logs/README.txt +1 -0
- package/meesecops/logs/access_log +0 -0
- package/meesecops/requirements.txt +32 -0
- package/meesecops/run.py +100 -0
- package/meesecops/screenshot/1.png +0 -0
- package/meesecops/screenshot/2.png +0 -0
- package/meesecops/screenshot/3.png +0 -0
- package/meesecops/screenshot/4-1.png +0 -0
- package/meesecops/screenshot/4.png +0 -0
- package/meesecops/screenshot/5.png +0 -0
- package/meesecops/screenshot/6.png +0 -0
- package/meesecops/screenshot/7.png +0 -0
- package/meesecops/ssl/README.txt +1 -0
- package/package.json +11 -0
- package/prod.pem +27 -0
- package/test1.py +133 -0
@@ -0,0 +1,150 @@
|
|
1
|
+
import re
|
2
|
+
import sys
|
3
|
+
from datetime import datetime
|
4
|
+
from difflib import unified_diff
|
5
|
+
from pathlib import Path
|
6
|
+
from typing import Optional, TextIO
|
7
|
+
|
8
|
+
try:
|
9
|
+
import colorama
|
10
|
+
except ImportError:
|
11
|
+
colorama_unavailable = True
|
12
|
+
else:
|
13
|
+
colorama_unavailable = False
|
14
|
+
colorama.init(strip=False)
|
15
|
+
|
16
|
+
|
17
|
+
ADDED_LINE_PATTERN = re.compile(r"\+[^+]")
|
18
|
+
REMOVED_LINE_PATTERN = re.compile(r"-[^-]")
|
19
|
+
|
20
|
+
|
21
|
+
def format_simplified(import_line: str) -> str:
|
22
|
+
import_line = import_line.strip()
|
23
|
+
if import_line.startswith("from "):
|
24
|
+
import_line = import_line.replace("from ", "")
|
25
|
+
import_line = import_line.replace(" import ", ".")
|
26
|
+
elif import_line.startswith("import "):
|
27
|
+
import_line = import_line.replace("import ", "")
|
28
|
+
|
29
|
+
return import_line
|
30
|
+
|
31
|
+
|
32
|
+
def format_natural(import_line: str) -> str:
|
33
|
+
import_line = import_line.strip()
|
34
|
+
if not import_line.startswith("from ") and not import_line.startswith("import "):
|
35
|
+
if "." not in import_line:
|
36
|
+
return f"import {import_line}"
|
37
|
+
parts = import_line.split(".")
|
38
|
+
end = parts.pop(-1)
|
39
|
+
return f"from {'.'.join(parts)} import {end}"
|
40
|
+
|
41
|
+
return import_line
|
42
|
+
|
43
|
+
|
44
|
+
def show_unified_diff(
|
45
|
+
*,
|
46
|
+
file_input: str,
|
47
|
+
file_output: str,
|
48
|
+
file_path: Optional[Path],
|
49
|
+
output: Optional[TextIO] = None,
|
50
|
+
color_output: bool = False,
|
51
|
+
):
|
52
|
+
"""Shows a unified_diff for the provided input and output against the provided file path.
|
53
|
+
|
54
|
+
- **file_input**: A string that represents the contents of a file before changes.
|
55
|
+
- **file_output**: A string that represents the contents of a file after changes.
|
56
|
+
- **file_path**: A Path object that represents the file path of the file being changed.
|
57
|
+
- **output**: A stream to output the diff to. If non is provided uses sys.stdout.
|
58
|
+
- **color_output**: Use color in output if True.
|
59
|
+
"""
|
60
|
+
printer = create_terminal_printer(color_output, output)
|
61
|
+
file_name = "" if file_path is None else str(file_path)
|
62
|
+
file_mtime = str(
|
63
|
+
datetime.now() if file_path is None else datetime.fromtimestamp(file_path.stat().st_mtime)
|
64
|
+
)
|
65
|
+
unified_diff_lines = unified_diff(
|
66
|
+
file_input.splitlines(keepends=True),
|
67
|
+
file_output.splitlines(keepends=True),
|
68
|
+
fromfile=file_name + ":before",
|
69
|
+
tofile=file_name + ":after",
|
70
|
+
fromfiledate=file_mtime,
|
71
|
+
tofiledate=str(datetime.now()),
|
72
|
+
)
|
73
|
+
for line in unified_diff_lines:
|
74
|
+
printer.diff_line(line)
|
75
|
+
|
76
|
+
|
77
|
+
def ask_whether_to_apply_changes_to_file(file_path: str) -> bool:
|
78
|
+
answer = None
|
79
|
+
while answer not in ("yes", "y", "no", "n", "quit", "q"):
|
80
|
+
answer = input(f"Apply suggested changes to '{file_path}' [y/n/q]? ") # nosec
|
81
|
+
answer = answer.lower()
|
82
|
+
if answer in ("no", "n"):
|
83
|
+
return False
|
84
|
+
if answer in ("quit", "q"):
|
85
|
+
sys.exit(1)
|
86
|
+
return True
|
87
|
+
|
88
|
+
|
89
|
+
def remove_whitespace(content: str, line_separator: str = "\n") -> str:
|
90
|
+
content = content.replace(line_separator, "").replace(" ", "").replace("\x0c", "")
|
91
|
+
return content
|
92
|
+
|
93
|
+
|
94
|
+
class BasicPrinter:
|
95
|
+
ERROR = "ERROR"
|
96
|
+
SUCCESS = "SUCCESS"
|
97
|
+
|
98
|
+
def __init__(self, output: Optional[TextIO] = None):
|
99
|
+
self.output = output or sys.stdout
|
100
|
+
|
101
|
+
def success(self, message: str) -> None:
|
102
|
+
print(f"{self.SUCCESS}: {message}", file=self.output)
|
103
|
+
|
104
|
+
def error(self, message: str) -> None:
|
105
|
+
print(f"{self.ERROR}: {message}", file=sys.stderr)
|
106
|
+
|
107
|
+
def diff_line(self, line: str) -> None:
|
108
|
+
self.output.write(line)
|
109
|
+
|
110
|
+
|
111
|
+
class ColoramaPrinter(BasicPrinter):
|
112
|
+
def __init__(self, output: Optional[TextIO] = None):
|
113
|
+
super().__init__(output=output)
|
114
|
+
|
115
|
+
# Note: this constants are instance variables instead ofs class variables
|
116
|
+
# because they refer to colorama which might not be installed.
|
117
|
+
self.ERROR = self.style_text("ERROR", colorama.Fore.RED)
|
118
|
+
self.SUCCESS = self.style_text("SUCCESS", colorama.Fore.GREEN)
|
119
|
+
self.ADDED_LINE = colorama.Fore.GREEN
|
120
|
+
self.REMOVED_LINE = colorama.Fore.RED
|
121
|
+
|
122
|
+
@staticmethod
|
123
|
+
def style_text(text: str, style: Optional[str] = None) -> str:
|
124
|
+
if style is None:
|
125
|
+
return text
|
126
|
+
return style + text + colorama.Style.RESET_ALL
|
127
|
+
|
128
|
+
def diff_line(self, line: str) -> None:
|
129
|
+
style = None
|
130
|
+
if re.match(ADDED_LINE_PATTERN, line):
|
131
|
+
style = self.ADDED_LINE
|
132
|
+
elif re.match(REMOVED_LINE_PATTERN, line):
|
133
|
+
style = self.REMOVED_LINE
|
134
|
+
self.output.write(self.style_text(line, style))
|
135
|
+
|
136
|
+
|
137
|
+
def create_terminal_printer(color: bool, output: Optional[TextIO] = None):
|
138
|
+
if color and colorama_unavailable:
|
139
|
+
no_colorama_message = (
|
140
|
+
"\n"
|
141
|
+
"Sorry, but to use --color (color_output) the colorama python package is required.\n\n"
|
142
|
+
"Reference: https://pypi.org/project/colorama/\n\n"
|
143
|
+
"You can either install it separately on your system or as the colors extra "
|
144
|
+
"for isort. Ex: \n\n"
|
145
|
+
"$ pip install isort[colors]\n"
|
146
|
+
)
|
147
|
+
print(no_colorama_message, file=sys.stderr)
|
148
|
+
sys.exit(1)
|
149
|
+
|
150
|
+
return ColoramaPrinter(output) if color else BasicPrinter(output)
|
@@ -0,0 +1,86 @@
|
|
1
|
+
"""Defines a git hook to allow pre-commit warnings and errors about import order.
|
2
|
+
|
3
|
+
usage:
|
4
|
+
exit_code = git_hook(strict=True|False, modify=True|False)
|
5
|
+
"""
|
6
|
+
import os
|
7
|
+
import subprocess # nosec - Needed for hook
|
8
|
+
from pathlib import Path
|
9
|
+
from typing import List
|
10
|
+
|
11
|
+
from isort import Config, api, exceptions
|
12
|
+
|
13
|
+
|
14
|
+
def get_output(command: List[str]) -> str:
|
15
|
+
"""Run a command and return raw output
|
16
|
+
|
17
|
+
:param str command: the command to run
|
18
|
+
:returns: the stdout output of the command
|
19
|
+
"""
|
20
|
+
result = subprocess.run(command, stdout=subprocess.PIPE, check=True) # nosec - trusted input
|
21
|
+
return result.stdout.decode()
|
22
|
+
|
23
|
+
|
24
|
+
def get_lines(command: List[str]) -> List[str]:
|
25
|
+
"""Run a command and return lines of output
|
26
|
+
|
27
|
+
:param str command: the command to run
|
28
|
+
:returns: list of whitespace-stripped lines output by command
|
29
|
+
"""
|
30
|
+
stdout = get_output(command)
|
31
|
+
return [line.strip() for line in stdout.splitlines()]
|
32
|
+
|
33
|
+
|
34
|
+
def git_hook(
|
35
|
+
strict: bool = False, modify: bool = False, lazy: bool = False, settings_file: str = ""
|
36
|
+
) -> int:
|
37
|
+
"""Git pre-commit hook to check staged files for isort errors
|
38
|
+
|
39
|
+
:param bool strict - if True, return number of errors on exit,
|
40
|
+
causing the hook to fail. If False, return zero so it will
|
41
|
+
just act as a warning.
|
42
|
+
:param bool modify - if True, fix the sources if they are not
|
43
|
+
sorted properly. If False, only report result without
|
44
|
+
modifying anything.
|
45
|
+
:param bool lazy - if True, also check/fix unstaged files.
|
46
|
+
This is useful if you frequently use ``git commit -a`` for example.
|
47
|
+
If False, ony check/fix the staged files for isort errors.
|
48
|
+
:param str settings_file - A path to a file to be used as
|
49
|
+
the configuration file for this run.
|
50
|
+
When settings_file is the empty string, the configuration file
|
51
|
+
will be searched starting at the directory containing the first
|
52
|
+
staged file, if any, and going upward in the directory structure.
|
53
|
+
|
54
|
+
:return number of errors if in strict mode, 0 otherwise.
|
55
|
+
"""
|
56
|
+
# Get list of files modified and staged
|
57
|
+
diff_cmd = ["git", "diff-index", "--cached", "--name-only", "--diff-filter=ACMRTUXB", "HEAD"]
|
58
|
+
if lazy:
|
59
|
+
diff_cmd.remove("--cached")
|
60
|
+
|
61
|
+
files_modified = get_lines(diff_cmd)
|
62
|
+
if not files_modified:
|
63
|
+
return 0
|
64
|
+
|
65
|
+
errors = 0
|
66
|
+
config = Config(
|
67
|
+
settings_file=settings_file,
|
68
|
+
settings_path=os.path.dirname(os.path.abspath(files_modified[0])),
|
69
|
+
)
|
70
|
+
for filename in files_modified:
|
71
|
+
if filename.endswith(".py"):
|
72
|
+
# Get the staged contents of the file
|
73
|
+
staged_cmd = ["git", "show", f":{filename}"]
|
74
|
+
staged_contents = get_output(staged_cmd)
|
75
|
+
|
76
|
+
try:
|
77
|
+
if not api.check_code_string(
|
78
|
+
staged_contents, file_path=Path(filename), config=config
|
79
|
+
):
|
80
|
+
errors += 1
|
81
|
+
if modify:
|
82
|
+
api.sort_file(filename, config=config)
|
83
|
+
except exceptions.FileSkipped: # pragma: no cover
|
84
|
+
pass
|
85
|
+
|
86
|
+
return errors if strict else 0
|
@@ -0,0 +1,206 @@
|
|
1
|
+
"""Fast stream based import identification.
|
2
|
+
Eventually this will likely replace parse.py
|
3
|
+
"""
|
4
|
+
from functools import partial
|
5
|
+
from pathlib import Path
|
6
|
+
from typing import Iterator, NamedTuple, Optional, TextIO, Tuple
|
7
|
+
|
8
|
+
from isort.parse import _normalize_line, _strip_syntax, skip_line
|
9
|
+
|
10
|
+
from .comments import parse as parse_comments
|
11
|
+
from .settings import DEFAULT_CONFIG, Config
|
12
|
+
|
13
|
+
STATEMENT_DECLARATIONS: Tuple[str, ...] = ("def ", "cdef ", "cpdef ", "class ", "@", "async def")
|
14
|
+
|
15
|
+
|
16
|
+
class Import(NamedTuple):
|
17
|
+
line_number: int
|
18
|
+
indented: bool
|
19
|
+
module: str
|
20
|
+
attribute: Optional[str] = None
|
21
|
+
alias: Optional[str] = None
|
22
|
+
cimport: bool = False
|
23
|
+
file_path: Optional[Path] = None
|
24
|
+
|
25
|
+
def statement(self) -> str:
|
26
|
+
import_cmd = "cimport" if self.cimport else "import"
|
27
|
+
if self.attribute:
|
28
|
+
import_string = f"from {self.module} {import_cmd} {self.attribute}"
|
29
|
+
else:
|
30
|
+
import_string = f"{import_cmd} {self.module}"
|
31
|
+
if self.alias:
|
32
|
+
import_string += f" as {self.alias}"
|
33
|
+
return import_string
|
34
|
+
|
35
|
+
def __str__(self):
|
36
|
+
return (
|
37
|
+
f"{self.file_path or ''}:{self.line_number} "
|
38
|
+
f"{'indented ' if self.indented else ''}{self.statement()}"
|
39
|
+
)
|
40
|
+
|
41
|
+
|
42
|
+
def imports(
|
43
|
+
input_stream: TextIO,
|
44
|
+
config: Config = DEFAULT_CONFIG,
|
45
|
+
file_path: Optional[Path] = None,
|
46
|
+
top_only: bool = False,
|
47
|
+
) -> Iterator[Import]:
|
48
|
+
"""Parses a python file taking out and categorizing imports."""
|
49
|
+
in_quote = ""
|
50
|
+
|
51
|
+
indexed_input = enumerate(input_stream)
|
52
|
+
for index, raw_line in indexed_input:
|
53
|
+
(skipping_line, in_quote) = skip_line(
|
54
|
+
raw_line, in_quote=in_quote, index=index, section_comments=config.section_comments
|
55
|
+
)
|
56
|
+
|
57
|
+
if top_only and not in_quote and raw_line.startswith(STATEMENT_DECLARATIONS):
|
58
|
+
break
|
59
|
+
if skipping_line:
|
60
|
+
continue
|
61
|
+
|
62
|
+
stripped_line = raw_line.strip().split("#")[0]
|
63
|
+
if stripped_line.startswith("raise") or stripped_line.startswith("yield"):
|
64
|
+
if stripped_line == "yield":
|
65
|
+
while not stripped_line or stripped_line == "yield":
|
66
|
+
try:
|
67
|
+
index, next_line = next(indexed_input)
|
68
|
+
except StopIteration:
|
69
|
+
break
|
70
|
+
|
71
|
+
stripped_line = next_line.strip().split("#")[0]
|
72
|
+
while stripped_line.endswith("\\"):
|
73
|
+
try:
|
74
|
+
index, next_line = next(indexed_input)
|
75
|
+
except StopIteration:
|
76
|
+
break
|
77
|
+
|
78
|
+
stripped_line = next_line.strip().split("#")[0]
|
79
|
+
continue # pragma: no cover
|
80
|
+
|
81
|
+
line, *end_of_line_comment = raw_line.split("#", 1)
|
82
|
+
statements = [line.strip() for line in line.split(";")]
|
83
|
+
if end_of_line_comment:
|
84
|
+
statements[-1] = f"{statements[-1]}#{end_of_line_comment[0]}"
|
85
|
+
|
86
|
+
for statement in statements:
|
87
|
+
line, _raw_line = _normalize_line(statement)
|
88
|
+
if line.startswith(("import ", "cimport ")):
|
89
|
+
type_of_import = "straight"
|
90
|
+
elif line.startswith("from "):
|
91
|
+
type_of_import = "from"
|
92
|
+
else:
|
93
|
+
continue # pragma: no cover
|
94
|
+
|
95
|
+
import_string, _ = parse_comments(line)
|
96
|
+
normalized_import_string = (
|
97
|
+
import_string.replace("import(", "import (").replace("\\", " ").replace("\n", " ")
|
98
|
+
)
|
99
|
+
cimports: bool = (
|
100
|
+
" cimport " in normalized_import_string
|
101
|
+
or normalized_import_string.startswith("cimport")
|
102
|
+
)
|
103
|
+
identified_import = partial(
|
104
|
+
Import,
|
105
|
+
index + 1, # line numbers use 1 based indexing
|
106
|
+
raw_line.startswith((" ", "\t")),
|
107
|
+
cimport=cimports,
|
108
|
+
file_path=file_path,
|
109
|
+
)
|
110
|
+
|
111
|
+
if "(" in line.split("#", 1)[0]:
|
112
|
+
while not line.split("#")[0].strip().endswith(")"):
|
113
|
+
try:
|
114
|
+
index, next_line = next(indexed_input)
|
115
|
+
except StopIteration:
|
116
|
+
break
|
117
|
+
|
118
|
+
line, _ = parse_comments(next_line)
|
119
|
+
import_string += "\n" + line
|
120
|
+
else:
|
121
|
+
while line.strip().endswith("\\"):
|
122
|
+
try:
|
123
|
+
index, next_line = next(indexed_input)
|
124
|
+
except StopIteration:
|
125
|
+
break
|
126
|
+
|
127
|
+
line, _ = parse_comments(next_line)
|
128
|
+
|
129
|
+
# Still need to check for parentheses after an escaped line
|
130
|
+
if "(" in line.split("#")[0] and ")" not in line.split("#")[0]:
|
131
|
+
import_string += "\n" + line
|
132
|
+
|
133
|
+
while not line.split("#")[0].strip().endswith(")"):
|
134
|
+
try:
|
135
|
+
index, next_line = next(indexed_input)
|
136
|
+
except StopIteration:
|
137
|
+
break
|
138
|
+
line, _ = parse_comments(next_line)
|
139
|
+
import_string += "\n" + line
|
140
|
+
else:
|
141
|
+
if import_string.strip().endswith(
|
142
|
+
(" import", " cimport")
|
143
|
+
) or line.strip().startswith(("import ", "cimport ")):
|
144
|
+
import_string += "\n" + line
|
145
|
+
else:
|
146
|
+
import_string = (
|
147
|
+
import_string.rstrip().rstrip("\\") + " " + line.lstrip()
|
148
|
+
)
|
149
|
+
|
150
|
+
if type_of_import == "from":
|
151
|
+
import_string = (
|
152
|
+
import_string.replace("import(", "import (")
|
153
|
+
.replace("\\", " ")
|
154
|
+
.replace("\n", " ")
|
155
|
+
)
|
156
|
+
parts = import_string.split(" cimport " if cimports else " import ")
|
157
|
+
|
158
|
+
from_import = parts[0].split(" ")
|
159
|
+
import_string = (" cimport " if cimports else " import ").join(
|
160
|
+
[from_import[0] + " " + "".join(from_import[1:])] + parts[1:]
|
161
|
+
)
|
162
|
+
|
163
|
+
just_imports = [
|
164
|
+
item.replace("{|", "{ ").replace("|}", " }")
|
165
|
+
for item in _strip_syntax(import_string).split()
|
166
|
+
]
|
167
|
+
|
168
|
+
direct_imports = just_imports[1:]
|
169
|
+
top_level_module = ""
|
170
|
+
if "as" in just_imports and (just_imports.index("as") + 1) < len(just_imports):
|
171
|
+
while "as" in just_imports:
|
172
|
+
attribute = None
|
173
|
+
as_index = just_imports.index("as")
|
174
|
+
if type_of_import == "from":
|
175
|
+
attribute = just_imports[as_index - 1]
|
176
|
+
top_level_module = just_imports[0]
|
177
|
+
module = top_level_module + "." + attribute
|
178
|
+
alias = just_imports[as_index + 1]
|
179
|
+
direct_imports.remove(attribute)
|
180
|
+
direct_imports.remove(alias)
|
181
|
+
direct_imports.remove("as")
|
182
|
+
just_imports[1:] = direct_imports
|
183
|
+
if attribute == alias and config.remove_redundant_aliases:
|
184
|
+
yield identified_import(top_level_module, attribute)
|
185
|
+
else:
|
186
|
+
yield identified_import(top_level_module, attribute, alias=alias)
|
187
|
+
|
188
|
+
else:
|
189
|
+
module = just_imports[as_index - 1]
|
190
|
+
alias = just_imports[as_index + 1]
|
191
|
+
just_imports.remove(alias)
|
192
|
+
just_imports.remove("as")
|
193
|
+
just_imports.remove(module)
|
194
|
+
if module == alias and config.remove_redundant_aliases:
|
195
|
+
yield identified_import(module)
|
196
|
+
else:
|
197
|
+
yield identified_import(module, alias=alias)
|
198
|
+
|
199
|
+
if just_imports:
|
200
|
+
if type_of_import == "from":
|
201
|
+
module = just_imports.pop(0)
|
202
|
+
for attribute in just_imports:
|
203
|
+
yield identified_import(module, attribute)
|
204
|
+
else:
|
205
|
+
for module in just_imports:
|
206
|
+
yield identified_import(module)
|
@@ -0,0 +1,73 @@
|
|
1
|
+
"""Defines any IO utilities used by isort"""
|
2
|
+
import re
|
3
|
+
import tokenize
|
4
|
+
from contextlib import contextmanager
|
5
|
+
from io import BytesIO, StringIO, TextIOWrapper
|
6
|
+
from pathlib import Path
|
7
|
+
from typing import Callable, Iterator, TextIO, Union
|
8
|
+
|
9
|
+
from isort._future import dataclass
|
10
|
+
from isort.exceptions import UnsupportedEncoding
|
11
|
+
|
12
|
+
_ENCODING_PATTERN = re.compile(br"^[ \t\f]*#.*?coding[:=][ \t]*([-_.a-zA-Z0-9]+)")
|
13
|
+
|
14
|
+
|
15
|
+
@dataclass(frozen=True)
|
16
|
+
class File:
|
17
|
+
stream: TextIO
|
18
|
+
path: Path
|
19
|
+
encoding: str
|
20
|
+
|
21
|
+
@staticmethod
|
22
|
+
def detect_encoding(filename: str, readline: Callable[[], bytes]):
|
23
|
+
try:
|
24
|
+
return tokenize.detect_encoding(readline)[0]
|
25
|
+
except Exception:
|
26
|
+
raise UnsupportedEncoding(filename)
|
27
|
+
|
28
|
+
@staticmethod
|
29
|
+
def from_contents(contents: str, filename: str) -> "File":
|
30
|
+
encoding = File.detect_encoding(filename, BytesIO(contents.encode("utf-8")).readline)
|
31
|
+
return File( # type: ignore
|
32
|
+
stream=StringIO(contents), path=Path(filename).resolve(), encoding=encoding
|
33
|
+
)
|
34
|
+
|
35
|
+
@property
|
36
|
+
def extension(self):
|
37
|
+
return self.path.suffix.lstrip(".")
|
38
|
+
|
39
|
+
@staticmethod
|
40
|
+
def _open(filename):
|
41
|
+
"""Open a file in read only mode using the encoding detected by
|
42
|
+
detect_encoding().
|
43
|
+
"""
|
44
|
+
buffer = open(filename, "rb")
|
45
|
+
try:
|
46
|
+
encoding = File.detect_encoding(filename, buffer.readline)
|
47
|
+
buffer.seek(0)
|
48
|
+
text = TextIOWrapper(buffer, encoding, line_buffering=True, newline="")
|
49
|
+
text.mode = "r" # type: ignore
|
50
|
+
return text
|
51
|
+
except Exception:
|
52
|
+
buffer.close()
|
53
|
+
raise
|
54
|
+
|
55
|
+
@staticmethod
|
56
|
+
@contextmanager
|
57
|
+
def read(filename: Union[str, Path]) -> Iterator["File"]:
|
58
|
+
file_path = Path(filename).resolve()
|
59
|
+
stream = None
|
60
|
+
try:
|
61
|
+
stream = File._open(file_path)
|
62
|
+
yield File(stream=stream, path=file_path, encoding=stream.encoding) # type: ignore
|
63
|
+
finally:
|
64
|
+
if stream is not None:
|
65
|
+
stream.close()
|
66
|
+
|
67
|
+
|
68
|
+
class _EmptyIO(StringIO):
|
69
|
+
def write(self, *args, **kwargs): # skipcq: PTC-W0049
|
70
|
+
pass
|
71
|
+
|
72
|
+
|
73
|
+
Empty = _EmptyIO()
|
@@ -0,0 +1,109 @@
|
|
1
|
+
import ast
|
2
|
+
from pprint import PrettyPrinter
|
3
|
+
from typing import Any, Callable, Dict, List, Set, Tuple
|
4
|
+
|
5
|
+
from isort.exceptions import (
|
6
|
+
AssignmentsFormatMismatch,
|
7
|
+
LiteralParsingFailure,
|
8
|
+
LiteralSortTypeMismatch,
|
9
|
+
)
|
10
|
+
from isort.settings import DEFAULT_CONFIG, Config
|
11
|
+
|
12
|
+
|
13
|
+
class ISortPrettyPrinter(PrettyPrinter):
|
14
|
+
"""an isort customized pretty printer for sorted literals"""
|
15
|
+
|
16
|
+
def __init__(self, config: Config):
|
17
|
+
super().__init__(width=config.line_length, compact=True)
|
18
|
+
|
19
|
+
|
20
|
+
type_mapping: Dict[str, Tuple[type, Callable[[Any, ISortPrettyPrinter], str]]] = {}
|
21
|
+
|
22
|
+
|
23
|
+
def assignments(code: str) -> str:
|
24
|
+
values = {}
|
25
|
+
for line in code.splitlines(keepends=True):
|
26
|
+
if not line.strip():
|
27
|
+
continue
|
28
|
+
if " = " not in line:
|
29
|
+
raise AssignmentsFormatMismatch(code)
|
30
|
+
variable_name, value = line.split(" = ", 1)
|
31
|
+
values[variable_name] = value
|
32
|
+
|
33
|
+
return "".join(
|
34
|
+
f"{variable_name} = {values[variable_name]}" for variable_name in sorted(values.keys())
|
35
|
+
)
|
36
|
+
|
37
|
+
|
38
|
+
def assignment(code: str, sort_type: str, extension: str, config: Config = DEFAULT_CONFIG) -> str:
|
39
|
+
"""Sorts the literal present within the provided code against the provided sort type,
|
40
|
+
returning the sorted representation of the source code.
|
41
|
+
"""
|
42
|
+
if sort_type == "assignments":
|
43
|
+
return assignments(code)
|
44
|
+
if sort_type not in type_mapping:
|
45
|
+
raise ValueError(
|
46
|
+
"Trying to sort using an undefined sort_type. "
|
47
|
+
f"Defined sort types are {', '.join(type_mapping.keys())}."
|
48
|
+
)
|
49
|
+
|
50
|
+
variable_name, literal = code.split(" = ")
|
51
|
+
variable_name = variable_name.lstrip()
|
52
|
+
try:
|
53
|
+
value = ast.literal_eval(literal)
|
54
|
+
except Exception as error:
|
55
|
+
raise LiteralParsingFailure(code, error)
|
56
|
+
|
57
|
+
expected_type, sort_function = type_mapping[sort_type]
|
58
|
+
if type(value) != expected_type:
|
59
|
+
raise LiteralSortTypeMismatch(type(value), expected_type)
|
60
|
+
|
61
|
+
printer = ISortPrettyPrinter(config)
|
62
|
+
sorted_value_code = f"{variable_name} = {sort_function(value, printer)}"
|
63
|
+
if config.formatting_function:
|
64
|
+
sorted_value_code = config.formatting_function(
|
65
|
+
sorted_value_code, extension, config
|
66
|
+
).rstrip()
|
67
|
+
|
68
|
+
sorted_value_code += code[len(code.rstrip()) :]
|
69
|
+
return sorted_value_code
|
70
|
+
|
71
|
+
|
72
|
+
def register_type(name: str, kind: type):
|
73
|
+
"""Registers a new literal sort type."""
|
74
|
+
|
75
|
+
def wrap(function):
|
76
|
+
type_mapping[name] = (kind, function)
|
77
|
+
return function
|
78
|
+
|
79
|
+
return wrap
|
80
|
+
|
81
|
+
|
82
|
+
@register_type("dict", dict)
|
83
|
+
def _dict(value: Dict[Any, Any], printer: ISortPrettyPrinter) -> str:
|
84
|
+
return printer.pformat(dict(sorted(value.items(), key=lambda item: item[1])))
|
85
|
+
|
86
|
+
|
87
|
+
@register_type("list", list)
|
88
|
+
def _list(value: List[Any], printer: ISortPrettyPrinter) -> str:
|
89
|
+
return printer.pformat(sorted(value))
|
90
|
+
|
91
|
+
|
92
|
+
@register_type("unique-list", list)
|
93
|
+
def _unique_list(value: List[Any], printer: ISortPrettyPrinter) -> str:
|
94
|
+
return printer.pformat(list(sorted(set(value))))
|
95
|
+
|
96
|
+
|
97
|
+
@register_type("set", set)
|
98
|
+
def _set(value: Set[Any], printer: ISortPrettyPrinter) -> str:
|
99
|
+
return "{" + printer.pformat(tuple(sorted(value)))[1:-1] + "}"
|
100
|
+
|
101
|
+
|
102
|
+
@register_type("tuple", tuple)
|
103
|
+
def _tuple(value: Tuple[Any, ...], printer: ISortPrettyPrinter) -> str:
|
104
|
+
return printer.pformat(tuple(sorted(value)))
|
105
|
+
|
106
|
+
|
107
|
+
@register_type("unique-tuple", tuple)
|
108
|
+
def _unique_tuple(value: Tuple[Any, ...], printer: ISortPrettyPrinter) -> str:
|
109
|
+
return printer.pformat(tuple(sorted(set(value))))
|
@@ -0,0 +1,19 @@
|
|
1
|
+
from ._version import __version__
|
2
|
+
|
3
|
+
ASCII_ART = rf"""
|
4
|
+
_ _
|
5
|
+
(_) ___ ___ _ __| |_
|
6
|
+
| |/ _/ / _ \/ '__ _/
|
7
|
+
| |\__ \/\_\/| | | |_
|
8
|
+
|_|\___/\___/\_/ \_/
|
9
|
+
|
10
|
+
isort your imports, so you don't have to.
|
11
|
+
|
12
|
+
VERSION {__version__}
|
13
|
+
"""
|
14
|
+
|
15
|
+
__doc__ = f"""
|
16
|
+
```python
|
17
|
+
{ASCII_ART}
|
18
|
+
```
|
19
|
+
"""
|