mirror of
https://github.com/kennethreitz/neon-api-python.git
synced 2026-06-05 22:50:18 +00:00
Add Neon API package and related files
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user