Commit Graph

123 Commits

Author SHA1 Message Date
Luke Hagar
128b923760 Add analytics tracking to API endpoints for improved event monitoring. Updated GET handlers across various routes to include tracking of successful and failed requests, enhancing data collection for package usage insights. 2025-08-29 15:46:54 -05:00
Luke Hagar
8d6c5c67a2 Refactor the About page layout to enhance UI consistency by updating list item structures and spacing for technology stack sections. Improved visual alignment and readability of frontend, backend, and infrastructure technologies. 2025-08-19 12:07:21 -05:00
Luke Hagar
76bd178815 Enhance the main and about pages with improved UI elements and detailed technology stack information. Added sections for API access, key features, and open source contributions, along with visual enhancements for better user engagement. 2025-08-19 11:59:02 -05:00
Luke Hagar
04173b8002 Refactor getPackageCount function to use overall download counts for more reliable package counting. Added error handling to return 0 in case of failures. 2025-08-19 11:50:29 -05:00
Luke Hagar
879aa69f52 Add server route to serve OpenAPI YAML file with appropriate headers and error handling 2025-08-14 21:46:48 -05:00
Luke Hagar
11d6b2fe96 Update API documentation iframe source and add static HTML file for PyPI Stats API Reference 2025-08-14 21:30:12 -05:00
Luke Hagar
faaa2a2b97 Remove unused dependencies from pnpm-lock.yaml to streamline package management and reduce bloat. This includes the removal of '@scalar/sveltekit', '@scalar/core', '@scalar/openapi-types', and 'nanoid' entries. 2025-08-14 20:18:29 -05:00
Luke Hagar
f4b060dae5 Add svelte-meta-tags for improved SEO and metadata management across multiple pages. Update package.json and pnpm-lock.yaml to include svelte-meta-tags dependency. Clean up whitespace in API functions for better code readability. 2025-08-14 20:18:05 -05:00
Luke Hagar
a42d5a1d06 Refactor API data loading to utilize promises for streaming responses in SvelteKit. Update recent bounds calculation for date ranges and enhance loading indicators in package and search pages for improved user experience. 2025-08-14 16:59:15 -05:00
Luke Hagar
94c4c9ad06 Add tracking script for analytics on pypistats.dev 2025-08-14 16:41:17 -05:00
Luke Hagar
d5f14c6b72 Update OpenAPI server URL from localhost to pypistats.dev for production deployment. 2025-08-14 16:33:31 -05:00
Luke Hagar
2ae1919c6e Improve package tracking display by ensuring a count of '0' is shown when no packages are present. Refactor minor version breakdown logic to only display for known major versions, enhancing clarity in package details. 2025-08-14 16:28:44 -05:00
Luke Hagar
4de2c97390 Upgrade OpenAPI version to 3.1.0 and expand API documentation with additional query parameters and response formats. Remove deprecated cache, cron, and data processing endpoints for cleaner codebase. 2025-08-14 16:18:08 -05:00
Luke Hagar
749e6e4871 Update styles in package detail page to improve dark theme consistency, adjusting text colors and backgrounds for better readability. 2025-08-14 16:12:33 -05:00
Luke Hagar
11fad6ba12 Add chart data section to API documentation and improve layout consistency in package detail page 2025-08-14 16:07:50 -05:00
Luke Hagar
45d56b513f Refactor styles across multiple pages to implement a dark theme, enhancing readability and visual consistency. Update text colors and backgrounds in the main, about, API, FAQs, and package detail pages. 2025-08-14 15:49:05 -05:00
Luke Hagar
6b7e7b4fc5 Implement dark theme styles in app.css and update layout components for dark mode compatibility. Add API endpoint links with copy functionality in package page. 2025-08-14 15:34:05 -05:00
Luke Hagar
de7cc4090d troubleshooting secrets 2025-08-14 14:50:44 -05:00
Luke Hagar
8a19a483e4 Enhance Redis client connection logic to skip connection if REDIS_URL is not set, with a warning message for clarity. 2025-08-14 13:15:33 -05:00
Luke Hagar
51c86ba002 Enhance docker-compose.yml by adding Redis password configuration and updating healthcheck command to use the password environment variable. 2025-08-14 12:58:05 -05:00
Luke Hagar
e2e28271df Update package.json to reorder dependencies and ensure correct pnpm configuration for built dependencies. 2025-08-14 12:42:50 -05:00
Luke Hagar
1f567adc1c Fix Dockerfile to ensure correct pnpm version activation by specifying the version format. 2025-08-14 12:40:04 -05:00
Luke Hagar
d442c1de44 Update Dockerfile to use pnpm version 10.14.0 and modify build script to use vite for building the project 2025-08-14 12:32:33 -05:00
Luke Hagar
9dff72e756 Update Dockerfile to install all dependencies including devDependencies for build process 2025-08-14 12:12:52 -05:00
Luke Hagar
4d43969d2f Update Dockerfile and docker-compose.yml to streamline Prisma migration and build process 2025-08-14 12:06:27 -05:00
Luke Hagar
8fd9a4a8ea adding env var 2025-08-14 12:00:17 -05:00
Luke Hagar
69e40dabca Update healthcheck command in docker-compose.yml to use specific PostgreSQL user and database 2025-08-14 11:49:52 -05:00
Luke Hagar
afcb351a15 Add SERVICE_FQDN_WEB_3000 environment variable to docker-compose.yml for public URL generation 2025-08-14 11:36:53 -05:00
Luke Hagar
ed3d7dc489 Remove ENABLE_CRON environment variable from docker-compose.yml 2025-08-14 11:30:54 -05:00
Luke Hagar
8c8b0d06b7 Update docker-compose.yml to use environment variables for PostgreSQL and Redis passwords, and configure Google Cloud credentials. 2025-08-14 11:29:35 -05:00
Luke Hagar
ca7d86ed54 cleaning repo and saving update 2025-08-14 16:02:33 +00:00
Luke Hagar
30aedd3794 Update README.md to reflect project rebranding to PyPIStats.dev and enhance deployment instructions with Docker Compose details, environment variable setup, and API overview. 2025-08-12 10:55:59 -05:00
Luke Hagar
11dbb4e357 Saving progress 2025-08-12 10:35:39 -05:00
flynn
70a10f9941 fix limiter 2022-02-03 20:53:55 -05:00
flynn
fb98bcaa01 deploy table chg 2021-12-12 11:29:28 -05:00
Dustin Ingram
da4d4aa8da Switch to bigquery-public-data datset from the-psf (#39) 2021-06-30 20:29:09 -04:00
flynn
e44f3944da visibility timeout 2021-04-08 20:18:16 -04:00
Flynn
e956165572 use the newer pypi table (#35) 2021-04-05 21:53:10 -04:00
flynn
0c043bc2be deploy 2020-08-16 13:15:27 -04:00
Zac Hatfield-Dodds
2db8a717cb Show required vs optional deps (#32)
* Show required vs optional deps

`pip install x` does not install extras dependencies by default, so we'll show them in a separate list.

This is particularly useful for packages which have many optional integrations, or which track development dependencies using package extras.

* some cleanup

Co-authored-by: flynn <crf204@gmail.com>
2020-08-16 13:09:25 -04:00
Flynn
a5bb518b88 updates (#31)
* update ignore files

* setup poetry

* add db seeds

* black

* set up compose

* backfill script

* add makefile, update readme

* update poetry

* readme

* Fixes

* cleanup and rate limit changes

* poetry 1.0.5

* some more cleanup

* k8s

* k8s

* update yml

* cleanup and admin

* deploy
2020-08-15 18:36:37 -04:00
flynn
4a5c5175cc allow __all__ in api 2019-01-20 19:05:11 -05:00
crflynn
d77bb87a62 fix for some.0 version 2018-12-24 17:34:52 -05:00
crflynn
f76e8f1a7c restore api 2018-12-18 09:25:42 -05:00
crflynn
75dc160db6 allow underscores in api endpoints 2018-12-12 22:24:27 -05:00
crflynn
1c4693e8cf disable api 2018-12-12 13:13:57 -05:00
crflynn
eba371d21e api etiquette and 503 routing if necessary to disable api in the future 2018-12-12 10:52:43 -05:00
crflynn
41e79b3818 180 retention 2018-11-19 23:20:21 -05:00
crflynn
cc3d589fa5 reword new faq 2018-11-03 11:26:46 -04:00
Flynn
314681d312 Merge pull request #10 from hugovk/patch-1
FAQs: What is the difference between Without_Mirrors and With_Mirrors?
2018-11-03 10:56:06 -04:00