Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

SERG-UFPI/tse-awesome-project

 
 

Repository files navigation

Topics in Software Engineer Final Project

This repository contains python scripts to make requests, retrieve and process some data from Github with Github API

It was made with REST API V3 from Github, Python 3.8 and requests lib

Setup

First, verify if you have Python 3.6 or higher installed and pip

Create a virtualenv following this tutorial

After that, with the virtualenv activated, run this command: pip install -r requirements.txt -r requirements_dev.txt

Finally, run cp .env.sample .env and fill the .env file with the required info

For the GITHUB_OAUTH_TOKEN, follow this steps

Upgrading dependencies

With the virtualenv activated, first change or add the package and the version you want to install in the file requirements.in

After that, run the command in the root dir: pip-compile --output-file=requirements.txt requirements.in

Running

If everything is ok with your installation, run this command on the terminal:

python scripts/main.py

To query something specific about repositories use this command:

python scripts/query_repo.py

It will prompt a help text and an example of what should be the query string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%