matthewdeanmartin/whats_that_code
detect programming language of source in pure python from an ensemble of classifiers
This library helps developers quickly identify the programming language of a code snippet or file. You provide source code (with or without a file extension or tag), and it tells you what language it's likely written in. This is for developers who need to categorize or process code from various sources.
Available on PyPI.
Use this if you need a quick, pure-Python way to get a first approximation of a code's language without heavy machine learning dependencies.
Not ideal if you require extremely high accuracy for all samples or if you need to classify code that can already be reliably identified by its extension or tag.
Stars
21
Forks
3
Language
Python
License
MIT
Category
Last pushed
Mar 09, 2026
Commits (30d)
0
Dependencies
3
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/matthewdeanmartin/whats_that_code"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Related frameworks
kermitt2/delft
a Deep Learning Framework for Text https://delft.readthedocs.io/
yoeo/guesslang
Detect the programming language of a source code
airalcorn2/Deep-Semantic-Similarity-Model
My Keras implementation of the Deep Semantic Similarity Model (DSSM)/Convolutional Latent...
christiansafka/img2vec
:fire: Use pre-trained models in PyTorch to extract vector embeddings for any image
microsoft/NeuronBlocks
NLP DNN Toolkit - Building Your NLP DNN Models Like Playing Lego