Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
ADGEfficiency committed Dec 22, 2024
1 parent a60863f commit 8446bd4
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ setup-uv:
bash ./python/setup-uv.sh

python: setup-uv
cd ~ && ~/.local/bin/uv venv --python 3.12
cd ~ && ~/.local/bin/uv venv --python 3.11.9
~/.local/bin/uv pip install -r ./python/pyproject.toml

js:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ This will also setup dependencies with Nix.

### Python

Install `pyenv` and `pyenv-virtualenv`, and setup a global Python installation in a pyenv virtual environment:
Install `uv` and setup a global Python installation in a virtual environment:

```bash
$ make python
Expand Down Expand Up @@ -76,7 +76,7 @@ $ make nix-pkgs -o setup-nix

### Neovim

Neovim config is in `./nvim`. To use the Neovim setup, put this folder (ie `.`, not `./nvim`) into `$XDG_CONFIG_HOME`.
Neovim config is in `./nvim`. To use the Neovim setup, put this folder into `$XDG_CONFIG_HOME`.

I use Lazy for package management in Neovim - it will install packages when you first open the editor.

Expand Down
41 changes: 41 additions & 0 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[project]
name = "general"
version = "0.0.1"
requires-python = ">=3.12"
dependencies = [
"pandas>=2.0.3",
"requests>=2.31.0",
"typer>=0.9.0",
"mypy>=1.4.1",
"fastapi>=0.101.0",
"black>=23.7.0",
"zxpy>=1.6.3",
"awscli>=1.29.21",
"polars>=0.18.13",
"matplotlib>=3.7.2",
"pytest>=7.4.0",
"seaborn>=0.12.2",
"pulp>=2.7.0",
"pandera>=0.0.0",
"pandas-stubs>=2.0.2.230605",
"ruff>=0.1.5",
"hypothesis>=6.84.2",
"datasette>=0.64.3",
"isort>=5.12.0",
"djlint>=1.32.1",
"proselint>=0.13.0",
"yamllint>=1.32.0",
"pydocstyle>=6.3.0",
"ipython>=8.16.1",
"textual>=0.40.0",
"urllib3>=2.0.7",
"pillow>=10.1.0",
"mdformat>=0.7.17",
"mdformat-frontmatter>=2.0.8",
"mdformat-footnote>=0.1.1",
"jupyterlab>=4.0.9"
]

[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

0 comments on commit 8446bd4

Please sign in to comment.