Skip to content

Instantly share code, notes, and snippets.

@lucaskjaero
Created February 19, 2020 06:03
Show Gist options
  • Save lucaskjaero/76424e7ad977613eab9d65623f502bfc to your computer and use it in GitHub Desktop.
Save lucaskjaero/76424e7ad977613eab9d65623f502bfc to your computer and use it in GitHub Desktop.
Poetry pyproject.toml
Lock file is truncated, here is the relevant section.
...
dparse = [
{file = "dparse-0.4.1-py2-none-any.whl", hash = "sha256:cef95156fa0adedaf042cd42f9990974bec76f25dfeca4dc01f381a243d5aa5b"},
{file = "dparse-0.4.1.tar.gz", hash = "sha256:00a5fdfa900629e5159bf3600d44905b333f4059a3366f28e0dbd13eeab17b19"},
]
en_core_web_sm = []
entrypoints = [
{file = "entrypoints-0.3-py2.py3-none-any.whl", hash = "sha256:589f874b313739ad35be6e0cd7efde2a4e9b6fea91edcc34e58ecbb8dbe56d19"},
{file = "entrypoints-0.3.tar.gz", hash = "sha256:c70dd71abe5a8c85e55e12c19bd91ccfeec11a6e99044204511f9ed547d48451"},
]
es_core_news_sm = []
flake8 = [
{file = "flake8-3.7.9-py2.py3-none-any.whl", hash = "sha256:49356e766643ad15072a789a20915d3c91dc89fd313ccd71802303fd67e4deca"},
{file = "flake8-3.7.9.tar.gz", hash = "sha256:45681a117ecc81e870cbf1262835ae4af5e7a8b08e40b944a8a6e6b895914cfb"},
]
...
[tool.poetry]
name = "language-service"
version = "0.1.0"
description = ""
authors = ["Lucas Kjaero-Zhang <lucas@lucaskjaerokjaero.com>"]
[tool.poetry.dependencies]
python = "^3.7"
# Web server
gunicorn = "^20.0.4"
flask = "^1.1.1"
flask_restful = "^0.3.8"
# Natural Language Processing
spacy = "^2.2.3"
thulac = "^0.2.1"
en-core-web-sm = {url = "https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.2.0/en_core_web_sm-2.2.0.tar.gz"}
es-core-news-sm = {url = "https://github.com/explosion/spacy-models/releases/download/es_core_news_sm-2.2.5/es_core_news_sm-2.2.5.tar.gz"}
# Vocabulary
wiktionaryparser = "^0.0.97"
[tool.poetry.dev-dependencies]
pytest = "^5.2"
# Linting and formatting
flake8 = "^3.7.9"
black = "^19.10b0"
# Security
safety = "^1.8.5"
bandit = "^1.6.2"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment