Skip to content

Commit

Permalink
migrate to uv
Browse files Browse the repository at this point in the history
  • Loading branch information
vovchic17 committed Feb 6, 2025
1 parent d3adf9e commit fcf2d39
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ __pycache__
.mypy_cache
.ruff_cache
_build/
poetry.lock
*.lock
.env
.venv
/tests
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
[![Documentation Status](https://readthedocs.org/projects/aiosend/badge/?version=latest)](https://aiosend.readthedocs.io/en/latest/?badge=latest)
[![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)
[![Aiohttp](https://img.shields.io/badge/aiohttp-v3-2c5bb4?logo=aiohttp)](https://docs.aiohttp.org/en/stable/)
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
[![Code linter: ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)
[![Checked with mypy](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/vovchic17/static/main/src/badges/mypy.json)](https://mypy-lang.org/)

Expand Down
66 changes: 29 additions & 37 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,54 +1,46 @@
[tool.poetry]
[project]
name = "aiosend"
version = "2.0.2"
description = "sync & async Crypto Pay API client."
authors = ["VoVcHiC <[email protected]>"]
authors = [{ name = "VoVcHiC", email = "[email protected]" }]
license = "MIT"
requires-python = ">=3.10"
classifiers = [
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Libraries",
]
readme = "README.md"
repository = "https://github.com/vovchic17/"
documentation = "https://aiosend.rtfd.io/en/latest/"
keywords = [
"crypto pay",
"CryptoBot",
"Crypto Bot",
"Crypto Pay API",
"cryptopayapi",
"cryptobot",
"CryptoPayAPI",
"crypto pay api",
dependencies = [
"aiohttp>=3.9.0",
"certifi>=2023.7.22",
"magic-filter>=1.0.12",
"pydantic>=2.4.1",
]
dynamic = ["version"]

[tool.poetry.dependencies]
python = "^3.10"
pydantic = "^2.4"
aiohttp = "^3.9"

furo = { version = "^2024.0.0", optional = true }
sphinx-autodoc-typehints = { version = "^2.3.0", optional = true }
sphinx-copybutton = { version = "^0.5.2", optional = true }
sphinxext-opengraph = { version = "^0.9.1", optional = true }
matplotlib = { version = "^3.9.2", optional = true }
fastapi = { version = "^0.115.0", extras = ["standard"], optional = true }
flask = { version = "^3.0.3", extras = ["async"], optional = true }
certifi = "^2024.8.30"
magic-filter = "^1.0.12"
[tool.hatch.version]
path = "aiosend/__meta__.py"

[tool.poetry.extras]
[project.optional-dependencies]
docs = [
"furo",
"sphinx-autodoc-typehints",
"sphinx_copybutton",
"sphinxext-opengraph",
"matplotlib",
]

fastapi = ["fastapi"]

fastapi = ["fastapi[standard]"]
flask = ["flask"]

[tool.poetry.group.dev.dependencies]
ruff = "^0.7.0"
mypy = "^1.13.0"
[project.urls]
Repository = "https://github.com/vovchic17/aiosend"
Documentation = "https://aiosend.rtfd.io/"

[tool.ruff]
line-length = 79
Expand Down Expand Up @@ -94,5 +86,5 @@ exclude = ["tests", "docs", "examples"]
python_version = "3.10"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
requires = ["hatchling"]
build-backend = "hatchling.build"

0 comments on commit fcf2d39

Please sign in to comment.