- ๐ Hi, Iโm @rajeshias
- ๐ Iโm interested in this rock that goes around the nearest star
- ๐ฑ Iโm currently learning typescript
- ๐๏ธ Iโm looking to collaborate on openAI
- ๐ซ reach me @rajesh_37
all-repo-non-code-data-downloader's Introduction
all-repo-non-code-data-downloader's People
all-repo-non-code-data-downloader's Issues
Incrementally write out repositories
Currently, the script builds up all the data in repo_data
, issues_data
, and pr_data
and then writes out all the data afterwards, only once all the data is collected. This scales poorly with the number of repositories, especially when the script is used to iterate over ALL GitHub repos. Instead, the data for a particular repo should be retrieved and then immediately written out to disk, with those variables then being reset for the next repo.
Use os.path.join instead of hardcoding '\\'
All-repo-non-code-data-downloader/main.py
Line 79 in b0dcbbb
Hardcoding '\' is not a good way, because it won't work in linux based OSes, always prefer os.path.join
Iterate over all public GitHub repos
The current code has many options that are useful for testing. However, the goal of the project is to iterate over all public repos. Therefore, the first 50 or so lines of code that handle user input to adjust the scope of the scraping is uneeded. Instead, the code should iterate over the repos provided by the iteratable g.get_repos()
.
Set default root to current working directory
When the user does not specify a root path (e.g., ""
), the script should save the results in the current working directory.
Add a requirements.txt
Add a requirements.txt file with all the dependencies that must be installed via PyPI.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.