Skip to content

Commit

Permalink
Remove nbdev (#29)
Browse files Browse the repository at this point in the history
* chore: remove nbdev

* chore: migrate to uv
  • Loading branch information
Askir authored Oct 17, 2024
1 parent e15bc83 commit 108539c
Show file tree
Hide file tree
Showing 13 changed files with 3,072 additions and 602 deletions.
140 changes: 140 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
[project]
name = "timescale-vector"
version = "0.0.9"
description = "Python library for storing vector data in Postgres"
authors = [
{name = "Matvey Arye", email = "[email protected]"},
]
requires-python = ">=3.10"
license = {text = "Apache-2.0"}
readme = "README.md"
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.10",
]

dependencies = [
"python-dotenv>=1.0.1",
"asyncpg>=0.29.0",
"psycopg2>=2.9.9",
"pgvector>=0.3.5",
"numpy>=1,<2",
]

[project.optional-dependencies]
dev = [
"ruff>=0.6.9",
"pyright>=1.1.384",
"pytest>=8.3.3",
"langchain>=0.3.3",
"langchain-openai>=0.2.2",
"langchain-community>=0.3.2",
"pandas>=2.2.3",
"pytest-asyncio>=0.24.0",
]

[project.urls]
repository = "https://github.com/timescale/python-vector"
documentation = "https://timescale.github.io/python-vector"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.hatch.build.targets.wheel]
packages = ["timescale_vector"]

[tool.pytest.ini_options]
addopts = [
"--import-mode=importlib",
]

[tool.pyright]
typeCheckingMode = "strict"
reportImplicitOverride = true
exclude = [
"**/.bzr",
"**/.direnv",
"**/.eggs",
"**/.git",
"**/.git-rewrite",
"**/.hg",
"**/.ipynb_checkpoints",
"**/.mypy_cache",
"**/.nox",
"**/.pants.d",
"**/.pyenv",
"**/.pytest_cache",
"**/.pytype",
"**/.ruff_cache",
"**/.svn",
"**/.tox",
"**/.venv",
"**/.vscode",
"**/__pypackages__",
"**/_build",
"**/buck-out",
"**/dist",
"**/node_modules",
"**/site-packages",
"**/venv",
]

[tool.ruff]
line-length = 120
indent-width = 4
output-format = "grouped"
target-version = "py310"

exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
"nbs"
]

[tool.ruff.format]
docstring-code-format = true
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"

[tool.ruff.lint]
select = [
"E",
"F",
"UP",
"B",
"SIM",
"I",
"ARG",
"W291",
"PIE",
"Q"
]
38 changes: 0 additions & 38 deletions settings.ini

This file was deleted.

57 changes: 0 additions & 57 deletions setup.py

This file was deleted.

Empty file added tests/__init__.py
Empty file.
Loading

0 comments on commit 108539c

Please sign in to comment.