Add Neon API package and related files

This commit is contained in:
2024-02-27 17:01:37 -05:00
parent 4cc5b8448c
commit fe646906d9
10 changed files with 8 additions and 8 deletions
+15
View File
@@ -0,0 +1,15 @@
from .client import NeonAPI
from .__version__ import __version__
from .exceptions import NeonAPIError
def from_environ():
"""Create a NeonAPI instance from environment variables."""
return NeonAPI.from_environ()
def from_token(token):
"""Create a NeonAPI instance from a token."""
return NeonAPI.from_token(token)