FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
PyPI Has a Free API — Get Metadata for Any Python Package (No Key Needed)
NewsSecurity

PyPI Has a Free API — Get Metadata for Any Python Package (No Key Needed)

via Dev.to TutorialAlex Spinov2h ago

Every Python Package Has a JSON API PyPI (Python Package Index) exposes a free JSON API for every package. No authentication, no rate limits, no signup. Get Package Info import requests def get_package ( name ): r = requests . get ( f " https://pypi.org/pypi/ { name } /json " ) if r . status_code == 200 : info = r . json ()[ " info " ] return { " name " : info [ " name " ], " version " : info [ " version " ], " summary " : info [ " summary " ], " author " : info [ " author " ], " license " : info [ " license " ], " downloads " : info . get ( " downloads " , {}). get ( " last_month " , " N/A " ), " requires_python " : info [ " requires_python " ], " home_page " : info [ " home_page " ] } return None pkg = get_package ( " requests " ) print ( f " { pkg [ name ] } v { pkg [ version ] } by { pkg [ author ] } " ) print ( f " License: { pkg [ license ] } " ) print ( f " Python: { pkg [ requires_python ] } " ) Get All Versions def get_versions ( name ): r = requests . get ( f " https://pypi.o

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
2 views

Related Articles

News

FiberBills: A Complete Billing & Collection System for ISPs and Subscription Businesses

Medium Programming • 3h ago

News

Prompting as Probabilistic Programming

Medium Programming • 4h ago

La historia de Ramiro..
News

La historia de Ramiro..

Dev.to • 4h ago

The Sonos Ace are a hefty 25 percent for Amazon’s Big Spring Sale
News

The Sonos Ace are a hefty 25 percent for Amazon’s Big Spring Sale

The Verge • 4h ago

Hooks in Claude Code
News

Hooks in Claude Code

Medium Programming • 4h ago

Discover More Articles