Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

From Scratch Python Packages

Python packages with the GitHub topic from-scratch. Sorted by monthly downloads, with stars and forks.
eren23
attocode-code-intel

A series of lessons, 0 to hero ai coding agent building guide.

15K 17 1
lucid-official
lucid-dl

A deep learning framework for Apple Silicon

7K 6 3
lennymalard
melpy

A NumPy-based deep learning library for building neural networks. It features an automatic differentiation engine and supports training architectures like LSTM, CNN, and FNN.

2K 4 0
Prajjwal2404
neuralengine

An open-source framework/library for building and training neural networks in Python with support for GPUs (CUDA).

2K 1 0
eren23
attocode

A series of lessons, 0 to hero ai coding agent building guide.

2K 17 1
cogvera-labs
akeratos

Pretrain a small language model from scratch on your Mac with MLX. Train one in 41 minutes and 6.7 GiB (M4 Max), or enter the 5-minute speedrun.

1K 3 1
sebtardif
minidb-sql

An in-memory database with SQL-like query support, built from scratch using only Python standard library. Supports JOINs, aggregations, indexing, and persistence.

1K 3 0
robcox2910
fromscratch-pebble

Build your own programming language in Python: a lexer, parser, compiler and stack-based bytecode virtual machine, explained for learners.

1K 0 0
VIVelev
pydojoml

Machine Learning library for Python

1K 1 0
robcox2910
fromscratch-pyllm

Build your own GPT in Python: autograd, attention, a Transformer, a tokenizer and training, explained for learners.

713 0 0
robcox2910
fromscratch-pycrypt

Build your own cryptography toolkit in Python: hashing, classic ciphers, key derivation, HMAC and signatures, explained for learners.

708 0 0
vaneeckhoutnicolas
quantum-cortex

A 27M parameter byte level language model with a memory outside its weights: a sealed journal of episodes it must cite or abstain from. Every claim has a row, a file and a test that can fail.

569 5 0
Subhash3
neuralnetworks-shine7

Feed Forward Neural Networks using Numpy

340 1 2
robcox2910
fromscratch-pydb

Build your own SQL database in Python: tables, joins, B-tree indexes, a query planner and transactions, explained for learners.

316 1 0
robcox2910
fromscratch-pysearch

Build your own search engine in Python: tokenizing, an inverted index, TF-IDF ranking and boolean queries, explained for learners.

310 0 0
robcox2910
fromscratch-pyos

Build your own operating system in Python: processes, CPU schedulers, virtual memory, a journaled filesystem and networking, explained for learners.

308 0 0
eduardoleao052
neuralforge

Documented and Unit Tested educational Deep Learning framework with Autograd from scratch.

254 132 2
philexohf
gleamlm

GleamLM大语言模型全栈训练平台——核心代码用 PyTorch 从零实现,最低仅需 12GB 消费级显卡即可完整训练,另有一套工业代码与手写实现消费同一份数据逐层对照。模型训练支持CLI和可视化训练。

238 67 10
dev-luigi
neural-network-digits

Neural network from scratch in pure Python + NumPy that recognises handwritten digits (MNIST), with an educational GUI: watch it learn, tweak it while it trains, look inside every layer.

214 43 1
robcox2910
fromscratch-pynet

Build your own networking library in Python: DNS, TCP, UDP, HTTP, WebSockets and SMTP over raw sockets, explained for learners.

209 0 0
nicolaszmarzagao
curlpy-nicolaszmarzagao

A curl implementation written in python3.

203 0 0
robcox2910
fromscratch-pyweb

Build your own web server in Python: HTTP parsing, routing, templates and static files on top of PyNet, explained for learners.

200 0 0
robcox2910
fromscratch-pyscheduler

Build your own job scheduler in Python: cron schedules, dependencies, retries, crash recovery and a web UI, explained for learners.

186 0 0
dross20
babybert

Minimal BERT implementation in PyTorch

186 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology