Code Monkey home page Code Monkey logo

dependency-extractor's Introduction

dependency-extractor

A library which extracts all dependencies from source files in python project

legacy stats 2036 files 622 folders

https://github.com/Wally869/TypeStripper cut only simply assignments

https://github.com/abarker/strip-hints strip_hints only one file strip_hints falls on dataclass, but it is works.

fab strip-hints autoflake --remove-all-unused-imports --in-place --recursive -v legacy_strip_hints/ autoflake falls on docstrings included html entities like """ "event_type" """

cd legacy_strip_hints/ mklink /J "integrations_openapi_client" "api/clients/integrations/integrations_openapi_client" mklink /J "platform_openapi_server" "api/server_stub/platform/platform_openapi_server"

fab strip-hints fab remove-unused-imports (662) python extractor.py (491)

work with typehints:

summary type hints used: 18116 summary files with hints: 768 summary files: 1914

lib type_stripper build on the regexp. It is not works due permanent changes of typhints rules https://github.com/Wally869/TypeStripper

dependency extractor. Not collect dependency in local project https://github.com/dacresearchgroup/c137-morphemic-dependency-extractor

python remove_hints.py filename # or foldername

find 560 dependencies find 21 libraries to install find 53 built-in dependencies search of dependencies finished summary files for hinting: 560 summary files with hints: 414 summary lines of code: 39638 summary type hints used: 4153 hinting finished files to refactor 307 Конечный пакет для старта: Файлов: 787; папок: 234 1,46 МБ.

find 505 dependencies find 20 libraries to install find 52 built-in dependencies search of dependencies finished summary files for hinting: 505 summary files with hints: 362 summary lines of code: 29901 summary type hints used: 4075 hinting finished files to refactor 94 Конечный пакет для старта: Файлов: 731; папок: 233, 1,19 МБ.

summary files for hinting: 2036 summary files with hints: 821 summary lines of code: 145234 summary count of classes definitions: 1988 summary count of function definitions: 7440 summary type hints used: 7045 hinting finished

summary files for hinting: 346 summary files with hints: 101 summary lines of code: 20197 summary count of classes definitions: 325 summary count of function definitions: 924 summary type hints used: 1088 hinting finished

summary files for hinting: 538 summary files with hints: 0 summary lines of code: 210510 summary count of classes definitions: 1531 summary count of function definitions: 4019 summary type hints used: 0 hinting finished

dependency-extractor's People

Contributors

danilovmy avatar

Stargazers

Justinas Kuizinas avatar Ľubomír Brindza avatar samuelgregorovic avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.