GithubHelp home page GithubHelp logo

borai's Introduction

BORAI: Boletín Oficial de la Republica Argentina Information Extractor

BORAI is a Python application that scrapes, processes, and summarizes web articles from Boletín Oficial de la Republica Argentina using Google Gemini Pro. It focuses on specific areas of interest such as "Resoluciones", "Leyes", "Decretos", and "Disposiciones". The processed information is then stored in a JSON file and published on X and Urbit.

Features

  • Web Scraping: Scrapes web articles from Boletín Oficial de la Republica Argentina.
  • Data Processing: Processes and summarizes the scraped data, focusing on "Resoluciones", "Leyes", "Decretos", and "Disposiciones" using Google Gemini Pro.
  • Data Storage: Stores the processed information in a JSON file.
  • Data Publication: Reads data from the JSON file, ranks and sorts the data, and then publishes it on X and Urbit.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installation

Clone the repository to your local machine:

git clone https://github.com/escapingnetwork/borai.git

You need to install the required Python packages:

pip install -r requeriments.txt

Environment Variables

The script requires the following environment variables:

URBIT_SHIP_URL
URBIT_SHIP_CODE
URBIT_SHIP
URBIT_DIARY
X_BEARER
X_API_KEY
X_API_KEY_SECRET
X_ACCESS_TOKEN
X_ACCESS_TOKEN_SECRET

Usage

Run the script for scrapping with Python:

python resume/main.py

Run the script for publishing with Python:

python urbit/main.py

Run the script for publishing with Python:

python x/main.py

Acknowledgments

This project is inspired by Boletin AM. We appreciate the ideas and efforts put into that project, which served as a stepping stone for this one.

borai's People

Contributors

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