PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Text Generation Python Packages

Python packages with the GitHub topic text-generation. Sorted by monthly downloads, with stars and forks.
LowinLi
transformers-stream-generator

This is a text generation method which returns a generator, streaming out each token in real-time during inference, based on Huggingface/Transformers.

377K 95 19
victordibia
llmx

An API for Chat Fine-Tuned Large Language Models (llm)

68K 93 51
John-Rood
vector-vault

The first serverless vector database (2023). Stateless compute + object storage, open source Python. pip install vector-vault

22K 9 1
Clarifai
clarifai

Experience the power of Clarifai’s AI platform with the python SDK. 🌟 Star to support our work!

17K 46 9
nlpcloud
nlpcloud

NLP Cloud serves high performance pre-trained or custom models for NER, sentiment-analysis, classification, summarization, paraphrasing, intent classification, product description and ad generation, chatbot, grammar and spelling correction, keywords and keyphrases extraction, text generation, image generation, code generation, and more...

16K 86 8
krishnap25
mauve-text

Package to compute Mauve, a similarity score between neural text and human text. Install with `pip install mauve-text`.

13K 314 28
OEvortex
webscout

LLM4Free β€” All-in-one Python toolkit for web search, AI interaction (40+ free providers), digital utilities, and more. Formerly WebScout.

8K 371 71
voidful
tfkit

πŸ€–πŸ“‡ handling multiple nlp task in one pipeline

6K 56 6
senzelden
denckring

A Python library of constrained and experimental writing procedures β€” Oulipo and beyond β€” where every procedure pairs a generator with a validator that scores its own output. 158 catalogued, 124 implemented and validated. Python API, CLI and MCP server; English, German, French.

2K 0 3
ddh0
easy-llama

Python package wrapping llama.cpp for on-device LLM inference

2K 106 7
sethbang
venice-py

Unofficial async-first Python SDK for the Venice.ai API β€” chat, image, video, music, audio, embeddings, TEE attestation, and x402 wallet billing. Typed Pydantic responses, intelligent rate limiting, and bundled Claude Code skills. Python 3.13+.

2K 12 7
OEvortex
llm4free

LLM4Free β€” All-in-one Python toolkit for web search, AI interaction (40+ free providers), digital utilities, and more. Formerly WebScout.

2K 371 71
investblog
spintax-core

Framework-agnostic Spintax engine for Python β€” parse, render, validate, extract, analyze, neutralize. Independent MIT port, gated by the shared golden corpus. Zero runtime dependencies, typed, Python 3.10+. Published on PyPI as spintax-core.

2K 1 1
minimaxir
gpt-2-simple

Python package to easily retrain OpenAI's GPT-2 text-generating model on new texts

2K 3K 664
LlmKira
novelai-python

✨ NovelAI api python sdk, easy to use, modern and user-friendly.

2K 49 2
phil65
docler

Abstractions & Tools for OCR / document processing

2K 5 2
vulnerability-lookup
vulntrain

A tool to generate datasets and models based on vulnerabilities descriptions from @Vulnerability-Lookup.

1K 42 5
asyml
texar-pytorch

Integrating the Best of TF into PyTorch, for Machine Learning, Natural Language Processing, and Text Generation. This is part of the CASL project: http://casl-project.ai/

1K 745 111
bjascob
amrlib

A python library that makes AMR parsing, generation and visualization simple.

962 267 40
sethbang
venice-ai

Unofficial async-first Python SDK for the Venice.ai API β€” chat, image, video, music, audio, embeddings, TEE attestation, and x402 wallet billing. Typed Pydantic responses, intelligent rate limiting, and bundled Claude Code skills. Python 3.13+.

861 12 7
minimaxir
textgenrnn

Easily train your own text-generating neural network of any size and complexity on any text dataset with a few lines of code.

828 5K 728
gaussalgo
adaptor

ACL 2022: Adaptor: a library to easily adapt a language model to your own task, domain, or custom objective(s).

771 29 4
julep-ai
steadytext

Deterministic text generation and embeddings with zero configuration

673 46 3
btfranklin
wordsmith-engine

Composable, deterministic-friendly text-generation components for Python

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