Add some POSTing functionality and some python files to make POST requests (#9)
* First attempt at csv parsing * Probably right format now * Add POSTing * Updates and mypy
This commit is contained in:
parent
7c25d052d2
commit
5790357ac4
|
@ -0,0 +1,311 @@
|
|||
#! /usr/bin/env python3
|
||||
import argparse
|
||||
import csv
|
||||
from io import FileIO, StringIO
|
||||
import json
|
||||
import requests
|
||||
from typing import Iterable, List, Any, Dict
|
||||
|
||||
BASE_URL = "http://127.0.0.1:8000/data"
|
||||
|
||||
|
||||
def make_slug_url(args: argparse.Namespace) -> str:
|
||||
if BASE_URL:
|
||||
url_components = [BASE_URL]
|
||||
else:
|
||||
url_components = [args.base_url]
|
||||
|
||||
for arg in [args.project, args.version, args.category]:
|
||||
if arg != "":
|
||||
url_components.append(arg)
|
||||
|
||||
return str.join("/", url_components)
|
||||
|
||||
|
||||
def make_url_options(args: argparse.Namespace) -> str:
|
||||
options: List[str] = []
|
||||
|
||||
if args.all:
|
||||
options += "all=true"
|
||||
|
||||
ret = str.join("&", options)
|
||||
if ret != "":
|
||||
return "?" + ret
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
||||
def make_url(args: argparse.Namespace) -> str:
|
||||
url = make_slug_url(args)
|
||||
url += make_url_options(args)
|
||||
return url
|
||||
|
||||
|
||||
# def dict_filter(input: list, *keys) -> dict:
|
||||
# output: list = []
|
||||
# for d in input:
|
||||
# output.append(dict((k, d[k]) for k in keys))
|
||||
# return output
|
||||
|
||||
|
||||
fields = [
|
||||
"csv_version",
|
||||
"timestamp",
|
||||
"git_hash",
|
||||
"code_matching",
|
||||
"code_total",
|
||||
"boot/matching",
|
||||
"boot/total",
|
||||
"code/matching",
|
||||
"code/total",
|
||||
"overlays/matching",
|
||||
"overlays/total",
|
||||
"asm",
|
||||
"nonmatching_functions_count",
|
||||
"assets_identified",
|
||||
"assets_total",
|
||||
"archives/identified",
|
||||
"archives/total",
|
||||
"audio/identified",
|
||||
"audio/total",
|
||||
"interface/identified",
|
||||
"interface/total",
|
||||
"misc/identified",
|
||||
"misc/total",
|
||||
"objects/identified",
|
||||
"objects/total",
|
||||
"scenes/identified",
|
||||
"scenes/total",
|
||||
"text/identified",
|
||||
"text/total",
|
||||
]
|
||||
extra_fields = [
|
||||
"csv_version",
|
||||
"timestamp",
|
||||
"git_hash",
|
||||
"code_decompiled",
|
||||
"code_total",
|
||||
"boot/decompiled",
|
||||
"boot/total",
|
||||
"code/decompiled",
|
||||
"code/total",
|
||||
"overlays/decompiled",
|
||||
"overlays/total",
|
||||
"asm",
|
||||
"nonmatching_functions_count",
|
||||
"assets_debinarised",
|
||||
"assets_total",
|
||||
"archives/debinarised",
|
||||
"archives/total",
|
||||
"audio/debinarised",
|
||||
"audio/total",
|
||||
"interface/debinarised",
|
||||
"interface/total",
|
||||
"misc/debinarised",
|
||||
"misc/total",
|
||||
"objects/debinarised",
|
||||
"objects/total",
|
||||
"scenes/debinarised",
|
||||
"scenes/total",
|
||||
"text/debinarised",
|
||||
"text/total",
|
||||
]
|
||||
|
||||
categories = [
|
||||
"default",
|
||||
"boot",
|
||||
"code",
|
||||
"overlays",
|
||||
"assets",
|
||||
"archives",
|
||||
"audio",
|
||||
"interface",
|
||||
"misc",
|
||||
"objects",
|
||||
"scenes",
|
||||
"text",
|
||||
]
|
||||
|
||||
|
||||
def double_csv_to_json(
|
||||
input: Iterable[str], extra_input: Iterable[str], output: List[Any]
|
||||
) -> None:
|
||||
csv_reader = csv.DictReader(input, fields)
|
||||
extra_csv_reader = csv.DictReader(extra_input, extra_fields)
|
||||
|
||||
for row in csv_reader:
|
||||
new_row: Dict[str, Any] = {}
|
||||
for field in row:
|
||||
measure = str.split(field, "/")
|
||||
category = measure[0]
|
||||
if category in categories:
|
||||
if category not in new_row:
|
||||
new_row[category] = {}
|
||||
new_row[category][measure[1]] = int(row[field])
|
||||
elif category in ["csv_version"]:
|
||||
continue
|
||||
elif category in ["git_hash"]:
|
||||
new_row[category] = row.get(field)
|
||||
elif category in ["timestamp"]:
|
||||
new_row[category] = int(row[field])
|
||||
else:
|
||||
if "default" not in new_row:
|
||||
new_row["default"] = {}
|
||||
new_row["default"][category] = int(row[field])
|
||||
|
||||
if extra_input:
|
||||
# For brevity this makes assumptions about the categories being present in the primary
|
||||
extra_row: Dict[str, Any] = extra_csv_reader.__next__()
|
||||
for field in extra_row:
|
||||
measure = str.split(field, "/")
|
||||
category = measure[0]
|
||||
if category in categories:
|
||||
if category not in new_row:
|
||||
new_row[category] = {}
|
||||
if measure[1] not in new_row[category]:
|
||||
new_row[category][measure[1]] = int(extra_row[field])
|
||||
elif category in ["csv_version", "timestamp", "git_hash"]:
|
||||
continue
|
||||
# new_row[category] = row.get(field)
|
||||
else:
|
||||
if "default" not in new_row:
|
||||
new_row["default"] = {}
|
||||
if category not in new_row["default"]:
|
||||
new_row["default"][category] = int(extra_row[field])
|
||||
|
||||
output.append(new_row)
|
||||
|
||||
# filter_fields = [
|
||||
# "timestamp",
|
||||
# "git_hash",
|
||||
# "matching_bytes",
|
||||
# "total_bytes",
|
||||
# ]
|
||||
# output = dict_filter(output, filter_fields)
|
||||
# print(output)
|
||||
|
||||
|
||||
# def confuse_dicts(input, output: dict):
|
||||
# mid = []
|
||||
# for row in input:
|
||||
# newRow = {}
|
||||
# for category in categories:
|
||||
# newRow[category] = {}
|
||||
# for field in ["timestamp", "git_hash"]:
|
||||
# newRow[category][field] = row.get(field)
|
||||
# for field in row.get(category):
|
||||
# newRow[category][field] = row.get(category).get(field)
|
||||
# mid.append(newRow)
|
||||
|
||||
# for category in categories:
|
||||
# output[category] = []
|
||||
# for row in mid:
|
||||
# output[category].append(row.get(category))
|
||||
|
||||
|
||||
# def csv_to_category_json(args: argparse.Namespace, input):
|
||||
# ...
|
||||
|
||||
|
||||
test_csv_input = """
|
||||
2,1615435438,e788bfecbfb10afd4182332db99bb562ea75b1de,103860,4747584,31572,86064,58624,1065936,13664,3595584,4597948,49,0,40816656,0,434608,0,6029280,0,801520,0,3900928,0,13518304,0,15695712,0,436304
|
||||
2,1660614141,bb96e47f8df9fa42e2120b7acda90432bacfde39,3143604,4747584,78172,86064,507828,1065936,2557604,3595584,1613196,31,3592092,40816656,0,434608,0,6029280,80976,801520,328616,3900928,3146908,13518304,35592,15695712,0,436304
|
||||
"""
|
||||
|
||||
test_extra_csv_input = """
|
||||
2,1615435438,e788bfecbfb10afd4182332db99bb562ea75b1de,120152,4747584,36352,86064,70136,1065936,13664,3595584,4582152,0,0,40816656,0,434608,0,6029280,0,801520,0,3900928,0,13518304,0,15695712,0,436304
|
||||
2,1660614141,bb96e47f8df9fa42e2120b7acda90432bacfde39,3177404,4747584,78544,86064,522780,1065936,2576080,3595584,1579396,0,29774016,40816656,0,434608,0,6029280,80976,801520,479024,3900928,13518304,13518304,15695712,15695712,0,436304
|
||||
"""
|
||||
|
||||
|
||||
def main() -> None:
|
||||
description = "Talk to frogress."
|
||||
epilog = ""
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
description=description,
|
||||
epilog=epilog,
|
||||
formatter_class=argparse.RawTextHelpFormatter,
|
||||
)
|
||||
# parser.add_argument("base_url", help="")
|
||||
parser.add_argument("-p", "--project", help="", default="")
|
||||
parser.add_argument("-v", "--version", help="", default="")
|
||||
parser.add_argument("-c", "--category", help="", default="")
|
||||
parser.add_argument(
|
||||
"-a",
|
||||
"--all",
|
||||
help="fetch history instead of just most recent entry",
|
||||
action="store_true",
|
||||
)
|
||||
|
||||
args = parser.parse_args()
|
||||
url = make_url(args)
|
||||
url += "/"
|
||||
url += "?format=json"
|
||||
print(url)
|
||||
|
||||
# with requests.get(url) as r:
|
||||
# print(r.status_code)
|
||||
# if r.status_code == 200:
|
||||
# result = r.json()
|
||||
# try:
|
||||
# string = json.dumps(result, sort_keys=True, indent=4)
|
||||
# print(string)
|
||||
# except:
|
||||
# print("No idea what this package thought was wrong")
|
||||
|
||||
# result = subprocess.run(["curl", "-s", url], stdout=subprocess.PIPE)
|
||||
# print(result.stdout)
|
||||
# print(result)
|
||||
# try:
|
||||
# data = json.loads(result.stdout.decode())
|
||||
# string = json.dumps(data, sort_keys=True, indent=4)
|
||||
# print(string)
|
||||
# except:
|
||||
# print("Malformed JSON returned, is this URL not implemented yet?")
|
||||
|
||||
# with StringIO(test_csv_input) as f:
|
||||
# output = []
|
||||
# csv_to_json(f, output)
|
||||
# # for entry in output:
|
||||
# # string = json.dumps(entry, indent=4)
|
||||
# # print(string)
|
||||
|
||||
# # confused_output = []
|
||||
# # confuse_dicts(output, confused_output)
|
||||
# # for entry in confused_output:
|
||||
# # string = json.dumps(entry, indent=4)
|
||||
# # print(string)
|
||||
# confused_output = {}
|
||||
# confuse_dicts(output, confused_output)
|
||||
# string = json.dumps(confused_output, indent=4)
|
||||
# print(string)
|
||||
|
||||
with StringIO(test_csv_input) as f:
|
||||
with StringIO(test_extra_csv_input) as g:
|
||||
output: List[Any] = []
|
||||
double_csv_to_json(f, g, output)
|
||||
request_body = {"api_key": "2", "data": output}
|
||||
string = json.dumps(request_body, indent=4)
|
||||
print(request_body)
|
||||
# for entry in output:
|
||||
# string = json.dumps(entry, indent=4)
|
||||
# print(string)
|
||||
|
||||
# confused_output = []
|
||||
# confuse_dicts(output, confused_output)
|
||||
# for entry in confused_output:
|
||||
# string = json.dumps(entry, indent=4)
|
||||
# print(string)
|
||||
# confused_output = {}
|
||||
# confuse_dicts(output, confused_output)
|
||||
# string = json.dumps(confused_output, indent=4)
|
||||
# print(string)
|
||||
|
||||
with requests.post(url, json=request_body) as r:
|
||||
print(r.status_code)
|
||||
print(r.text)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
|
@ -0,0 +1,85 @@
|
|||
#! /usr/bin/env python3
|
||||
import argparse
|
||||
import requests
|
||||
from typing import List
|
||||
|
||||
BASE_URL = "http://127.0.0.1:8000/projects"
|
||||
|
||||
|
||||
def make_slug_url(args: argparse.Namespace) -> str:
|
||||
if BASE_URL:
|
||||
url_components = [BASE_URL]
|
||||
else:
|
||||
url_components = [args.base_url]
|
||||
|
||||
for arg in [args.project, args.version]:
|
||||
if arg != "":
|
||||
url_components.append(arg)
|
||||
|
||||
return str.join("/", url_components)
|
||||
|
||||
|
||||
def make_url_options(args: argparse.Namespace) -> str:
|
||||
options: List[str] = []
|
||||
|
||||
ret = str.join("&", options)
|
||||
if ret != "":
|
||||
return "?" + ret
|
||||
else:
|
||||
return ""
|
||||
|
||||
|
||||
def make_url(args: argparse.Namespace) -> str:
|
||||
url = make_slug_url(args)
|
||||
url += make_url_options(args)
|
||||
return url
|
||||
|
||||
|
||||
categories = [
|
||||
# "default",
|
||||
# "boot",
|
||||
# "code",
|
||||
# "overlays",
|
||||
"assets",
|
||||
"archives",
|
||||
"audio",
|
||||
"interface",
|
||||
"misc",
|
||||
"objects",
|
||||
"scenes",
|
||||
"text",
|
||||
]
|
||||
|
||||
|
||||
def main() -> None:
|
||||
description = "Make categories."
|
||||
epilog = ""
|
||||
|
||||
parser = argparse.ArgumentParser(
|
||||
description=description,
|
||||
epilog=epilog,
|
||||
formatter_class=argparse.RawTextHelpFormatter,
|
||||
)
|
||||
# parser.add_argument("base_url", help="")
|
||||
parser.add_argument("-p", "--project", help="", default="")
|
||||
parser.add_argument("-v", "--version", help="", default="")
|
||||
|
||||
args = parser.parse_args()
|
||||
url = make_url(args)
|
||||
url += "/"
|
||||
url += "?format=json"
|
||||
print(url)
|
||||
|
||||
request_data = {}
|
||||
for cat in categories:
|
||||
request_data[cat] = cat.capitalize()
|
||||
|
||||
request_json = {"api_key": "2", "data": request_data}
|
||||
|
||||
with requests.post(url, json=request_json) as r:
|
||||
print(r.status_code)
|
||||
print(r.text)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
|
@ -0,0 +1,18 @@
|
|||
# Generated by Django 4.1 on 2022-08-25 05:28
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("frog_api", "0006_alter_project_auth_key"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="entry",
|
||||
name="timestamp",
|
||||
field=models.IntegerField(),
|
||||
),
|
||||
]
|
|
@ -67,7 +67,7 @@ class Entry(models.Model):
|
|||
last_updated = models.DateTimeField(auto_now=True)
|
||||
|
||||
category = models.ForeignKey(Category, on_delete=models.CASCADE)
|
||||
timestamp = models.DateTimeField()
|
||||
timestamp = models.IntegerField()
|
||||
git_hash = models.CharField(max_length=40)
|
||||
|
||||
class Meta:
|
||||
|
|
|
@ -3,6 +3,10 @@ from frog_api import views
|
|||
|
||||
urlpatterns = [
|
||||
path("projects/", views.ProjectView.as_view()),
|
||||
re_path(
|
||||
"projects/(?P<project>.+)/(?P<version>.+)/$",
|
||||
views.AddNewCategoryView.as_view(),
|
||||
),
|
||||
re_path(
|
||||
"data/(?P<project>.+)/(?P<version>.+)/(?P<category>.+)/$",
|
||||
views.CategoryDigestView.as_view(),
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
from typing import Any
|
||||
from typing import Any, List
|
||||
from rest_framework import status
|
||||
from rest_framework.exceptions import APIException
|
||||
from rest_framework.response import Response
|
||||
from rest_framework.request import Request
|
||||
from rest_framework.views import APIView
|
||||
from django.db import models
|
||||
import json
|
||||
|
||||
from frog_api.models import Category, Entry, Project, Version
|
||||
from frog_api.models import Category, Entry, Measure, Project, Version
|
||||
from frog_api.serializers import (
|
||||
ProjectSerializer,
|
||||
TerseEntrySerializer,
|
||||
|
@ -16,6 +18,19 @@ class MissingModelException(APIException):
|
|||
status_code = status.HTTP_404_NOT_FOUND
|
||||
|
||||
|
||||
class InvalidAPIKeyException(APIException):
|
||||
status_code = status.HTTP_403_FORBIDDEN
|
||||
|
||||
|
||||
class InvalidDataException(APIException):
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
|
||||
|
||||
# Maybe?
|
||||
class AlreadyExistsException(APIException):
|
||||
status_code = status.HTTP_400_BAD_REQUEST
|
||||
|
||||
|
||||
class ProjectView(APIView):
|
||||
"""
|
||||
API endpoint that allows projects to be viewed.
|
||||
|
@ -66,7 +81,7 @@ def get_latest_entry(project: str, version: str, category: str) -> dict[Any, Any
|
|||
def get_versions_digest_for_project(project: str) -> dict[Any, Any]:
|
||||
versions = {}
|
||||
for version in Version.objects.filter(project__slug=project):
|
||||
entry = get_latest_entry(project, version.slug, "total")
|
||||
entry = get_latest_entry(project, version.slug, "default")
|
||||
if entry is not None:
|
||||
versions[version.slug] = entry
|
||||
return versions
|
||||
|
@ -113,6 +128,61 @@ class ProjectDigestView(APIView):
|
|||
return Response({"progress": projects})
|
||||
|
||||
|
||||
def write_new_entries(request: Request, project: str, version: str) -> List[Any]:
|
||||
found_project = Project.objects.filter(slug=project).first()
|
||||
if not found_project:
|
||||
raise MissingModelException(f"Project {project} not found")
|
||||
|
||||
found_version = Version.objects.filter(slug=version, project__slug=project).first()
|
||||
if not found_version:
|
||||
raise MissingModelException(
|
||||
f"Version '{version}' not found for project '{project}'"
|
||||
)
|
||||
|
||||
print(request.data)
|
||||
input = request.data
|
||||
|
||||
if "api_key" not in input:
|
||||
raise InvalidAPIKeyException(f"No api_key provided, cannot POST.")
|
||||
if input["api_key"] != found_project.auth_key:
|
||||
raise InvalidAPIKeyException(
|
||||
f"Provided api_key does not match authorization, cannot POST."
|
||||
)
|
||||
|
||||
to_save: List[models.Model] = []
|
||||
for row in input["data"]:
|
||||
timestamp = row["timestamp"]
|
||||
git_hash = row["git_hash"]
|
||||
for cat in row:
|
||||
if cat in ["timestamp", "git_hash"]:
|
||||
continue
|
||||
if type(row[cat]) is not dict:
|
||||
continue
|
||||
|
||||
category = Category.objects.filter(
|
||||
slug=cat, version__slug=version, version__project__slug=project
|
||||
).first()
|
||||
if not category:
|
||||
raise MissingModelException(
|
||||
f"Attempted to write to Category '{cat}' not found in project '{project}', version '{version}'"
|
||||
)
|
||||
|
||||
entry = Entry(category=category, timestamp=timestamp, git_hash=git_hash)
|
||||
print(entry)
|
||||
to_save.append(entry)
|
||||
|
||||
for measure_type in row[cat]:
|
||||
value = row[cat][measure_type]
|
||||
if type(value) != int:
|
||||
raise InvalidDataException(f"{cat}:{measure_type} must be an int")
|
||||
to_save.append(Measure(entry=entry, type=measure_type, value=value))
|
||||
|
||||
for s in to_save:
|
||||
s.save()
|
||||
|
||||
return []
|
||||
|
||||
|
||||
class VersionDigestView(APIView):
|
||||
"""
|
||||
API endpoint that returns the most recent entry for overall progress for a version of a project.
|
||||
|
@ -123,10 +193,16 @@ class VersionDigestView(APIView):
|
|||
Return the most recent entry for overall progress for a version of a project.
|
||||
"""
|
||||
|
||||
entry = get_latest_entry(project, version, "total")
|
||||
entry = get_latest_entry(project, version, "default")
|
||||
|
||||
return Response(entry)
|
||||
|
||||
def post(self, request: Request, project: str, version: str) -> Response:
|
||||
|
||||
result = write_new_entries(request, project, version)
|
||||
|
||||
return Response(result, status=status.HTTP_201_CREATED)
|
||||
|
||||
|
||||
class CategoryDigestView(APIView):
|
||||
"""
|
||||
|
@ -143,3 +219,53 @@ class CategoryDigestView(APIView):
|
|||
entry = get_latest_entry(project, version, category)
|
||||
|
||||
return Response(entry)
|
||||
|
||||
|
||||
def add_new_category(request: Request, project: str, version: str) -> List[Any]:
|
||||
found_project = Project.objects.filter(slug=project).first()
|
||||
if not found_project:
|
||||
raise MissingModelException(f"Project {project} not found")
|
||||
|
||||
found_version = Version.objects.filter(slug=version, project__slug=project).first()
|
||||
if not found_version:
|
||||
raise MissingModelException(
|
||||
f"Version '{version}' not found for project '{project}'"
|
||||
)
|
||||
|
||||
print(request.data)
|
||||
input = request.data
|
||||
categories = input["data"]
|
||||
|
||||
if "api_key" not in input:
|
||||
raise InvalidAPIKeyException(f"No api_key provided, cannot POST.")
|
||||
if input["api_key"] != found_project.auth_key:
|
||||
raise InvalidAPIKeyException(
|
||||
f"Provided api_key does not match authorization, cannot POST."
|
||||
)
|
||||
|
||||
to_save = []
|
||||
for cat in categories:
|
||||
if Category.objects.filter(
|
||||
slug=cat, version__slug=version, version__project__slug=project
|
||||
).exists():
|
||||
raise AlreadyExistsException(
|
||||
f"Category {cat} already exists for project '{project}', version '{version}'"
|
||||
)
|
||||
to_save.append(Category(version=found_version, slug=cat, name=categories[cat]))
|
||||
|
||||
for s in to_save:
|
||||
s.save()
|
||||
|
||||
return []
|
||||
|
||||
|
||||
class AddNewCategoryView(APIView):
|
||||
"""
|
||||
API endpoint for adding new categories
|
||||
"""
|
||||
|
||||
def post(self, request: Request, project: str, version: str) -> Response:
|
||||
|
||||
result = add_new_category(request, project, version)
|
||||
|
||||
return Response(result, status=status.HTTP_201_CREATED)
|
||||
|
|
|
@ -52,10 +52,6 @@ MIDDLEWARE = [
|
|||
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
||||
]
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
"DATETIME_FORMAT": "%s",
|
||||
}
|
||||
|
||||
ROOT_URLCONF = "frogress.urls"
|
||||
|
||||
TEMPLATES = [
|
||||
|
|
|
@ -7,7 +7,7 @@ optional = false
|
|||
python-versions = ">=3.7"
|
||||
|
||||
[package.extras]
|
||||
tests = ["pytest", "pytest-asyncio", "mypy (>=0.800)"]
|
||||
tests = ["mypy (>=0.800)", "pytest-asyncio", "pytest"]
|
||||
|
||||
[[package]]
|
||||
name = "backports.zoneinfo"
|
||||
|
@ -37,10 +37,10 @@ tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""}
|
|||
typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""}
|
||||
|
||||
[package.extras]
|
||||
colorama = ["colorama (>=0.4.3)"]
|
||||
d = ["aiohttp (>=3.7.4)"]
|
||||
jupyter = ["ipython (>=7.8.0)", "tokenize-rt (>=3.2.0)"]
|
||||
uvloop = ["uvloop (>=0.15.2)"]
|
||||
jupyter = ["tokenize-rt (>=3.2.0)", "ipython (>=7.8.0)"]
|
||||
d = ["aiohttp (>=3.7.4)"]
|
||||
colorama = ["colorama (>=0.4.3)"]
|
||||
|
||||
[[package]]
|
||||
name = "certifi"
|
||||
|
@ -52,7 +52,7 @@ python-versions = ">=3.6"
|
|||
|
||||
[[package]]
|
||||
name = "charset-normalizer"
|
||||
version = "2.1.0"
|
||||
version = "2.1.1"
|
||||
description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet."
|
||||
category = "dev"
|
||||
optional = false
|
||||
|
@ -120,8 +120,8 @@ sqlparse = ">=0.2.2"
|
|||
tzdata = {version = "*", markers = "sys_platform == \"win32\""}
|
||||
|
||||
[package.extras]
|
||||
argon2 = ["argon2-cffi (>=19.1.0)"]
|
||||
bcrypt = ["bcrypt"]
|
||||
argon2 = ["argon2-cffi (>=19.1.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "django-nested-admin"
|
||||
|
@ -252,9 +252,9 @@ tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""}
|
|||
typing-extensions = ">=3.10"
|
||||
|
||||
[package.extras]
|
||||
dmypy = ["psutil (>=4.0)"]
|
||||
python2 = ["typed-ast (>=1.4.0,<2)"]
|
||||
reports = ["lxml"]
|
||||
python2 = ["typed-ast (>=1.4.0,<2)"]
|
||||
dmypy = ["psutil (>=4.0)"]
|
||||
|
||||
[[package]]
|
||||
name = "mypy-extensions"
|
||||
|
@ -281,16 +281,8 @@ optional = false
|
|||
python-versions = ">=3.7"
|
||||
|
||||
[package.extras]
|
||||
docs = ["furo (>=2021.7.5b38)", "proselint (>=0.10.2)", "sphinx-autodoc-typehints (>=1.12)", "sphinx (>=4)"]
|
||||
test = ["appdirs (==1.4.4)", "pytest-cov (>=2.7)", "pytest-mock (>=3.6)", "pytest (>=6)"]
|
||||
|
||||
[[package]]
|
||||
name = "psycopg2-binary"
|
||||
version = "2.9.3"
|
||||
description = "psycopg2 - Python-PostgreSQL Database Adapter"
|
||||
category = "main"
|
||||
optional = false
|
||||
python-versions = ">=3.6"
|
||||
test = ["pytest (>=6)", "pytest-mock (>=3.6)", "pytest-cov (>=2.7)", "appdirs (==1.4.4)"]
|
||||
docs = ["sphinx (>=4)", "sphinx-autodoc-typehints (>=1.12)", "proselint (>=0.10.2)", "furo (>=2021.7.5b38)"]
|
||||
|
||||
[[package]]
|
||||
name = "python-monkey-business"
|
||||
|
@ -326,8 +318,8 @@ idna = ">=2.5,<4"
|
|||
urllib3 = ">=1.21.1,<1.27"
|
||||
|
||||
[package.extras]
|
||||
socks = ["PySocks (>=1.5.6,!=1.5.7)"]
|
||||
use_chardet_on_py3 = ["chardet (>=3.0.2,<6)"]
|
||||
socks = ["PySocks (>=1.5.6,!=1.5.7)"]
|
||||
|
||||
[[package]]
|
||||
name = "six"
|
||||
|
@ -355,7 +347,7 @@ python-versions = ">=3.7"
|
|||
|
||||
[[package]]
|
||||
name = "types-markdown"
|
||||
version = "3.4.0"
|
||||
version = "3.4.1"
|
||||
description = "Typing stubs for Markdown"
|
||||
category = "dev"
|
||||
optional = false
|
||||
|
@ -422,7 +414,7 @@ python-versions = ">=3.6"
|
|||
|
||||
[[package]]
|
||||
name = "urllib3"
|
||||
version = "1.26.11"
|
||||
version = "1.26.12"
|
||||
description = "HTTP library with thread-safe connection pooling, file post, and more."
|
||||
category = "dev"
|
||||
optional = false
|
||||
|
@ -430,20 +422,37 @@ python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*,
|
|||
|
||||
[package.extras]
|
||||
brotli = ["brotlicffi (>=0.8.0)", "brotli (>=1.0.9)", "brotlipy (>=0.6.0)"]
|
||||
secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"]
|
||||
secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "urllib3-secure-extra", "ipaddress"]
|
||||
socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"]
|
||||
|
||||
[metadata]
|
||||
lock-version = "1.1"
|
||||
python-versions = "^3.8"
|
||||
content-hash = "0dbaf47574a3614ffc93deed76368770fd42f98f9893e82da65b5c106b7d793c"
|
||||
content-hash = "0f2b98f90a72b4f82f23dbb3f3f5835462c0047fd3fb1f11717c54525275d411"
|
||||
|
||||
[metadata.files]
|
||||
asgiref = [
|
||||
{file = "asgiref-3.5.2-py3-none-any.whl", hash = "sha256:1d2880b792ae8757289136f1db2b7b99100ce959b2aa57fd69dab783d05afac4"},
|
||||
{file = "asgiref-3.5.2.tar.gz", hash = "sha256:4a29362a6acebe09bf1d6640db38c1dc3d9217c68e6f9f6204d72667fc19a424"},
|
||||
]
|
||||
"backports.zoneinfo" = []
|
||||
"backports.zoneinfo" = [
|
||||
{file = "backports.zoneinfo-0.2.1-cp36-cp36m-macosx_10_14_x86_64.whl", hash = "sha256:da6013fd84a690242c310d77ddb8441a559e9cb3d3d59ebac9aca1a57b2e18bc"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:89a48c0d158a3cc3f654da4c2de1ceba85263fafb861b98b59040a5086259722"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:1c5742112073a563c81f786e77514969acb58649bcdf6cdf0b4ed31a348d4546"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp36-cp36m-win32.whl", hash = "sha256:e8236383a20872c0cdf5a62b554b27538db7fa1bbec52429d8d106effbaeca08"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp36-cp36m-win_amd64.whl", hash = "sha256:8439c030a11780786a2002261569bdf362264f605dfa4d65090b64b05c9f79a7"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:f04e857b59d9d1ccc39ce2da1021d196e47234873820cbeaad210724b1ee28ac"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:17746bd546106fa389c51dbea67c8b7c8f0d14b5526a579ca6ccf5ed72c526cf"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:5c144945a7752ca544b4b78c8c41544cdfaf9786f25fe5ffb10e838e19a27570"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp37-cp37m-win32.whl", hash = "sha256:e55b384612d93be96506932a786bbcde5a2db7a9e6a4bb4bffe8b733f5b9036b"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a76b38c52400b762e48131494ba26be363491ac4f9a04c1b7e92483d169f6582"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp38-cp38-macosx_10_14_x86_64.whl", hash = "sha256:8961c0f32cd0336fb8e8ead11a1f8cd99ec07145ec2931122faaac1c8f7fd987"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:e81b76cace8eda1fca50e345242ba977f9be6ae3945af8d46326d776b4cf78d1"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7b0a64cda4145548fed9efc10322770f929b944ce5cee6c0dfe0c87bf4c0c8c9"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp38-cp38-win32.whl", hash = "sha256:1b13e654a55cd45672cb54ed12148cd33628f672548f373963b0bff67b217328"},
|
||||
{file = "backports.zoneinfo-0.2.1-cp38-cp38-win_amd64.whl", hash = "sha256:4a0f800587060bf8880f954dbef70de6c11bbe59c673c3d818921f042f9954a6"},
|
||||
{file = "backports.zoneinfo-0.2.1.tar.gz", hash = "sha256:fadbfe37f74051d024037f223b8e001611eac868b5c5b06144ef4d8b799862f2"},
|
||||
]
|
||||
black = [
|
||||
{file = "black-22.6.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f586c26118bc6e714ec58c09df0157fe2d9ee195c764f630eb0d8e7ccce72e69"},
|
||||
{file = "black-22.6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b270a168d69edb8b7ed32c193ef10fd27844e5c60852039599f9184460ce0807"},
|
||||
|
@ -474,8 +483,8 @@ certifi = [
|
|||
{file = "certifi-2022.6.15.tar.gz", hash = "sha256:84c85a9078b11105f04f3036a9482ae10e4621616db313fe045dd24743a0820d"},
|
||||
]
|
||||
charset-normalizer = [
|
||||
{file = "charset-normalizer-2.1.0.tar.gz", hash = "sha256:575e708016ff3a5e3681541cb9d79312c416835686d054a23accb873b254f413"},
|
||||
{file = "charset_normalizer-2.1.0-py3-none-any.whl", hash = "sha256:5189b6f22b01957427f35b6a08d9a0bc45b46d3788ef5a92e978433c7a35f8a5"},
|
||||
{file = "charset-normalizer-2.1.1.tar.gz", hash = "sha256:5a3d016c7c547f69d6f81fb0db9449ce888b418b5b9952cc5e6e66843e9dd845"},
|
||||
{file = "charset_normalizer-2.1.1-py3-none-any.whl", hash = "sha256:83e9a75d1911279afd89352c68b45348559d1fc0506b054b346651b5e7fee29f"},
|
||||
]
|
||||
click = [
|
||||
{file = "click-8.1.3-py3-none-any.whl", hash = "sha256:bb4d8133cb15a609f44e8213d9b391b0809795062913b383c62be0ee95b1db48"},
|
||||
|
@ -493,10 +502,22 @@ coreschema = [
|
|||
{file = "coreschema-0.0.4-py2-none-any.whl", hash = "sha256:5e6ef7bf38c1525d5e55a895934ab4273548629f16aed5c0a6caa74ebf45551f"},
|
||||
{file = "coreschema-0.0.4.tar.gz", hash = "sha256:9503506007d482ab0867ba14724b93c18a33b22b6d19fb419ef2d239dd4a1607"},
|
||||
]
|
||||
django = []
|
||||
django-nested-admin = []
|
||||
django-stubs = []
|
||||
django-stubs-ext = []
|
||||
django = [
|
||||
{file = "Django-4.1-py3-none-any.whl", hash = "sha256:031ccb717782f6af83a0063a1957686e87cb4581ea61b47b3e9addf60687989a"},
|
||||
{file = "Django-4.1.tar.gz", hash = "sha256:032f8a6fc7cf05ccd1214e4a2e21dfcd6a23b9d575c6573cacc8c67828dbe642"},
|
||||
]
|
||||
django-nested-admin = [
|
||||
{file = "django-nested-admin-3.4.0.tar.gz", hash = "sha256:fbcf20d75a73dcbcc6285793ff936eff8df4deba5b169e0c1ab765394c562805"},
|
||||
{file = "django_nested_admin-3.4.0-py2.py3-none-any.whl", hash = "sha256:c6852c5ac632f4e698b6beda455006fd464c852459e5e858a6db832cdb23d9e1"},
|
||||
]
|
||||
django-stubs = [
|
||||
{file = "django-stubs-1.12.0.tar.gz", hash = "sha256:ea8b35d0da49f7b2ee99a79125f1943e033431dd114726d6643cc35de619230e"},
|
||||
{file = "django_stubs-1.12.0-py3-none-any.whl", hash = "sha256:0dff8ec0ba3abe046450b3d8a29ce9e72629893d2c1ef679189cc2bfdb6d2f64"},
|
||||
]
|
||||
django-stubs-ext = [
|
||||
{file = "django-stubs-ext-0.5.0.tar.gz", hash = "sha256:9bd7418376ab00b7f88d6d56be9fece85bfa0c7c348ac621155fa4d7a91146f2"},
|
||||
{file = "django_stubs_ext-0.5.0-py3-none-any.whl", hash = "sha256:c5d8db53d29c756e7e3d0820a5a079a43bc38d8fab0e1b8bd5df2f3366c54b5a"},
|
||||
]
|
||||
djangorestframework = [
|
||||
{file = "djangorestframework-3.13.1-py3-none-any.whl", hash = "sha256:24c4bf58ed7e85d1fe4ba250ab2da926d263cd57d64b03e8dcef0ac683f8b1aa"},
|
||||
{file = "djangorestframework-3.13.1.tar.gz", hash = "sha256:0c33407ce23acc68eca2a6e46424b008c9c02eceb8cf18581921d0092bc1f2ee"},
|
||||
|
@ -559,7 +580,31 @@ markupsafe = [
|
|||
{file = "MarkupSafe-2.1.1-cp39-cp39-win_amd64.whl", hash = "sha256:46d00d6cfecdde84d40e572d63735ef81423ad31184100411e6e3388d405e247"},
|
||||
{file = "MarkupSafe-2.1.1.tar.gz", hash = "sha256:7f91197cc9e48f989d12e4e6fbc46495c446636dfc81b9ccf50bb0ec74b91d4b"},
|
||||
]
|
||||
mypy = []
|
||||
mypy = [
|
||||
{file = "mypy-0.971-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:f2899a3cbd394da157194f913a931edfd4be5f274a88041c9dc2d9cdcb1c315c"},
|
||||
{file = "mypy-0.971-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:98e02d56ebe93981c41211c05adb630d1d26c14195d04d95e49cd97dbc046dc5"},
|
||||
{file = "mypy-0.971-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:19830b7dba7d5356d3e26e2427a2ec91c994cd92d983142cbd025ebe81d69cf3"},
|
||||
{file = "mypy-0.971-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:02ef476f6dcb86e6f502ae39a16b93285fef97e7f1ff22932b657d1ef1f28655"},
|
||||
{file = "mypy-0.971-cp310-cp310-win_amd64.whl", hash = "sha256:25c5750ba5609a0c7550b73a33deb314ecfb559c350bb050b655505e8aed4103"},
|
||||
{file = "mypy-0.971-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:d3348e7eb2eea2472db611486846742d5d52d1290576de99d59edeb7cd4a42ca"},
|
||||
{file = "mypy-0.971-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:3fa7a477b9900be9b7dd4bab30a12759e5abe9586574ceb944bc29cddf8f0417"},
|
||||
{file = "mypy-0.971-cp36-cp36m-win_amd64.whl", hash = "sha256:2ad53cf9c3adc43cf3bea0a7d01a2f2e86db9fe7596dfecb4496a5dda63cbb09"},
|
||||
{file = "mypy-0.971-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:855048b6feb6dfe09d3353466004490b1872887150c5bb5caad7838b57328cc8"},
|
||||
{file = "mypy-0.971-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:23488a14a83bca6e54402c2e6435467a4138785df93ec85aeff64c6170077fb0"},
|
||||
{file = "mypy-0.971-cp37-cp37m-win_amd64.whl", hash = "sha256:4b21e5b1a70dfb972490035128f305c39bc4bc253f34e96a4adf9127cf943eb2"},
|
||||
{file = "mypy-0.971-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:9796a2ba7b4b538649caa5cecd398d873f4022ed2333ffde58eaf604c4d2cb27"},
|
||||
{file = "mypy-0.971-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:5a361d92635ad4ada1b1b2d3630fc2f53f2127d51cf2def9db83cba32e47c856"},
|
||||
{file = "mypy-0.971-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:b793b899f7cf563b1e7044a5c97361196b938e92f0a4343a5d27966a53d2ec71"},
|
||||
{file = "mypy-0.971-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d1ea5d12c8e2d266b5fb8c7a5d2e9c0219fedfeb493b7ed60cd350322384ac27"},
|
||||
{file = "mypy-0.971-cp38-cp38-win_amd64.whl", hash = "sha256:23c7ff43fff4b0df93a186581885c8512bc50fc4d4910e0f838e35d6bb6b5e58"},
|
||||
{file = "mypy-0.971-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:1f7656b69974a6933e987ee8ffb951d836272d6c0f81d727f1d0e2696074d9e6"},
|
||||
{file = "mypy-0.971-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:d2022bfadb7a5c2ef410d6a7c9763188afdb7f3533f22a0a32be10d571ee4bbe"},
|
||||
{file = "mypy-0.971-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:ef943c72a786b0f8d90fd76e9b39ce81fb7171172daf84bf43eaf937e9f220a9"},
|
||||
{file = "mypy-0.971-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d744f72eb39f69312bc6c2abf8ff6656973120e2eb3f3ec4f758ed47e414a4bf"},
|
||||
{file = "mypy-0.971-cp39-cp39-win_amd64.whl", hash = "sha256:77a514ea15d3007d33a9e2157b0ba9c267496acf12a7f2b9b9f8446337aac5b0"},
|
||||
{file = "mypy-0.971-py3-none-any.whl", hash = "sha256:0d054ef16b071149917085f51f89555a576e2618d5d9dd70bd6eea6410af3ac9"},
|
||||
{file = "mypy-0.971.tar.gz", hash = "sha256:40b0f21484238269ae6a57200c807d80debc6459d444c0489a102d7c6a75fa56"},
|
||||
]
|
||||
mypy-extensions = [
|
||||
{file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"},
|
||||
{file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"},
|
||||
|
@ -572,71 +617,22 @@ platformdirs = [
|
|||
{file = "platformdirs-2.5.2-py3-none-any.whl", hash = "sha256:027d8e83a2d7de06bbac4e5ef7e023c02b863d7ea5d079477e722bb41ab25788"},
|
||||
{file = "platformdirs-2.5.2.tar.gz", hash = "sha256:58c8abb07dcb441e6ee4b11d8df0ac856038f944ab98b7be6b27b2a3c7feef19"},
|
||||
]
|
||||
psycopg2-binary = [
|
||||
{file = "psycopg2-binary-2.9.3.tar.gz", hash = "sha256:761df5313dc15da1502b21453642d7599d26be88bff659382f8f9747c7ebea4e"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-macosx_10_14_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:539b28661b71da7c0e428692438efbcd048ca21ea81af618d845e06ebfd29478"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6e82d38390a03da28c7985b394ec3f56873174e2c88130e6966cb1c946508e65"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:57804fc02ca3ce0dbfbef35c4b3a4a774da66d66ea20f4bda601294ad2ea6092"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-manylinux_2_24_aarch64.whl", hash = "sha256:083a55275f09a62b8ca4902dd11f4b33075b743cf0d360419e2051a8a5d5ff76"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-manylinux_2_24_ppc64le.whl", hash = "sha256:0a29729145aaaf1ad8bafe663131890e2111f13416b60e460dae0a96af5905c9"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:3a79d622f5206d695d7824cbf609a4f5b88ea6d6dab5f7c147fc6d333a8787e4"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:090f3348c0ab2cceb6dfbe6bf721ef61262ddf518cd6cc6ecc7d334996d64efa"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:a9e1f75f96ea388fbcef36c70640c4efbe4650658f3d6a2967b4cc70e907352e"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:c3ae8e75eb7160851e59adc77b3a19a976e50622e44fd4fd47b8b18208189d42"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-win32.whl", hash = "sha256:7b1e9b80afca7b7a386ef087db614faebbf8839b7f4db5eb107d0f1a53225029"},
|
||||
{file = "psycopg2_binary-2.9.3-cp310-cp310-win_amd64.whl", hash = "sha256:8b344adbb9a862de0c635f4f0425b7958bf5a4b927c8594e6e8d261775796d53"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-macosx_10_14_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:e847774f8ffd5b398a75bc1c18fbb56564cda3d629fe68fd81971fece2d3c67e"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:68641a34023d306be959101b345732360fc2ea4938982309b786f7be1b43a4a1"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3303f8807f342641851578ee7ed1f3efc9802d00a6f83c101d21c608cb864460"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-manylinux_2_24_aarch64.whl", hash = "sha256:e3699852e22aa68c10de06524a3721ade969abf382da95884e6a10ff798f9281"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-manylinux_2_24_ppc64le.whl", hash = "sha256:526ea0378246d9b080148f2d6681229f4b5964543c170dd10bf4faaab6e0d27f"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-musllinux_1_1_aarch64.whl", hash = "sha256:b1c8068513f5b158cf7e29c43a77eb34b407db29aca749d3eb9293ee0d3103ca"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-musllinux_1_1_i686.whl", hash = "sha256:15803fa813ea05bef089fa78835118b5434204f3a17cb9f1e5dbfd0b9deea5af"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-musllinux_1_1_ppc64le.whl", hash = "sha256:152f09f57417b831418304c7f30d727dc83a12761627bb826951692cc6491e57"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-musllinux_1_1_x86_64.whl", hash = "sha256:404224e5fef3b193f892abdbf8961ce20e0b6642886cfe1fe1923f41aaa75c9d"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-win32.whl", hash = "sha256:1f6b813106a3abdf7b03640d36e24669234120c72e91d5cbaeb87c5f7c36c65b"},
|
||||
{file = "psycopg2_binary-2.9.3-cp36-cp36m-win_amd64.whl", hash = "sha256:2d872e3c9d5d075a2e104540965a1cf898b52274a5923936e5bfddb58c59c7c2"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-macosx_10_14_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:10bb90fb4d523a2aa67773d4ff2b833ec00857f5912bafcfd5f5414e45280fb1"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:874a52ecab70af13e899f7847b3e074eeb16ebac5615665db33bce8a1009cf33"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a29b3ca4ec9defec6d42bf5feb36bb5817ba3c0230dd83b4edf4bf02684cd0ae"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-manylinux_2_24_aarch64.whl", hash = "sha256:12b11322ea00ad8db8c46f18b7dfc47ae215e4df55b46c67a94b4effbaec7094"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-manylinux_2_24_ppc64le.whl", hash = "sha256:53293533fcbb94c202b7c800a12c873cfe24599656b341f56e71dd2b557be063"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-musllinux_1_1_aarch64.whl", hash = "sha256:c381bda330ddf2fccbafab789d83ebc6c53db126e4383e73794c74eedce855ef"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-musllinux_1_1_i686.whl", hash = "sha256:9d29409b625a143649d03d0fd7b57e4b92e0ecad9726ba682244b73be91d2fdb"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-musllinux_1_1_ppc64le.whl", hash = "sha256:183a517a3a63503f70f808b58bfbf962f23d73b6dccddae5aa56152ef2bcb232"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:15c4e4cfa45f5a60599d9cec5f46cd7b1b29d86a6390ec23e8eebaae84e64554"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-win32.whl", hash = "sha256:adf20d9a67e0b6393eac162eb81fb10bc9130a80540f4df7e7355c2dd4af9fba"},
|
||||
{file = "psycopg2_binary-2.9.3-cp37-cp37m-win_amd64.whl", hash = "sha256:2f9ffd643bc7349eeb664eba8864d9e01f057880f510e4681ba40a6532f93c71"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-macosx_10_14_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:def68d7c21984b0f8218e8a15d514f714d96904265164f75f8d3a70f9c295667"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:dffc08ca91c9ac09008870c9eb77b00a46b3378719584059c034b8945e26b272"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:280b0bb5cbfe8039205c7981cceb006156a675362a00fe29b16fbc264e242834"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-manylinux_2_24_aarch64.whl", hash = "sha256:af9813db73395fb1fc211bac696faea4ca9ef53f32dc0cfa27e4e7cf766dcf24"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-manylinux_2_24_ppc64le.whl", hash = "sha256:63638d875be8c2784cfc952c9ac34e2b50e43f9f0a0660b65e2a87d656b3116c"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:ffb7a888a047696e7f8240d649b43fb3644f14f0ee229077e7f6b9f9081635bd"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:0c9d5450c566c80c396b7402895c4369a410cab5a82707b11aee1e624da7d004"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:d1c1b569ecafe3a69380a94e6ae09a4789bbb23666f3d3a08d06bbd2451f5ef1"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:8fc53f9af09426a61db9ba357865c77f26076d48669f2e1bb24d85a22fb52307"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-win32.whl", hash = "sha256:6472a178e291b59e7f16ab49ec8b4f3bdada0a879c68d3817ff0963e722a82ce"},
|
||||
{file = "psycopg2_binary-2.9.3-cp38-cp38-win_amd64.whl", hash = "sha256:35168209c9d51b145e459e05c31a9eaeffa9a6b0fd61689b48e07464ffd1a83e"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-macosx_10_14_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:47133f3f872faf28c1e87d4357220e809dfd3fa7c64295a4a148bcd1e6e34ec9"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:91920527dea30175cc02a1099f331aa8c1ba39bf8b7762b7b56cbf54bc5cce42"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:887dd9aac71765ac0d0bac1d0d4b4f2c99d5f5c1382d8b770404f0f3d0ce8a39"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-manylinux_2_24_aarch64.whl", hash = "sha256:1f14c8b0942714eb3c74e1e71700cbbcb415acbc311c730370e70c578a44a25c"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-manylinux_2_24_ppc64le.whl", hash = "sha256:7af0dd86ddb2f8af5da57a976d27cd2cd15510518d582b478fbb2292428710b4"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:93cd1967a18aa0edd4b95b1dfd554cf15af657cb606280996d393dadc88c3c35"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:bda845b664bb6c91446ca9609fc69f7db6c334ec5e4adc87571c34e4f47b7ddb"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:01310cf4cf26db9aea5158c217caa92d291f0500051a6469ac52166e1a16f5b7"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:99485cab9ba0fa9b84f1f9e1fef106f44a46ef6afdeec8885e0b88d0772b49e8"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-win32.whl", hash = "sha256:46f0e0a6b5fa5851bbd9ab1bc805eef362d3a230fbdfbc209f4a236d0a7a990d"},
|
||||
{file = "psycopg2_binary-2.9.3-cp39-cp39-win_amd64.whl", hash = "sha256:accfe7e982411da3178ec690baaceaad3c278652998b2c45828aaac66cd8285f"},
|
||||
python-monkey-business = [
|
||||
{file = "python-monkey-business-1.0.0.tar.gz", hash = "sha256:9976522989766f00b2aaa24ec96eacb91a6de7b7001d1452079323b071988e0e"},
|
||||
{file = "python_monkey_business-1.0.0-py2.py3-none-any.whl", hash = "sha256:6d4cf47f011945db838ccf04643acd49b82f7ad6ab7ecba4c8165385687a828a"},
|
||||
]
|
||||
pytz = [
|
||||
{file = "pytz-2022.2.1-py2.py3-none-any.whl", hash = "sha256:220f481bdafa09c3955dfbdddb7b57780e9a94f5127e35456a48589b9e0c0197"},
|
||||
{file = "pytz-2022.2.1.tar.gz", hash = "sha256:cea221417204f2d1a2aa03ddae3e867921971d0d76f14d87abb4414415bbdcf5"},
|
||||
]
|
||||
python-monkey-business = []
|
||||
pytz = []
|
||||
requests = [
|
||||
{file = "requests-2.28.1-py3-none-any.whl", hash = "sha256:8fefa2a1a1365bf5520aac41836fbee479da67864514bdb821f31ce07ce65349"},
|
||||
{file = "requests-2.28.1.tar.gz", hash = "sha256:7c5599b102feddaa661c826c56ab4fee28bfd17f5abca1ebbe3e7f19d7c97983"},
|
||||
]
|
||||
six = []
|
||||
six = [
|
||||
{file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"},
|
||||
{file = "six-1.16.0.tar.gz", hash = "sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926"},
|
||||
]
|
||||
sqlparse = [
|
||||
{file = "sqlparse-0.4.2-py3-none-any.whl", hash = "sha256:48719e356bb8b42991bdbb1e8b83223757b93789c00910a616a071910ca4a64d"},
|
||||
{file = "sqlparse-0.4.2.tar.gz", hash = "sha256:0c00730c74263a94e5a9919ade150dfc3b19c574389985446148402998287dae"},
|
||||
|
@ -645,18 +641,39 @@ tomli = [
|
|||
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},
|
||||
{file = "tomli-2.0.1.tar.gz", hash = "sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f"},
|
||||
]
|
||||
types-markdown = []
|
||||
types-pytz = []
|
||||
types-pyyaml = []
|
||||
types-requests = []
|
||||
types-urllib3 = []
|
||||
types-markdown = [
|
||||
{file = "types-Markdown-3.4.1.tar.gz", hash = "sha256:cda9bfd1fcb11e8133a037f8a184e3059ae7389a5f5cc0b53117bf2902aca10d"},
|
||||
{file = "types_Markdown-3.4.1-py3-none-any.whl", hash = "sha256:2d1e5bfff192c78d6644bc3820fea9c7c7cb42dc87558020728ec5b728448ce2"},
|
||||
]
|
||||
types-pytz = [
|
||||
{file = "types-pytz-2022.2.1.0.tar.gz", hash = "sha256:47cfb19c52b9f75896440541db392fd312a35b279c6307a531db71152ea63e2b"},
|
||||
{file = "types_pytz-2022.2.1.0-py3-none-any.whl", hash = "sha256:50ead2254b524a3d4153bc65d00289b66898060d2938e586170dce918dbaf3b3"},
|
||||
]
|
||||
types-pyyaml = [
|
||||
{file = "types-PyYAML-6.0.11.tar.gz", hash = "sha256:7f7da2fd11e9bc1e5e9eb3ea1be84f4849747017a59fc2eee0ea34ed1147c2e0"},
|
||||
{file = "types_PyYAML-6.0.11-py3-none-any.whl", hash = "sha256:8f890028123607379c63550179ddaec4517dc751f4c527a52bb61934bf495989"},
|
||||
]
|
||||
types-requests = [
|
||||
{file = "types-requests-2.28.9.tar.gz", hash = "sha256:feaf581bd580497a47fe845d506fa3b91b484cf706ff27774e87659837de9962"},
|
||||
{file = "types_requests-2.28.9-py3-none-any.whl", hash = "sha256:86cb66d3de2f53eac5c09adc42cf6547eefbd0c7e1210beca1ee751c35d96083"},
|
||||
]
|
||||
types-urllib3 = [
|
||||
{file = "types-urllib3-1.26.23.tar.gz", hash = "sha256:b78e819f0e350221d0689a5666162e467ba3910737bafda14b5c2c85e9bb1e56"},
|
||||
{file = "types_urllib3-1.26.23-py3-none-any.whl", hash = "sha256:333e675b188a1c1fd980b4b352f9e40572413a4c1ac689c23cd546e96310070a"},
|
||||
]
|
||||
typing-extensions = [
|
||||
{file = "typing_extensions-4.3.0-py3-none-any.whl", hash = "sha256:25642c956049920a5aa49edcdd6ab1e06d7e5d467fc00e0506c44ac86fbfca02"},
|
||||
{file = "typing_extensions-4.3.0.tar.gz", hash = "sha256:e6d2677a32f47fc7eb2795db1dd15c1f34eff616bcaf2cfb5e997f854fa1c4a6"},
|
||||
]
|
||||
tzdata = []
|
||||
tzdata = [
|
||||
{file = "tzdata-2022.2-py2.py3-none-any.whl", hash = "sha256:c3119520447d68ef3eb8187a55a4f44fa455f30eb1b4238fa5691ba094f2b05b"},
|
||||
{file = "tzdata-2022.2.tar.gz", hash = "sha256:21f4f0d7241572efa7f7a4fdabb052e61b55dc48274e6842697ccdf5253e5451"},
|
||||
]
|
||||
uritemplate = [
|
||||
{file = "uritemplate-4.1.1-py2.py3-none-any.whl", hash = "sha256:830c08b8d99bdd312ea4ead05994a38e8936266f84b9a7878232db50b044e02e"},
|
||||
{file = "uritemplate-4.1.1.tar.gz", hash = "sha256:4346edfc5c3b79f694bccd6d6099a322bbeb628dbf2cd86eea55a456ce5124f0"},
|
||||
]
|
||||
urllib3 = []
|
||||
urllib3 = [
|
||||
{file = "urllib3-1.26.12-py2.py3-none-any.whl", hash = "sha256:b930dd878d5a8afb066a637fbb35144fe7901e3b209d1cd4f524bd0e9deee997"},
|
||||
{file = "urllib3-1.26.12.tar.gz", hash = "sha256:3fa96cf423e6987997fc326ae8df396db2a8b7c667747d47ddd8ecba91f4a74e"},
|
||||
]
|
||||
|
|
|
@ -9,7 +9,7 @@ license = "MIT"
|
|||
python = "^3.8"
|
||||
Django = "^4.1"
|
||||
djangorestframework = "^3.13.1"
|
||||
psycopg2-binary = "^2.9.3"
|
||||
# psycopg2-binary = "^2.9.3"
|
||||
django-nested-admin = "^3.4.0"
|
||||
|
||||
[tool.poetry.dev-dependencies]
|
||||
|
|
Loading…
Reference in New Issue