{"id":13412059,"url":"https://github.com/psincraian/pepy","last_synced_at":"2025-04-12T18:53:45.277Z","repository":{"id":38325181,"uuid":"135076214","full_name":"psincraian/pepy","owner":"psincraian","description":"pepy is a site to get statistics information about any Python package.","archived":false,"fork":false,"pushed_at":"2024-05-21T05:27:55.000Z","size":1690,"stargazers_count":761,"open_issues_count":25,"forks_count":32,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-21T06:39:49.784Z","etag":null,"topics":["flask","hacktoberfest","mit","pip","python3","website"],"latest_commit_sha":null,"homepage":"https://pepy.tech","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psincraian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["psincraian"]}},"created_at":"2018-05-27T19:40:52.000Z","updated_at":"2024-06-01T01:42:18.224Z","dependencies_parsed_at":"2023-10-03T05:36:01.147Z","dependency_job_id":"866c14f4-e157-45b9-89fd-0a58ad840fb9","html_url":"https://github.com/psincraian/pepy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psincraian%2Fpepy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psincraian%2Fpepy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psincraian%2Fpepy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psincraian%2Fpepy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psincraian","download_url":"https://codeload.github.com/psincraian/pepy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618262,"owners_count":21134200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flask","hacktoberfest","mit","pip","python3","website"],"created_at":"2024-07-30T20:01:20.591Z","updated_at":"2025-04-12T18:53:45.256Z","avatar_url":"https://github.com/psincraian.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"100px\" alt=\"pepy-logo\" src=\"docs/logo.png\" /\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003e\u003ccode\u003ePePy\u003c/code\u003e\u003c/h2\u003e\n\n\u003e **Important:**  \n\u003e This repository contains the legacy public version of PePy. The latest version is now\n\u003e maintained privately. We continue to use this repository solely to track issues and\n\u003e preserve historical references.\n\n## 📜 About\n\n[PePy](https://pepy.tech) is a website that provides statistics about Python packages.\nThis repo houses the backend service for PePy.\n\n## 💖 Sponsors\n\nOur website stays alive thanks to your support and the continued help from our sponsors.\n\n[![DigitalOcean Referral Badge](https://web-platforms.sfo2.digitaloceanspaces.com/WWW/Badge%202.svg)](https://www.digitalocean.com/?refcode=7bf782110d6c\u0026utm_campaign=Referral_Invite\u0026utm_medium=Referral_Program\u0026utm_source=badge)\n\n\u003c!-- sponsors --\u003e\u003ca href=\"https://github.com/samuelcolvin\"\u003e\u003cimg src=\"https:\u0026#x2F;\u0026#x2F;github.com\u0026#x2F;samuelcolvin.png\" width=\"60px\" alt=\"User avatar: Samuel Colvin\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/sethmlarson\"\u003e\u003cimg src=\"https:\u0026#x2F;\u0026#x2F;github.com\u0026#x2F;sethmlarson.png\" width=\"60px\" alt=\"User avatar: Seth Michael Larson\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/guardrails-ai\"\u003e\u003cimg src=\"https:\u0026#x2F;\u0026#x2F;github.com\u0026#x2F;guardrails-ai.png\" width=\"60px\" alt=\"User avatar: Guardrails AI\" /\u003e\u003c/a\u003e\u003c!-- sponsors --\u003e\n\n## ⚒️ Start contributing\nI wanted to make the setup of the environment as easy as possible. To start the environment you need the \nfollowing prerequisites:\n\n### Prerequisites\n  * bash (+4.3)\n  * docker (+17.05)\n  * docker-compose (+1.16.1)\n  * docker-py (+2.2.1)\n  * ansible (+2.3)\n  \n### Start environment\nYou only (_fingers crossed_) need to execute the following to start the environment:\n\n```commandline\nmake start-containers\n```\n\n## Architecture and patterns\nPrincipally I used some DDD concepts (like value objects, entities, and so on) and also CQS whose objective is to\nseparate commands from queries.\n\nThe structure of the code is the following:\n  * `pepy/application`: here is where all the commands and the queries are located.\n  * `pepy/domain`: domain objects like entities, exceptions, and value objects.\n  * `pepy/infrastructure`: infrastructure components like the implementation of the repository\n    class like DB or BigQuery, the Flask web application, the container, and so on.\n    * `pepy/infrastructure/cli`: the command line programs.\n    * `pepy/infrastructure/container`: config files and the dependency injection manager.\n    * `pepy/infrastructure/api`: the api endpoints controller.\n    \n## FAQ\n**Where the downloads come from?**\n\nThe data is retrieved from the official BigQuery repository: https://packaging.python.org/guides/analyzing-pypi-package-downloads/\n\n**When the data is updated?**\n\nThere is a cron that runs every day at 5 pm UTC that retrieves all the new downloads from the previous day.\n\n## 🚩 License\nThe code is available under the [MIT license](LICENSE.md).\n","funding_links":["https://github.com/sponsors/psincraian"],"categories":["Python","🧩 Badges 👇"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsincraian%2Fpepy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsincraian%2Fpepy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsincraian%2Fpepy/lists"}