psincraian / pepy

pepy is a site to get statistics information about any Python package.
https://pepy.tech
MIT License
807 stars 33 forks source link
flask hacktoberfest mit pip python3 website

pepy-logo

PePy

πŸ“œ About

pepy.tech is a site which aims to show statistics about Python packages.

This is the repository for the backend service, if you want to check the frontend check this repo https://github.com/psincraian/pepy-front

πŸ’– Sponsors

We can keep alive the website thanks to you and also thanks to the following sponsors.

DigitalOcean Referral Badge

Samuel ColvinSeth Michael LarsonSermet PekinGuardrails AI

βš’οΈ Start contributing

I wanted to make the setup of the environment as easy as possible. To start the environment you need the following prerequisites:

Prerequisites

Start environment

You only (fingers crossed) need to execute the following to start the environment:

make start-containers

Architecture and patterns

Principally I used some DDD concepts (like value objects, entities, and so on) and also CQS whose objective is to separate commands from queries.

The structure of the code is the following:

FAQ

Where the downloads come from?

The data is retrieved from the official BigQuery repository: https://packaging.python.org/guides/analyzing-pypi-package-downloads/

When the data is updated?

There is a cron that runs every day at 5 pm UTC that retrieves all the new downloads from the previous day.

🚩 License

The code is available under the MIT license.