Skip to content

Commit be00efa

Browse files
committed
feat: Add utility methods for 100% JavaScript SDK parity
- Add parse_authorization_header() method - Add validate_token_ownership() method for NFT gating - Add ExpectedBearerStringError - Add pyproject.toml for build configuration - Update version to 2.1.0
1 parent 551b257 commit be00efa

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[build-system]
2+
requires = ["setuptools>=40.8.0", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "magic-admin"
7+
version = "2.1.0"
8+
description = "Magic Python Library"
9+
readme = "README.md"
10+
license = {text = "MIT"}
11+
authors = [
12+
{name = "Magic", email = "support@magic.link"}
13+
]
14+
keywords = ["magic", "python", "sdk"]
15+
classifiers = [
16+
"Development Status :: 3 - Alpha",
17+
"Programming Language :: Python",
18+
"Programming Language :: Python :: 3.11",
19+
"Intended Audience :: Developers",
20+
"License :: OSI Approved :: MIT License",
21+
"Operating System :: OS Independent",
22+
]
23+
requires-python = ">=3.11"
24+
dependencies = [
25+
"requests==2.32.4",
26+
"web3==7.13.0",
27+
"websockets==15.0.1",
28+
]
29+
30+
[project.urls]
31+
Website = "https://magic.link"
32+
33+
[tool.setuptools]
34+
packages = ["magic_admin"]
35+
36+
[tool.setuptools.package-data]
37+
magic_admin = ["*.txt", "*.md"]

0 commit comments

Comments
 (0)