Code Monkey home page Code Monkey logo

github-parser's Introduction

GitHub Parser

Data parser from GitHub

Installation and Setup

  1. Install Docker and Docker Compose if they are not already installed on your system.

  2. Clone the project repository:

git clone https://github.com/Djama1GIT/github-parser.git
cd github-parser
  1. Configure the environment variables in the .env-non-dev file

  2. Start the project:

docker-compose up --build

User Interface

After starting the project, you can access the Swagger user interface at: http://localhost:7354/docs.
In Swagger, you can view the available endpoints and their parameters, and also make requests to the API.

A few tests

Note: Install dependencies using pip install -r requirements.txt.

pytest .

Creating and invoking a cloud function

It is assumed that you already have a postgresql server running. If this is not the case, you can uncomment the lines in docker-compose.yml and launch the container on Yandex Cloud.

The function runs every half hour. I deemed it necessary to do so because it's not a very short or very long period, as there won't be too many changes during this time, and the number of API requests will be moderate.

/bin/bash ./src/github_parser/create_cloud_function.sh

Example:

creating_function.png

creating_function_2.png

github-parser's People

Contributors

djama1git 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.