GithubHelp home page GithubHelp logo

etl_candidates's Introduction

Описание проекта

Скрипт, который позволяет загружать данные:

  • резюме кандидатов(файлы с расширением .doc и .pdf)
  • информацию о самих кандидатах из файла Excel c БД

в систему Хантфлоу с помощью API - https://dev-100-api.huntflow.dev/v2/docs

Технологии

  • Python 3.10 - is an interpreted high-level general-purpose programming language.
  • Openpyxl - is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.
  • Pydantic - is the most widely used data validation library for Python.
  • Requests - is a module allows you to send HTTP requests using Python.

Как развернуть проект

  • скачать репозиторий, перейти в директорию с проектом

git clone [email protected]:ваш-логин/etl_candidates.git

cd /<путь-до-директории>/

  • создать виртуальное окружение, активировать его

python3.10 -m venv venv

. venv/bin/activate

  • установить зависимости

python -m pip install -r requirements.txt

  • переименовать файл .env.example в .env и добавить свои данные в переменные:
ORGANIZATION_NAME
API_URL
ACCESS_TOKEN
FILE_PATH
LOGGING_LEVEL
FILEMODE
FILENAME
  • запустить скрипт

python main.py

Список планируемых доработок

  • Сделать методы класса Loader более универсальными
  • Добавить класс State, который бы хранил состояние, на каком этапе загрузки была прекращена работа скрипта
  • Добавить тесты
  • Добавить backoff на запросы к API(на случай, если API в течение какого-то времени недоступно)

etl_candidates's People

Contributors

valerycode avatar

Watchers

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