mirror of
https://github.com/LukeHagar/pypistats.org.git
synced 2025-12-06 04:21:09 +00:00
120 days retention
This commit is contained in:
@@ -22,7 +22,7 @@ SYSTEMS = ("Windows", "Linux", "Darwin")
|
|||||||
PSQL_TABLES = ["overall", "python_major", "python_minor", "system"]
|
PSQL_TABLES = ["overall", "python_major", "python_minor", "system"]
|
||||||
|
|
||||||
# Number of days to retain records
|
# Number of days to retain records
|
||||||
MAX_RECORD_AGE = 90
|
MAX_RECORD_AGE = 120
|
||||||
|
|
||||||
|
|
||||||
def get_google_credentials():
|
def get_google_credentials():
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
<a href="https://bigquery.cloud.google.com/table/the-psf:pypi.downloads">download stats</a>
|
<a href="https://bigquery.cloud.google.com/table/the-psf:pypi.downloads">download stats</a>
|
||||||
on Google BigQuery. All aggregate download stats ignore known PyPI mirrors (such as
|
on Google BigQuery. All aggregate download stats ignore known PyPI mirrors (such as
|
||||||
<a href="{{url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</p>
|
<a href="{{url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</p>
|
||||||
<p>PyPI Stats attempts to operate within the free tier of its hosted services. For this reason, aggregate data is only retained for 90 days.</p>
|
<p>PyPI Stats attempts to operate within the free tier of its hosted services. For this reason, aggregate data is only retained for 120 days.</p>
|
||||||
<h3>API</h3>
|
<h3>API</h3>
|
||||||
<p>A simple
|
<p>A simple
|
||||||
<a href="{{url_for('api.api')}}">JSON API</a>
|
<a href="{{url_for('api.api')}}">JSON API</a>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li>All download stats exclude known mirrors (such as
|
<li>All download stats exclude known mirrors (such as
|
||||||
<a href="{{ url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</li>
|
<a href="{{ url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</li>
|
||||||
<li>Time series data is retained only for 90 days.</li>
|
<li>Time series data is retained only for 120 days.</li>
|
||||||
<li>All download data is updated once daily.</li>
|
<li>All download data is updated once daily.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user