forked from nautobot/nautobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
157 lines (151 loc) · 4.52 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
[tool.poetry]
name = "nautobot"
# Primary package version gets set here. This is used for publishing, and once
# installed, `nautobot.__version__` will have this version number.
version = "1.1.3-beta.1"
description = "Source of truth and network automation platform."
authors = ["Network to Code <[email protected]>"]
license = "Apache-2.0"
homepage = "https://nautobot.com"
repository = "https://github.com/nautobot/nautobot"
documentation = "https://nautobot.readthedocs.io"
readme = "README.md"
keywords = ["Nautobot"]
classifiers = [
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
]
packages = [
{include = "nautobot"}
]
include = [
"CHANGELOG.md",
"CONTRIBUTING.md",
"LICENSE.txt",
"NOTICE",
]
[tool.poetry.dependencies]
python = "^3.6"
# Background task processing
celery = "~5.1.0"
# Fundamental web framework for Nautobot
Django = "~3.1.12"
# Caching with Redis
django-cacheops = "~5.1"
# Permit cross-domain API requests
django-cors-headers = "~3.7.0"
# Support for encrypted database fields
django-cryptography = "~1.0"
# Store files in the database for background tasks
django-db-file-storage = "~0.5.5"
# Advanced query filters
django-filter = "~2.4.0"
# Health check endpoint
django-health-check = "^3.16.4"
# Django Jinja - jinja2 backend for django, used to easily register custom jinja filters and render jinja.
django-jinja = "<2.8.0"
# Modified Preorder Tree Traversal - tree structure for Region, RackGroup, etc.
django-mptt = "~0.11.0"
# Prometheus metrics for Django
django-prometheus = "~2.1.0"
# Redis cache for Django used for distributed locking
django-redis = "~4.12.1"
# RQ (Redis Queueing) for background handlin of webhooks, jobs, etc.
django-rq = "~2.4.1"
# Advanced HTML tables
django-tables2 = "~2.3.4"
# Tags
django-taggit = "~1.3.0"
# Represent time zones in Django
django-timezone-field = "~4.1.2"
# Run production webservers such as uWSGI/gunicorn as a Django management command.
django-webserver = "~1.2.0"
# REST API framework
djangorestframework = "~3.12.4"
# Swagger schema generation for the REST API
drf-yasg = {extras = ["validation"], version = "~1.20.0"}
# Git integrations for Python
GitPython = "~3.1.15"
# GraphQL support
graphene-django = "~2.15.0"
# Package version detection in older versions of Python
importlib-metadata = {version = "~3.4.0", python = "<3.8"}
# Template rendering engine
Jinja2 = "~2.11.3"
# Optional data validation of config contexts
jsonschema = "~3.2.0"
# Rendering of markdown files to HTML
Markdown = "~3.3.4"
# MySQL database adapter
mysqlclient = {version = "~2.0.3", optional = true}
# IP prefix and address handling
netaddr = "~0.8.0"
# Image processing library
Pillow = "~8.3.2"
# PostgreSQL database adapter
psycopg2-binary = "~2.8.6"
# Cryptographic library
pycryptodome = "~3.10.1"
# The uWSGI WSGI HTTP server as a Python module
pyuwsgi = "~2.0.19.1.post0"
# YAML parsing and rendering
PyYAML = "~5.4.1"
# Social authentication/registration with support for many auth providers
social-auth-app-django = "^4.0.0"
# Rendering of SVG images (for rack elevations, etc.)
svgwrite = "~1.4.1"
[tool.poetry.extras]
mysql = ["mysqlclient"]
[tool.poetry.dev-dependencies]
# Code style enforcement
black = "^20.8b1"
# Test code coverage measurement
coverage = "~5.4"
# Tool for debugging Django
django-debug-toolbar = "~3.2.1"
# Nautobot dummy plugin used for testing
dummy-plugin = {path = "examples/dummy_plugin", develop = true}
# Code style checking and limited static analysis
flake8 = "~3.9.1"
# Alternative to Make, CLI based on `tasks.py`
invoke = "~1.5.0"
# Allow Markdown files to include other files
mkdocs-include-markdown-plugin = "~3.0.1"
# Rendering docs to HTML
mkdocs = "~1.1.2"
# Integration Tests
requests = "~2.25.1"
# Selenium web drivers for live integration testing
selenium = "~3.141.0"
# Abstraction layer for working with Selenium
splinter = "~0.14.0"
[tool.poetry.scripts]
nautobot-server = "nautobot.core.cli:main"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
target-version = ['py36']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''