hrflow-importer 0.2.1
A python package for batch import of resume attachments to be parsed in HrFlow.
Requires Python: >=3.6

<p align="center">
  <a href="https://hrflow.ai">
    <img alt="hrflow" src="https://img.riminder.net/logo-hrflow.svg" width="120" />
  </a>
</p>
<h1 align="center">
  HrFlow Importer
</h1>

<!-- ![GitHub Repo stars](https://img.shields.io/github/stars/Riminder/hrflow-connectors?style=social) ![](https://img.shields.io/github/v/release/Riminder/hrflow-connectors) ![](https://img.shields.io/github/license/Riminder/hrflow-connectors) -->


<!-- <p align="center">
  <a href="https://hrflow.ai">
    <img alt="hrflow" src="https://hrflow-ai.imgix.net/corporate.svg"/>
  </a>
</p> -->

<br/>

## Description
A python package for batch import of resume attachments to be parsed in HrFlow.

`hrflow-importer` is an open-source project created by **HrFlow.ai** 
to seamlessly import resume attachments from local folder into HrFlow.

## 🪄 Quickstart
### What I can do?
With Hrflow Importer, you can **import** a batch of resume attachments in a local directory into HrFlow.ai to be **parsed**, using a command line directly from your terminal.

### How to use HrFlow Importer ?
**Prerequisites**
* [✨ Create a Workspace](https://hrflow.ai/signup/)
* [🔑 Get your API Key](https://developers.hrflow.ai/docs/api-authentification)
* [Create a Source](https://developers.hrflow.ai/reference/the-source-object) 

1. Set up a virtualenv. You can use **[virtualenv]**(https://docs.python.org/3/library/venv.html)
```bash
pip install virtualenv # if not installed
virtualenv .venv # make sure you use python >3.6 before running this command
source .venv/bin/activate
```
2. **`pip install hrflow-importer`**
3. **setup your .env file**. You can do this by running command:
```bash
cat env.example >> .env 
```
And then fill the values in the **.env** file accordingly.
Or simply : 
`
- data
  - files
  - failures
`

```bash
export STORAGE_DIRECTORY_PATH=/absolute/path/to/data/directory
export LOCAL_FILES_FOLDER=files
export LOCAL_FAILURES_FOLDER=failures
```
3. Run the command 
```bash
hrflow_import
```
and fill the prompted values. 


🐇 **TADA! You should see a progress bar for the upload.**


## 🚀 Environment

**To find the list of dependencies, you can look at the [`pyproject.toml`](pyproject.toml) file**

## :woman_technologist: Contributions

Please feel free to contribute to the quality of this content by
submitting PRs for improvements to code, architecture, etc. 

Any contributions you make to this effort are of course greatly 
appreciated.

👉 **To find out more about how to proceed, the rules and conventions to follow, read carefully [`CONTRIBUTING.md`](CONTRIBUTING.md).**

## 🔗 Resources
* Our Developers documentation : https://developers.hrflow.ai/
* Our API list (Parsing, Revealing, Embedding, Searching, Scoring, Reasoning) : https://www.hrflow.ai/api
* Our cool demos labs : https://labs.hrflow.ai

## :page_with_curl: License

See the [`LICENSE`](LICENSE) file for licensing information.


## ⚙️ Develop HrFlow Importer : 
- git clone git@github.com:Riminder/hrflow-importer.git
- switch to python >3.6 (i recommend using pyenv as python version manager) pyenv shell 3.6.12 
- install poetry if not installed (link) 
- I recommend installing the virtual env inside the project directory : poetry config virtualenvs.in-project true
- Install the virtual env : poetry install and launch it using : poetry shell