hpyproject / top4000-pypi-packages Goto Github PK
View Code? Open in Web Editor NEWDump of Python/C API usage in the top 4000 Python packages
License: Other
Dump of Python/C API usage in the top 4000 Python packages
License: Other
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.