GithubHelp home page GithubHelp logo

hpyproject / top4000-pypi-packages Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 0.0 10.86 MB

Dump of Python/C API usage in the top 4000 Python packages

License: Other

C 71.51% C++ 27.86% Objective-C 0.63%

top4000-pypi-packages's People

Contributors

antocuni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

top4000-pypi-packages's Issues

Add pythran and PyO3 to the list

Somehow these two projects do not show up in the top downloads. They are ways to wrap C++ and rust code via the C-API, so they are very relevant for the goals of HPy

Add the cython pyx files to the mix

It would be nice to see what cython constructs are typically used in the wild. Here is a start at an attempt. It does not clean up everything, and does not handle ZIP files:

# Download the sdists as per the README
for f in $(ls *.tar.gz *.tar.bz2); do 
    name=$(tar -tf $f | head -1); 
    name=${name/\/*/};      # Get the name of the directory
    echo $name; 
    tar -xf  $f; 
    for suffix in py txt rst in cfg yaml yml bat sh jar data vec avi xml jpg dic md pdf def so tiff; do 
        find $name -name "*.$suffix" -delete;
    done;
    find $name -type f ! -name "*.*" -delete;  # delete files with no suffix
    find $name -empty -type d -delete;
    rm $f;
done

Unfortunately I cannot make a PR since I don't have the exact json file originally used.

Edit: add jar, data, vec, avi, xml, jpg, dic, md, pdf, def tiff so. That brings the size down to 9.1G

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.