supabase_auth 2.12.3__tar.gz → 2.19.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. {supabase_auth-2.12.3 → supabase_auth-2.19.0}/PKG-INFO +27 -25
  2. {supabase_auth-2.12.3 → supabase_auth-2.19.0}/README.md +12 -6
  3. supabase_auth-2.19.0/pyproject.toml +77 -0
  4. supabase_auth-2.19.0/src/supabase_auth/version.py +1 -0
  5. supabase_auth-2.12.3/LICENSE +0 -21
  6. supabase_auth-2.12.3/pyproject.toml +0 -60
  7. supabase_auth-2.12.3/supabase_auth/version.py +0 -1
  8. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/__init__.py +0 -0
  9. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/__init__.py +0 -0
  10. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/gotrue_admin_api.py +0 -0
  11. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/gotrue_admin_mfa_api.py +0 -0
  12. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/gotrue_base_api.py +0 -0
  13. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/gotrue_client.py +0 -0
  14. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/gotrue_mfa_api.py +0 -0
  15. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_async/storage.py +0 -0
  16. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/__init__.py +0 -0
  17. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/gotrue_admin_api.py +0 -0
  18. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/gotrue_admin_mfa_api.py +0 -0
  19. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/gotrue_base_api.py +0 -0
  20. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/gotrue_client.py +0 -0
  21. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/gotrue_mfa_api.py +0 -0
  22. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/_sync/storage.py +0 -0
  23. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/constants.py +0 -0
  24. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/errors.py +0 -0
  25. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/helpers.py +0 -0
  26. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/http_clients.py +0 -0
  27. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/py.typed +0 -0
  28. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/timer.py +0 -0
  29. {supabase_auth-2.12.3 → supabase_auth-2.19.0/src}/supabase_auth/types.py +0 -0
@@ -1,25 +1,22 @@
1
- Metadata-Version: 2.1
2
- Name: supabase_auth
3
- Version: 2.12.3
1
+ Metadata-Version: 2.4
2
+ Name: supabase-auth
3
+ Version: 2.19.0
4
4
  Summary: Python Client Library for Supabase Auth
5
- Home-page: https://github.com/supabase/auth-py
6
- License: MIT
7
5
  Author: Joel Lee
8
- Author-email: joel@joellee.org
9
- Requires-Python: >=3.9,<4.0
6
+ Author-email: Joel Lee <joel@joellee.org>
7
+ License-Expression: MIT
8
+ Classifier: Programming Language :: Python :: 3
10
9
  Classifier: License :: OSI Approved :: MIT License
11
10
  Classifier: Operating System :: OS Independent
12
- Classifier: Programming Language :: Python :: 3
13
- Classifier: Programming Language :: Python :: 3.9
14
- Classifier: Programming Language :: Python :: 3.10
15
- Classifier: Programming Language :: Python :: 3.11
16
- Classifier: Programming Language :: Python :: 3.12
17
- Classifier: Programming Language :: Python :: 3.13
18
- Requires-Dist: httpx[http2] (>=0.26,<0.29)
19
- Requires-Dist: pydantic (>=1.10,<3)
20
- Requires-Dist: pyjwt (>=2.10.1,<3.0.0)
21
- Project-URL: Documentation, https://github.com/supabase/auth-py
22
- Project-URL: Repository, https://github.com/supabase/auth-py
11
+ Requires-Dist: httpx[http2]>=0.26,<0.29
12
+ Requires-Dist: pydantic>=1.10,<3
13
+ Requires-Dist: pyjwt[crypto]>=2.10.1
14
+ Maintainer: Leonardo Santiago
15
+ Maintainer-email: Leonardo Santiago <leonardo.santiago@supabase.io>
16
+ Requires-Python: >=3.9
17
+ Project-URL: documentation, https://github.com/supabase/supabase-py/tree/main/src/auth
18
+ Project-URL: homepage, https://github.com/supabase/supabase-py/tree/main/src/auth
19
+ Project-URL: repository, https://github.com/supabase/supabase-py
23
20
  Description-Content-Type: text/markdown
24
21
 
25
22
  # Auth-py
