Skip to content

Commit

Permalink
➕ Replace dependencies with open api framework
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenbal committed Apr 12, 2024
1 parent 7f68547 commit 18da319
Show file tree
Hide file tree
Showing 4 changed files with 345 additions and 142 deletions.
22 changes: 2 additions & 20 deletions requirements/base.in
Original file line number Diff line number Diff line change
@@ -1,29 +1,11 @@
open-api-framework

# Core python libraries
psycopg2 # database driver
python-dotenv # environment variables for secrets
python-decouple # processing of envvar configs
jsonschema

# Framework libraries
django~=4.2
django-admin-index
django-axes
django-jsonsuit
django-redis
maykin-2fa
mozilla-django-oidc-db
sharing-configs

# API libraries
djangorestframework
django-filter
drf-nested-routers
drf-spectacular

# WSGI servers & monitoring - production oriented
uwsgi
sentry-sdk # error monitoring
elastic-apm # Elastic APM integration

# Common ground libraries
commonground-api-common
134 changes: 86 additions & 48 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@
#
amqp==5.1.1
# via kombu
ape-pie==0.1.0
# via zgw-consumers
asgiref==3.6.0
# via django
# via
# django
# django-cors-headers
asn1crypto==1.5.1
# via webauthn
async-timeout==4.0.2
Expand All @@ -18,17 +22,21 @@ attrs==23.1.0
# jsonschema
billiard==3.6.4.0
# via celery
bleach==6.1.0
# via open-api-framework
boltons==23.0.0
# via
# face
# glom
cbor2==5.6.1
# via webauthn
celery==5.2.7
# via notifications-api-common
# via
# flower
# notifications-api-common
# open-api-framework
certifi==2023.5.7
# via
# django-simple-certmanager
# elastic-apm
# requests
# sentry-sdk
Expand All @@ -49,7 +57,7 @@ click-plugins==1.1.1
click-repl==0.2.0
# via celery
commonground-api-common==1.13.0
# via -r requirements/base.in
# via open-api-framework
coreapi==2.3.3
# via commonground-api-common
coreschema==0.0.4
Expand All @@ -63,49 +71,57 @@ cryptography==42.0.2
# webauthn
django==4.2.11
# via
# -r requirements/base.in
# commonground-api-common
# django-admin-index
# django-axes
# django-cors-headers
# django-filter
# django-formtools
# django-jsonform
# django-jsonsuit
# django-markup
# django-otp
# django-phonenumber-field
# django-privates
# django-redis
# django-relativedelta
# django-rest-framework-condition
# django-sendfile2
# django-simple-certmanager
# django-solo
# django-two-factor-auth
# djangorestframework
# djangorestframework-inclusions
# drf-nested-routers
# drf-spectacular
# drf-yasg
# maykin-2fa
# mozilla-django-oidc
# mozilla-django-oidc-db
# notifications-api-common
# open-api-framework
# sharing-configs
# zgw-consumers
django-admin-index==3.0.0
# via -r requirements/base.in
django-axes==5.41.1
# via -r requirements/base.in
django-admin-index==3.1.1
# via open-api-framework
django-axes==6.4.0
# via open-api-framework
django-cors-headers==4.3.1
# via open-api-framework
django-filter==23.2
# via
# -r requirements/base.in
# commonground-api-common
# open-api-framework
django-formtools==2.4.1
# via django-two-factor-auth
django-ipware==6.0.3
# via django-axes
django-jsonform==2.21.5
# via mozilla-django-oidc-db
# via
# mozilla-django-oidc-db
# open-api-framework
django-jsonsuit==0.5.0
# via -r requirements/base.in
django-markup==1.8.1
# via open-api-framework
django-ordered-model==3.7.4
# via django-admin-index
django-otp==1.2.0
Expand All @@ -114,15 +130,15 @@ django-phonenumber-field==5.2.0
# via django-two-factor-auth
django-privates==2.0.0.post0
# via django-simple-certmanager
django-redis==5.2.0
# via -r requirements/base.in
django-redis==5.4.0
# via open-api-framework
django-relativedelta==2.0.0
# via zgw-consumers
django-rest-framework-condition==0.1.1
# via commonground-api-common
django-sendfile2==0.7.0
# via django-privates
django-simple-certmanager==1.3.0
django-simple-certmanager==2.0.0
# via zgw-consumers
django-solo==2.0.0
# via
Expand All @@ -135,37 +151,48 @@ django-two-factor-auth[phonenumberslite,webauthn]==1.16.0
# via maykin-2fa
djangorestframework==3.14.0
# via
# -r requirements/base.in
# commonground-api-common
# djangorestframework-gis
# djangorestframework-inclusions
# drf-nested-routers
# drf-spectacular
# drf-yasg
# notifications-api-common
# open-api-framework
djangorestframework-camel-case==1.4.2
# via
# commonground-api-common
# notifications-api-common
djangorestframework-gis==1.0
# via open-api-framework
djangorestframework-inclusions==1.2.0
# via open-api-framework
drf-nested-routers==0.93.4
# via
# -r requirements/base.in
# commonground-api-common
drf-spectacular==0.26.5
# via -r requirements/base.in
drf-spectacular==0.27.2
# via open-api-framework
drf-yasg==1.21.7
# via commonground-api-common
elastic-apm==6.15.1
# via -r requirements/base.in
ecs-logging==2.1.0
# via elastic-apm
elastic-apm==6.22.0
# via open-api-framework
face==20.1.1
# via glom
faker==18.9.0
# via zgw-consumers
flower==2.0.1
# via open-api-framework
furl==2.1.3
# via ape-pie
gemma-zds-client==1.0.1
# via
# commonground-api-common
# notifications-api-common
# zgw-consumers
glom==23.3.0
# via mozilla-django-oidc-db
humanize==4.9.0
# via flower
idna==3.4
# via requests
inflection==0.5.1
Expand All @@ -191,52 +218,54 @@ kombu==5.3.5
markupsafe==2.1.2
# via jinja2
maykin-2fa==1.0.0
# via -r requirements/base.in
# via open-api-framework
mozilla-django-oidc==4.0.0
# via mozilla-django-oidc-db
mozilla-django-oidc-db==0.14.1
# via -r requirements/base.in
# via open-api-framework
notifications-api-common==0.2.2
# via commonground-api-common
open-api-framework==0.2.0
# via -r requirements/base.in
orderedmultidict==1.0.1
# via furl
oyaml==1.0
# via commonground-api-common
packaging==23.1
# via drf-yasg
phonenumberslite==8.13.30
# via django-two-factor-auth
prometheus-client==0.20.0
# via flower
prompt-toolkit==3.0.38
# via click-repl
psycopg2==2.9.6
# via -r requirements/base.in
psycopg2==2.9.9
# via open-api-framework
pycparser==2.21
# via cffi
pyjwt==2.7.0
# via
# commonground-api-common
# gemma-zds-client
# zgw-consumers
pyopenssl==24.0.0
# via
# django-simple-certmanager
# josepy
# webauthn
# zgw-consumers
pyrsistent==0.19.3
# via jsonschema
python-dateutil==2.8.2
# via
# django-relativedelta
# faker
# via django-relativedelta
python-decouple==3.8
# via -r requirements/base.in
# via open-api-framework
python-dotenv==1.0.0
# via -r requirements/base.in
python-ipware==2.0.1
# via django-ipware
# via open-api-framework
pytz==2023.3
# via
# celery
# djangorestframework
# drf-yasg
# flower
pyyaml==6.0
# via
# drf-spectacular
Expand All @@ -249,28 +278,33 @@ redis==4.5.5
# via django-redis
requests==2.31.0
# via
# ape-pie
# commonground-api-common
# coreapi
# gemma-zds-client
# mozilla-django-oidc
# requests-mock
# open-api-framework
# sharing-configs
# zgw-consumers
requests-mock==1.10.0
# via zgw-consumers
sentry-sdk==1.23.1
# via -r requirements/base.in
sentry-sdk==1.45.0
# via open-api-framework
sharing-configs==0.1.2
# via -r requirements/base.in
six==1.16.0
# via
# bleach
# click-repl
# furl
# isodate
# orderedmultidict
# python-dateutil
# qrcode
# requests-mock
sqlparse==0.4.4
# via django
tornado==6.4
# via flower
typing-extensions==4.11.0
# via zgw-consumers
uritemplate==4.1.1
# via
# coreapi
Expand All @@ -281,8 +315,8 @@ urllib3==1.26.15
# elastic-apm
# requests
# sentry-sdk
uwsgi==2.0.21
# via -r requirements/base.in
uwsgi==2.0.24
# via open-api-framework
vine==5.0.0
# via
# amqp
Expand All @@ -292,10 +326,14 @@ wcwidth==0.2.6
# via prompt-toolkit
webauthn==2.0.0
# via django-two-factor-auth
wrapt==1.15.0
webencodings==0.5.1
# via bleach
wrapt==1.14.1
# via elastic-apm
zgw-consumers==0.26.1
# via notifications-api-common
zgw-consumers==0.33.0
# via
# notifications-api-common
# open-api-framework

# The following packages are considered to be unsafe in a requirements file:
# setuptools
Loading

0 comments on commit 18da319

Please sign in to comment.