Coder Social home page Coder Social logo

pypiap's Introduction

Python Package index Analysis Project

collection of various tools written to help analyze the Python Package index (PyPi). at some point i'll add a link here to the project page on my website that will show all the pretty graphics and stuff yay ^_^

Module structure

-- ap
  -- db.py # database related stuff
  -- buidler.py # tools to build/resync the pypi-json database with PyPi
  -- config.py # config variables
  --> utils # utility functions that may be reused
    -- peeper.py # tool to extract requirements from tarballs/zips
  --> analysis # various collections of tests to run against data in pypi-json
    -- authors.py
    -- releases.py
    -- classifiers.py

Pretty pictures

python requirement graph

Analysis

stuff that we should look at to do things

  • staleness
  • how stale are packages? (is most recent release old) [✔]
  • are there stale packages with high recent downloads?
  • authors
  • number of authors contributing to more than 1 package etc [✔]
  • how many packages attribute multiple authors [✔]
  • how many packages attribute orginization
  • what are author email tld's? (.gov, .edu, etc...) [✔]
  • requirements
  • link network between all current releases of packages! (using the requirement extractor on tarballs)
  • what are the most used requirements? (seriously what is actually the most used package)
  • packages
  • naming schemes
  • sub-ecosystems (e.g. how many packages use the django-/flask- or django./flask. prefix)
  • what licenses do people use? (connected to classifiers as well?)
  • classifiers
  • what are the most popular classifiers [✔]
  • does more classifiers == more downloads?
  • how do people use the version classifiers
  • what license do people use?
  • releases
  • average time between releases [✔]
  • average size of releases (sdist vs. bdist)
  • major version distribution [✔]
  • URLS
  • where do people point their download url to?
  • where do people point their homepage url to?
  • overall health
  • how many packages listed have no info at all (i.e. dead json link) [✔]
  • how many packages have no releases/urls [releases ✔]
  • how many packages have no description/bad(?) classifiers/no homepage/no author info/etc
  • makeup of index by version
  • total sdist size of index/total bdist size of index [sdist ✔]
  • total size of JSON index (more for us but w/e)
  • total downloads this week/month across all packages [✔]
  • total downloads ever across all releases/most recent releases [✔]

pypiap's People

Contributors

rolandshoemaker avatar

Watchers

James Cloos avatar  avatar

Forkers

pombredanne

pypiap's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.