GithubHelp home page GithubHelp logo

ml-challenge's Introduction

ml-challenge

Program created for MercadoLibre coding challenge. It fetches emails from a Gmail account using POP3 protocol and persists those with the word DevOps in the subject or body.

Setup dev environment

Building/Running

To test the program you will need to have a gmail account that has POP3 enabled in the configurations and that also allows less secure apps (https://myaccount.google.com/lesssecureapps)

To build the project you can either run cargo build and use it as a console application. Running ml-challenge.exe --user <email> --pass <password> You can run it with --help to get a full description of the args.

You can also run it directly with cargo using cargo run -- --user <email> --pass <password> (Yes, you need to put two standalone dashes in the middle)

You can configure the final SQLite db name with --dbname <name>

Note for Windows users

Sometimes in windows, having OpenSSL installed is not enough for the Rust openssl-sys crate to detect the install path. Also, the binaries don't usually come with the certificates, so you can download the Mozilla CA in PEM format at https://curl.haxx.se/docs/caextract.html

If you're experiencing SSL problems, you can tell openssl-sys where to look with the following environmental variables:

OPENSSL_DIR=<dir_path>
SSL_CERT_FILE=<file_path>

ml-challenge's People

Contributors

juanveliz123 avatar

Watchers

James Cloos avatar  avatar

Forkers

egramajo

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.