@@ -27,24 +24,30 @@ Description-Content-Type: text/markdown
27
24
  [![CI](https://github.com/supabase-community/gotrue-py/actions/workflows/ci.yml/badge.svg)](https://github.com/supabase-community/gotrue-py/actions/workflows/ci.yml)
28
25
  [![Python](https://img.shields.io/pypi/pyversions/gotrue)](https://pypi.org/project/gotrue)
29
26
  [![Version](https://img.shields.io/pypi/v/gotrue?color=%2334D058)](https://pypi.org/project/gotrue)
30
- [![Coverage Status](https://coveralls.io/repos/github/supabase/auth-py/badge.svg?branch=main)](https://coveralls.io/github/supabase/auth-py?branch=main)
31
27
 
32
28
  This is a Python port of the [supabase js gotrue client](https://github.com/supabase/gotrue-js). The current state is that there is a features parity but with small differences that are mentioned in the section **Differences to the JS client**. As of December 14th, we renamed to repo from `gotrue-py` to `auth-py` to mirror the changes in the JavaScript library.
33
29
 
34
30
  ## Installation
35
31
 
36
- The package can be installed using pip or poetry:
32
+ The package can be installed using pip, uv or poetry:
37
33
 
38
- ### Poetry
34
+ ### Pip
39
35
 
40
36
  ```bash
41
- poetry add supabase_auth
37
+ pip install supabase_auth
42
38
  ```
43
39
 
44
- ### Pip
40
+
41
+ ### Uv
45
42
 
46
43
  ```bash
47
- pip install supabase_auth
44
+ uv add supabase_auth
45
+ ```
46
+
47
+ ### Poetry
48
+
49
+ ```bash
50
+ poetry add supabase_auth
48
51
  ```
49
52
 
50
53
  ## Features
@@ -181,4 +184,3 @@ client.mfa.unenroll({"factor_id": "factor_id"})
181
184
  ## Contributions
182
185
 
183
186
  We would be immensely grateful for any contributions to this project.
184
-
@@ -3,24 +3,30 @@
3
3
  [![CI](https://github.com/supabase-community/gotrue-py/actions/workflows/ci.yml/badge.svg)](https://github.com/supabase-community/gotrue-py/actions/workflows/ci.yml)
4
4
  [![Python](https://img.shields.io/pypi/pyversions/gotrue)](https://pypi.org/project/gotrue)
5
5
  [![Version](https://img.shields.io/pypi/v/gotrue?color=%2334D058)](https://pypi.org/project/gotrue)
6
- [![Coverage Status](https://coveralls.io/repos/github/supabase/auth-py/badge.svg?branch=main)](https://coveralls.io/github/supabase/auth-py?branch=main)
7
6
 
8
7
  This is a Python port of the [supabase js gotrue client](https://github.com/supabase/gotrue-js). The current state is that there is a features parity but with small differences that are mentioned in the section **Differences to the JS client**. As of December 14th, we renamed to repo from `gotrue-py` to `auth-py` to mirror the changes in the JavaScript library.
9
8
 
10
9
  ## Installation
11
10
 
12
- The package can be installed using pip or poetry:
11
+ The package can be installed using pip, uv or poetry:
13
12
 
14
- ### Poetry
13
+ ### Pip
15
14
 
16
15
  ```bash
17
- poetry add supabase_auth
16
+ pip install supabase_auth
18
17
  ```
19
18
 
20
- ### Pip
19
+
20
+ ### Uv
21
21
 
22
22
  ```bash
23
- pip install supabase_auth
23
+ uv add supabase_auth
24
+ ```
25
+
26
+ ### Poetry
27
+
28
+ ```bash
29
+ poetry add supabase_auth
24
30
  ```
25
31
 
26
32
  ## Features
@@ -0,0 +1,77 @@
1
+ [project]
2
+ name = "supabase_auth"
3
+ version = "2.19.0" # {x-release-please-version}
4
+ description = "Python Client Library for Supabase Auth"
5
+ authors = [
6
+ {name = "Joel Lee", email = "joel@joellee.org" }
7
+ ]
8
+ maintainers = [
9
+ { name = "Leonardo Santiago", email = "leonardo.santiago@supabase.io" }
10
+ ]
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ classifiers = [
14
+ "Programming Language :: Python :: 3",
15
+ "License :: OSI Approved :: MIT License",
16
+ "Operating System :: OS Independent",
17
+ ]
18
+ requires-python = ">=3.9"
19
+ dependencies = [
20
+ "httpx[http2] >=0.26,<0.29",
21
+ "pydantic >=1.10,<3",
22
+ "pyjwt[crypto] >=2.10.1",
23
+ ]
24
+
25
+ [project.urls]
26
+ homepage = "https://github.com/supabase/supabase-py/tree/main/src/auth"
27
+ repository = "https://github.com/supabase/supabase-py"
28
+ documentation = "https://github.com/supabase/supabase-py/tree/main/src/auth"
29
+
30
+ # [project.scripts]
31
+ # gh-download = "scripts.gh-download:main"
32
+
33
+ [dependency-groups]
34
+ tests = [
35
+ "Faker >= 37.4.0",
36
+ "respx >=0.20.2,<0.23.0",
37
+ "pytest >= 8.4.1",
38
+ "pytest-mock >= 3.14.0",
39
+ "pytest-cov >= 6.2.1",
40
+ "pytest-depends >= 1.0.1",
41
+ "pytest-asyncio >= 1.0.0",
42
+ ]
43
+ lints = [
44
+ "ruff >=0.12.1",
45
+ "unasync >= 0.6.0",
46
+ ]
47
+ dev = [{ include-group = "lints" }, {include-group = "tests" }]
48
+
49
+ [tool.ruff.lint]
50
+ select = [
51
+ # pycodestyle
52
+ "E",
53
+ # Pyflakes
54
+ "F",
55
+ # pyupgrade
56
+ "UP",
57
+ # flake8-bugbear
58
+ # "B",
59
+ # flake8-simplify
60
+ # "SIM",
61
+ # isort
62
+ "I",
63
+ ]
64
+ ignore = ["F401", "F403", "F841", "E712", "E501", "E402", "E722", "E731", "UP006", "UP035"]
65
+ # isort.required-imports = ["from __future__ import annotations"]
66
+
67
+ [tool.ruff.lint.pyupgrade]
68
+ # Preserve types, even if a file imports `from __future__ import annotations`.
69
+ keep-runtime-typing = true
70
+
71
+
72
+ [tool.pytest.ini_options]
73
+ asyncio_mode = "auto"
74
+
75
+ [build-system]
76
+ requires = ["uv_build>=0.8.3,<0.9.0"]
77
+ build-backend = "uv_build"
@@ -0,0 +1 @@
1
+ __version__ = "2.19.0" # {x-release-please-version}
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2020 Supabase
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
@@ -1,60 +0,0 @@
1
- [tool.poetry]
2
- name = "supabase_auth"
3
- version = "2.12.3" # {x-release-please-version}
4
- description = "Python Client Library for Supabase Auth"
5
- authors = ["Joel Lee <joel@joellee.org>"]
6
- homepage = "https://github.com/supabase/auth-py"
7
- repository = "https://github.com/supabase/auth-py"
8
- documentation = "https://github.com/supabase/auth-py"
9
- readme = "README.md"
10
- license = "MIT"
11
- classifiers = [
12
- "Programming Language :: Python :: 3",
13
- "License :: OSI Approved :: MIT License",
14
- "Operating System :: OS Independent",
15
- ]
16
-
17
- [tool.poetry.dependencies]
18
- python = "^3.9"
19
- httpx = { version = ">=0.26,<0.29", extras = ["http2"] }
20
- pydantic = ">=1.10,<3"
21
- pyjwt = "^2.10.1"
22
-
23
- [tool.poetry.group.dev.dependencies]
24
- pytest = "^8.4.1"
25
- pytest-mock = "^3.14.0"
26
- pre-commit = "^4.2.0"
27
- pytest-cov = "^6.2.1"
28
- pytest-depends = "^1.0.1"
29
- pytest-asyncio = "^1.0.0"
30
- Faker = "^37.4.0"
31
- unasync-cli = { git = "https://github.com/supabase-community/unasync-cli.git", branch = "main" }
32
- pygithub = ">=1.57,<3.0"
33
- respx = ">=0.20.2,<0.23.0"
34
- ruff = "^0.12.1"
35
-
36
- [tool.ruff.lint]
37
- select = [
38
- # pycodestyle
39
- "E",
40
- # Pyflakes
41
- "F",
42
- # pyupgrade
43
- "UP",
44
- # flake8-bugbear
45
- # "B",
46
- # flake8-simplify
47
- # "SIM",
48
- # isort
49
- "I",
50
- ]
51
- ignore = ["F401", "F403", "F841", "E712", "E501", "E402", "E722", "E731", "UP006", "UP035"]
52
- # isort.required-imports = ["from __future__ import annotations"]
53
-
54
- [tool.ruff.lint.pyupgrade]
55
- # Preserve types, even if a file imports `from __future__ import annotations`.
56
- keep-runtime-typing = true
57
-
58
- [build-system]
59
- requires = ["poetry-core>=1.0.0"]
60
- build-backend = "poetry.core.masonry.api"
@@ -1 +0,0 @@
1
- __version__ = "2.12.3" # {x-release-please-version}