Skip to content

orkhanshirin/career_time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CareerTime

Overview

CareerTime is a simple Python application that calculates the total full-time work experience (in years) for a given list of LinkedIn profiles. It uses sample data from a JSON file to simulate Coresignal API responses.

Key Features:

  • Extract LinkedIn profile IDs from URLs.
  • Load sample Coresignal-like data from a JSON file.
  • Calculate total years of work experience, accounting for partial and ongoing roles.
  • Print the results in JSON format.

Setting-up

  • Clone the repository:
    git clone https://github.com/orkhanshirin/career_time.git
  • cd career_time

Usage

  1. Put your LinkedIn profile URL into data/input_urls.txt (one URL per line).
  2. Ensure data/sample_profile.json contains a profile's experience data that matches the LinkedIn ID you're testing.
  3. Run the program: From the project root folder:
    python3 -m src.career_time.main
  4. The output will be printed to the console in JSON format.

Final Notes and TODOs

This project is partially implemented to showcase the main logic of extracting work experience of talents in a given JSON data. In the below documentations you can find out:

  • The main ideas to expand and improve the functionality,
  • Decrease the cognitive complexity,
  • Decisions and Assumptions

NOTES.md TODO list

Project Structure

src/career_time/ contains all source code.

data/ contains input and sample data files.

tests/ contains all test files and fixtures(if any).

career_time/
├─ README.md
├─ .gitignore
├─ pyproject.toml
├─ src/
│  ├─ career_time/
│  │  ├─ __init__.py
│  │  ├─ main.py
│  │  ├─ experience.py
│  │  ├─ data_providers.py
├─ data/
│  ├─ input_urls.txt
│  └─ sample_profile.json
└─ tests/

About

Calculates the exact yeara of experience according to LinkedIn data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages