Giter Club home page Giter Club logo

job-insights's Introduction

capa

About

The implementation of this project aims to implement analysis from a set of data on jobs. Implementations will be embedded in a web application developed with Flask. Writing tests for implementing data analysis.


Learnings

  • Use Python's interactive terminal.
  • Use conditional and repeating structures.
  • Use built-in Python functions.
  • Use exception handling.
  • Perform file manipulation.
  • Write functions.
  • Write tests with Pytest.
  • Write your own modules and import them into other code.

Technologies Used

python flask


Usage

  1. Clone the repository

    • Use the command: git clone [email protected]:SamuelS00Job-insights.git.
    • Enter the repository folder you just cloned: cd Job-insights
  2. Create the virtual environment for the project python3 -m venv .venv && source .venv/bin/activate

  3. install the dependencies python3 -m pip install -r dev-requirements.txt

  4. to view in browzer

    run flask run

    go http://localhost:5000

Virtual environment

Python offers a resource called a virtual environment, where it allows your machine to run without conflicts, different types of projects with different versions of libraries.

  1. create the virtual environment
$ python3 -m venv .venv
  1. activate the virtual environment
$ source .venv/bin/activate
  1. install the dependencies in the virtual environment
$ python3 -m pip install -r dev-requirements.txt$

With your active virtual environment, the dependencies will be installed in this environment. When you need to deactivate the virtual environment, run the "deactivate" command. Remember to turn it back on when you get back to working on the project.

The dev-requirements.txt file contains all the dependencies that will be used in the project.

Project structure
Legenda:
🔸Arquivos que não podem ser alterados
🔹Arquivos a serem alterados para realizar os requisitos.
.
├──🔸README.md
├──🔸Dockerfile
├──🔸docker-compose.yml
├──🔸dev-requirements.txt
├──🔸requirements.txt
├── src
│   ├──🔸app.py
│   ├──🔸brazilian_jobs.py
│   ├──🔸counter.py
│   ├──🔹insights.py
│   ├──🔸jobs.csv
│   ├──🔹jobs.py
│   ├──🔸more_insights.py
│   ├──🔹routes_and_views.py
│   ├──🔸sorting.py
│   └── templates
│       ├──🔸base.jinja2
│       ├── includes
│       │   └──🔸nav.jinja2
│       ├──🔸index.jinja2
│       ├──🔸job.jinja2
│       └──🔸list_jobs.jinja2
├── tests
│   ├──🔸init.py
│   ├──🔸conftest.py
│   ├──🔸marker.py
│   ├── brazilian
│   │   ├──🔸init.py
│   │   ├──🔸conftest.py
│   │   ├──🔸mocks.py
│   │   ├──🔹test_brazilian_jobs.py
│   ├── counter
│   │   ├──🔸init.py
│   │   ├──🔸conftest.py
│   │   ├──🔸mocks.py
│   │   ├──🔹test_counter.py
│   ├── mocks
│   │   ├──🔸job_1.html
│   │   ├──🔸jobs.csv
│   │   ├──🔸jobs_with_industries.csv
│   │   ├──🔸jobs_with_salaries.csv
│   │   └──🔸jobs_with_types.csv
│   ├── sorting
│   │   ├──🔸init.py
│   │   ├──🔸conftest.py
│   │   ├──🔸mocks.py
│   │   └──🔹test_sorting.py
│   ├──🔸test_flask_app.py
│   ├──🔸test_insights.py
│   ├──🔸test_jobs.py
│   ├──🔸test_more_insights.py
│   └──🔸test_routes_and_views.py
Linter

run python3 -m flake8


Tests

Run pyhton3 -m pytest


job-insights's People

Contributors

samuels00 avatar trybe-tech-ops 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.