Skip to main content Switch to mobile version JobSelect 0.12.8 A CLI Based AI Skill Classifier for Job Descriptions Build by Akshay Babu
pip install JobSelect==0.12.8 Copy PIP instructions
An open source Job Description Analyzer that can be accessed through API and MCP servers, get your free API keys at https://jobselect.vercel.app
JobSelect Labs, an AI open source venture by Akshay Babu (Founder and CEO)
pip install jobselect (Install python from https://www.python.org for pip)
TF-IDF features over the combined text (job description + role + type)
A PyTorch feed-forward neural network trained as a multi-label classifier
Per-skill thresholding for evaluation and top-k ranked probabilities for inference
Data preparation (model/prep/data_prep.py)
Reads cleaned job description data.
Normalizes/repairs common skill typos (e.g., tesnorflow/pytorch → tensorflow/pytorch).
Builds a multi-hot target vector of skills.
Fits a TF-IDF vectorizer (with n-grams) and splits into train/test.
Saves: model/prep/prepared_data.npz (TF-IDF arrays + labels + indexes)
model/prep/vectorizer.pkl (fitted TF-IDF vectorizer)
model/prep/label_vocab.json (skill label vocabulary)
Model training (model/model.py)
Loads prepared TF-IDF arrays.
Defines a simple MLP: Linear → ReLU → Dropout → Linear (one logit per skill)
Trains with BCEWithLogitsLoss (multi-label setting).
Saves: model_out/skill_classifier.pt (model weights)
model_out/training_history.json (train/test loss curves)
Evaluation (model/eval.py)
Applies a fixed sigmoid + threshold (0.3) to obtain binary skill predictions.
Reports: Per-skill precision/recall/F1
Compares against a simple baseline (frequency-driven / always-predict-most-frequent labels).
Prediction / Inference (model/pred.py)
Loads the TF-IDF vectorizer and trained model.
Creates TF-IDF features for the input text.
Outputs the top-k skills by probability.
Resume/job-post matching (first-pass filtering of relevant skills)
Job taxonomy building (discover recurring skills from postings)
Recruiting analytics (aggregate predicted skill demand by seniority/role/type)
Prototyping multi-label NLP classifiers (TF-IDF + MLP baseline)
. ├─ data/ │ ├─ raw/ │ │ ├─ Job_descriptions.csv # Original v1 raw dataset │ │ └─ Job_descriptions_v2.csv # v2 raw dataset (expanded/updated) │ ├─ sample_data/ │ │ ├─ v1/ │ │ │ ├─ cli.txt # Example JD for CLI testing (v1) │ │ │ ├─ eval.txt # Example JD for evaluation testing (v1) │ │ │ └─ test.txt # Example JD, Role and Type for testing (v1) │ │ └─ v2/ │ │ ├─ cli.txt # Example JD for CLI testing (v2) │ │ ├─ eval.txt # Example JD for evaluation testing (v2) │ │ └─ test.txt # Example JD, Role and Type for testing (v2) │ └─ clean/ │ ├─ v1/ │ │ ├─ cleaned_job_descriptions.csv # Cleaned master CSV (v1) │ │ ├─ cleaned_job_descriptions_internships.csv │ │ ├─ cleaned_job_descriptions_junior.csv │ │ └─ cleaned_job_descriptions_senior.csv │ └─ v2/ │ ├─ cleaned_job_descriptions_v2.csv # Cleaned master CSV (v2) │ ├─ cleaned_job_descriptions_internships_v2.csv │ ├─ cleaned_job_descriptions_junior_v2.csv │ └─ cleaned_job_descriptions_senior_v2.csv │ ├─ model/ │ ├─ __init__.py │ ├─ model.py # PyTorch multi-label classifier training │ ├─ eval.py # Thresholded evaluation + F1 metrics + baseline comparison │ ├─ pred.py # Predict top-k skills for new text │ ├─ MODEL.md # Model architecture & performance documentation │ └─ prep/ │ ├─ __init__.py │ ├─ data_prep.py # TF-IDF + multi-hot label creation + train/test split │ ├─ sym_map.py # Synonym/phrase normalization map used during prep │ ├─ test.py # Test utilities for data preparation │ ├─ v1/ │ │ ├─ vectorizer.pkl # v1 TF-IDF vectorizer (generated by data_prep) │ │ ├─ prepared_data.npz # v1 TF-IDF arrays + labels + indexes │ │ └─ label_vocab.json # v1 skill label vocabulary │ └─ v2/ │ ├─ vectorizer_v2.pkl # v2 TF-IDF vectorizer (generated by data_prep) │ ├─ prepared_data_v2.npz # v2 TF-IDF arrays + labels + indexes │ └─ label_vocab_v2.json # v2 skill label vocabulary │ ├─ model_out/ │ ├─ v1/ │ │ ├─ skill_classifier.pt # v1 trained model weights (generated by model.py) │ │ └─ training_history.json # v1 training loss history (generated by model.py) │ └─ v2/ │ ├─ skill_classifier_v2.pt # v2 trained model weights (generated by model.py) │ └─ training_history_v2.json # v2 training loss history (generated by model.py) │ ├─ api/ │ ├─ __init__.py │ ├─ .dockerignore │ ├─ Dockerfile # Dockerfile for API deployment │ ├─ JobAnalyze_API.py # FastAPI service + Pydantic validation + API-key verification │ ├─ supabase_client.py # Optional API key persistence (Supabase) │ └─ JobAnalyze/ │ ├─ __init__.py │ ├─ v1/ │ │ ├─ __init__.py │ │ └─ pred_v1.py # v1 prediction wrapper (imports model.pred) │ └─ v2/ │ ├─ __init__.py │ └─ pred_v2.py # v2 prediction wrapper (imports model.pred) │ ├─ cli/ │ ├─ api_val.py # API key prompt / mode selection for CLI │ ├─ jobselect.py # Rich terminal CLI (prompts + prints top skills) │ ├─ main_screen.py # CLI main screen / splash UI │ ├─ model_select.py # Inference routing: API-first, LOCAL fallback │ └─ utils.py # Shared CLI utility functions │ ├─ backups/ │ ├─ __init__.py │ ├─ backup.py # Data backup routines │ ├─ sync.py # Sync utilities │ └─ data/ # Backup data storage │ ├─ frontend/ │ └─ repo/ │ ├─ favicon.png # JobSelect favicon │ ├─ favicon.b64.txt # Base64-encoded favicon │ ├─ title_page_jobselect.png # CLI title page screenshot │ └─ mode_selection_jobselect.png # Mode selection screen │ ├─ notebooks/ │ ├─ 01_EDA.ipynb # Exploratory Data Analysis │ └─ 02_Data_Engineering.ipynb # Data engineering / cleaning notes │ ├─ test/ │ └─ test_model.py # Pytest checks expected artifacts exist in model_out/ and model/prep/ │ ├─ .dockerignore ├─ .gitignore ├─ Dockerfile # Root Dockerfile (if applicable) ├─ LICENSE ├─ pipeline.py # Executes notebooks + training/eval steps in order ├─ pyproject.toml # Installs as a cli tool (jobselect) ├─ pytest.ini # Pytest configuration ├─ requirements.txt └─ README.md Requirements
See requirements.txt for the exact dependencies.
1) Clone and Install dependencies
git clone https://github.com/Ak47xdd/Job-Description-Analysis.git pip install -r requirements.txt 2) Run data preparation (optional)
This builds the TF-IDF features and label vocabulary from the cleaned CSV.
python model/prep/data_prep.py Expected outputs:
model/prep/prepared_data.npz
model/prep/label_vocab.json
3) Train the model (optional)
python model/model.py Expected outputs:
model_out/skill_classifier.pt
model_out/training_history.json
4) Evaluate performance (optional)
python model/eval.py Outputs include:
Per-skill metrics (precision/recall/F1)
5) Predict skills for a new job description
You can still run predictions locally if you have the prepared artifacts (model/prep/vectorizer.pkl and model_out/skill_classifier.pt). Local inference is useful for offline experimentation or development, but for most users we recommend using the hosted API (see Option C).
from api.pred import JobAnalyze_6k
data/sample_data/test.txt contains an example job description inside. Use:
JobAnalyze_6k(job_desc, role="AI Engineer", job_type="Junior", top_k=50) Option B: Use the interactive CLI (API-first)
The CLI (cli/jobselect.py) is API-first. Provide a valid API key to run the CLI against the hosted service so you always get the up-to-date model and label set. If no API key is provided the CLI can fall back to local inference, but this is not recommended for general usage.
python -m cli.jobselect # or after install pip install jobselect jobselect The CLI:
prompts for Job Description, Role, and Type
validates them via the API schema when running in API mode
prints the top skills ranked by probability as returned by the hosted API
Option C: Get predictions through the hosted API (recommended)
The API is hosted and recommended for production and general use — it provides the latest model, label vocabulary, and automatic updates.
To call the hosted API, send a POST request to the hosted endpoint (replace with the actual API base URL) with the header JOBSELECT_KEY set to your API key, and a JSON body containing Job_Desc, Role, and Type.
Base URL : https://job-description-analysis.onrender.com
JOBSELECT_KEY : Vist the website (jobselect.vercel.app)
curl -X POST "https:// /predict" \ -H "Content-Type: application/json" \ -H "JobAnalyze_6k_Key: YOUR_API_KEY_HERE" \ -d '{"Job_Desc":"Senior ML engineer with 3+ years experience...","Role":"AI Engineer","Type":"Senior"}' The response will include ranked skills and probabilities (top-k). Contact the repository maintainer or your account admin to obtain an API key and the exact hosted API base URL.
Option D: Run the FastAPI service locally (optional)
If you prefer to host your own instance of the API, you can run the FastAPI server in api/JobAnalyze_API.py. Local hosting is useful for private deployments or testing with custom models.
Run the service and send requests with the same header and JSON body as described in Option C (JobAnalyze_6k_Key, Job_Desc, Role, Type).
Text is concatenated as: "{job_desc} {role} {job_type}"
TF-IDF transforms text into a fixed-size vector
The network outputs one logit per skill
Sigmoid converts logits → probabilities
Skills are ranked by probability and the top-k are returned
Important implementation notes
Multi-label learning: Each skill is treated independently (binary relevance via sigmoid + BCEWithLogitsLoss).
Evaluation threshold: model/eval.py uses a fixed threshold of 0.3. For production use, you may want per-label thresholds tuned on a validation set.
Dataset size: The included notebooks and evaluation code suggest the dataset may be small; results can be limited by label frequency and data coverage.
New features / capabilities
Rich terminal CLI (cli/jobselect.py) using rich + pyfiglet for interactive top-skill display.
API validation + schema enforcement Input validation via Pydantic model constraints in api/JobAnalyze_API.py.
API key auth via header + secure verification, with optional Supabase-backed storage in api/supabase_client.py.
CLI mode auto-detection (cli/api_val.py + cli/model_select.py): uses API when a key is available, otherwise falls back to local inference.
Synonym/phrase normalization hook (model/prep/sym_map.py) applied during data preparation.
Pipeline runner (pipeline.py) to execute notebooks and training steps in sequence.
Improve text cleaning and skill normalization in data_prep.py
Tune TF-IDF parameters (max_features, ngram_range, min_df)
Replace the simple MLP with a stronger baseline (e.g., logistic regression on TF-IDF)
Calibrate thresholds per label using validation data
Add a CLI or web service endpoint for prediction
Developed with ❤️ by Akshay Babu
For questions, feedback, or collaboration opportunities, feel free to reach out!
This repository follows a common pattern for multi-label NLP baselines: TF-IDF features + a simple neural network + sigmoid-based multi-label outputs.
MIT View SPDX License List
Operating System OS Independent
Programming Language Python :: 3
Release files for JobSelect 0.12.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 842.7 kB
Release files / jobselect-0.12.8.tar.gz
Release files / jobselect-0.12.8-py3-none-any.whl
Security for JobSelect 0.12.8
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Oct 11, 2026 2 release files No provenance
Aug 30, 2026 2 release files No provenance
Aug 28, 2026 2 release files No provenance
Jul 31, 2026 2 release files No provenance
Jul 26, 2026 2 release files No provenance
Jul 21, 2026 2 release files No provenance
Jul 16, 2026 2 release files No provenance
Jul 12, 2026 2 release files No provenance
Jul 11, 2026 2 release files No provenance
Jul 8, 2026 2 release files No provenance
Jul 7, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




