diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..80ee7a7 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,30 @@ +{ + "name": "python-entsoe", + "image": "mcr.microsoft.com/devcontainers/python:3.11", + "features": { + "ghcr.io/devcontainers-contrib/features/uv:2": {} + }, + "customizations": { + "vscode": { + "settings": { + "python.defaultInterpreterPath": "/usr/local/bin/python", + "python.linting.enabled": true, + "python.linting.pylintEnabled": false, + "python.formatting.provider": "none", + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + } + }, + "extensions": [ + "ms-python.python", + "ms-python.vscode-pylance", + "charliermarsh.ruff" + ] + } + }, + "postCreateCommand": "uv sync", + "remoteEnv": { + "ENTSOE_API_KEY": "${localEnv:ENTSOE_API_KEY}" + } +} diff --git a/.python-version b/.python-version index 24ee5b1..2c07333 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.13 +3.11 diff --git a/pyproject.toml b/pyproject.toml index 9a0a652..70989bc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,13 +7,15 @@ license = "MIT" authors = [ { name = "jsulopzs", email = "jesus.lopez@datons.com" }, ] -requires-python = ">=3.13" +requires-python = ">=3.11" keywords = ["entsoe", "energy", "electricity", "api", "transparency"] classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering", ]