2022-07-08 08:22:35 +00:00
|
|
|
[tool.poetry]
|
|
|
|
name = "lnbits"
|
|
|
|
version = "0.1.0"
|
|
|
|
description = ""
|
|
|
|
authors = ["matthewcroughan <matt@croughan.sh>"]
|
|
|
|
|
|
|
|
[tool.poetry.build]
|
|
|
|
generate-setup-file = false
|
|
|
|
script = "build.py"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2022-09-23 08:02:23 +00:00
|
|
|
python = "^3.10 | ^3.9 | ^3.8 | ^3.7"
|
2022-08-03 12:10:32 +00:00
|
|
|
aiofiles = "0.8.0"
|
2022-09-29 18:42:13 +00:00
|
|
|
asgiref = "3.4.1"
|
2022-11-27 17:03:20 +00:00
|
|
|
attrs = "21.2.0"
|
2022-07-08 08:22:35 +00:00
|
|
|
bech32 = "1.2.0"
|
|
|
|
bitstring = "3.1.9"
|
2022-11-27 17:03:20 +00:00
|
|
|
certifi = "2021.5.30"
|
|
|
|
charset-normalizer = "2.0.6"
|
|
|
|
click = "8.0.1"
|
|
|
|
ecdsa = "0.17.0"
|
2022-07-08 08:22:35 +00:00
|
|
|
embit = "0.4.9"
|
|
|
|
fastapi = "0.78.0"
|
|
|
|
h11 = "0.12.0"
|
2022-09-29 18:42:13 +00:00
|
|
|
httpcore = "0.15.0"
|
2022-08-03 12:10:32 +00:00
|
|
|
httptools = "0.4.0"
|
|
|
|
httpx = "0.23.0"
|
2022-11-27 17:03:20 +00:00
|
|
|
idna = "3.2"
|
|
|
|
importlib-metadata = "4.8.1"
|
2022-09-29 18:42:13 +00:00
|
|
|
jinja2 = "3.0.1"
|
2022-07-08 08:22:35 +00:00
|
|
|
lnurl = "0.3.6"
|
2022-09-29 18:42:13 +00:00
|
|
|
markupsafe = "2.0.1"
|
2022-11-27 17:03:20 +00:00
|
|
|
marshmallow = "3.17.0"
|
|
|
|
outcome = "1.1.0"
|
2022-09-29 18:42:13 +00:00
|
|
|
psycopg2-binary = "2.9.1"
|
2022-07-08 08:22:35 +00:00
|
|
|
pycryptodomex = "3.14.1"
|
2022-11-27 17:03:20 +00:00
|
|
|
pydantic = "1.8.2"
|
2022-07-08 08:22:35 +00:00
|
|
|
pypng = "0.0.21"
|
|
|
|
pyqrcode = "1.2.1"
|
2022-09-23 08:02:23 +00:00
|
|
|
pyScss = "1.4.0"
|
2022-11-27 17:03:20 +00:00
|
|
|
python-dotenv = "0.19.0"
|
2022-07-08 08:22:35 +00:00
|
|
|
pyyaml = "5.4.1"
|
|
|
|
represent = "1.6.0.post0"
|
|
|
|
rfc3986 = "1.5.0"
|
|
|
|
secp256k1 = "0.14.0"
|
|
|
|
shortuuid = "1.0.1"
|
|
|
|
six = "1.16.0"
|
2022-11-27 17:03:20 +00:00
|
|
|
sniffio = "1.2.0"
|
|
|
|
sqlalchemy = "1.3.23"
|
2022-08-03 12:10:32 +00:00
|
|
|
sqlalchemy-aio = "0.17.0"
|
2022-07-08 08:22:35 +00:00
|
|
|
sse-starlette = "0.6.2"
|
2022-11-27 17:03:20 +00:00
|
|
|
typing-extensions = "3.10.0.2"
|
|
|
|
uvicorn = "0.18.1"
|
2022-07-08 08:22:35 +00:00
|
|
|
uvloop = "0.16.0"
|
|
|
|
watchgod = "0.7"
|
|
|
|
websockets = "10.0"
|
2022-11-27 17:03:20 +00:00
|
|
|
zipp = "3.5.0"
|
|
|
|
loguru = "0.5.3"
|
|
|
|
cffi = "1.15.0"
|
2022-08-01 17:58:36 +00:00
|
|
|
websocket-client = "1.3.3"
|
2022-09-23 13:56:14 +00:00
|
|
|
grpcio = "^1.49.1"
|
|
|
|
protobuf = "^4.21.6"
|
2022-10-04 07:51:47 +00:00
|
|
|
Cerberus = "^1.3.4"
|
|
|
|
async-timeout = "^4.0.2"
|
2022-09-30 11:55:46 +00:00
|
|
|
pyln-client = "0.11.1"
|
2022-07-08 08:22:35 +00:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2022-08-03 12:10:32 +00:00
|
|
|
isort = "^5.10.1"
|
|
|
|
pytest = "^7.1.2"
|
|
|
|
mock = "^4.0.3"
|
|
|
|
black = "^22.6.0"
|
|
|
|
pytest-asyncio = "^0.19.0"
|
|
|
|
pytest-cov = "^3.0.0"
|
|
|
|
mypy = "^0.971"
|
|
|
|
types-protobuf = "^3.19.22"
|
2022-07-08 08:22:35 +00:00
|
|
|
|
|
|
|
[build-system]
|
2022-09-23 08:02:44 +00:00
|
|
|
requires = ["poetry-core>=1.0.0", "pyScss"]
|
2022-07-08 08:22:35 +00:00
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
|
|
lnbits = "lnbits.server:main"
|
2022-08-03 12:10:32 +00:00
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
profile = "black"
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
ignore_missing_imports = "True"
|
|
|
|
files = "lnbits"
|
|
|
|
exclude = """(?x)(
|
2022-10-24 14:29:30 +00:00
|
|
|
^lnbits/extensions/bleskomat.
|
|
|
|
| ^lnbits/extensions/boltz.
|
|
|
|
| ^lnbits/extensions/boltcards.
|
|
|
|
| ^lnbits/extensions/events.
|
|
|
|
| ^lnbits/extensions/hivemind.
|
|
|
|
| ^lnbits/extensions/invoices.
|
|
|
|
| ^lnbits/extensions/livestream.
|
|
|
|
| ^lnbits/extensions/lnaddress.
|
|
|
|
| ^lnbits/extensions/lndhub.
|
|
|
|
| ^lnbits/extensions/lnticket.
|
|
|
|
| ^lnbits/extensions/lnurldevice.
|
|
|
|
| ^lnbits/extensions/lnurlp.
|
|
|
|
| ^lnbits/extensions/lnurlpayout.
|
|
|
|
| ^lnbits/extensions/offlineshop.
|
|
|
|
| ^lnbits/extensions/paywall.
|
|
|
|
| ^lnbits/extensions/satspay.
|
|
|
|
| ^lnbits/extensions/scrub.
|
|
|
|
| ^lnbits/extensions/splitpayments.
|
|
|
|
| ^lnbits/extensions/streamalerts.
|
|
|
|
| ^lnbits/extensions/tipjar.
|
|
|
|
| ^lnbits/extensions/tpos.
|
|
|
|
| ^lnbits/extensions/usermanager.
|
|
|
|
| ^lnbits/extensions/watchonly.
|
|
|
|
| ^lnbits/extensions/withdraw.
|
|
|
|
| ^lnbits/wallets/lnd_grpc_files.
|
2022-08-03 12:10:32 +00:00
|
|
|
)"""
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "--durations=1 -s --cov=lnbits --cov-report=xml"
|
|
|
|
testpaths = [
|
|
|
|
"tests"
|
|
|
|
]
|