login page

This commit is contained in:
Alicja Cięciwa
2020-10-27 12:57:58 +01:00
commit cb8886666c
8545 changed files with 1082463 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
import os
OPEN_MIRRORS = [
"https://raw.githubusercontent.com/pyupio/safety-db/master/data/",
]
API_MIRRORS = [
"https://pyup.io/api/v1/safety/"
]
REQUEST_TIMEOUT = 5
CACHE_VALID_SECONDS = 60 * 60 * 2 # 2 hours
CACHE_FILE = os.path.join(
os.path.expanduser("~"),
".safety",
"cache.json"
)