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
+3 -3
View File
@@ -4,15 +4,15 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import neon_client
import neon_api
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = "neon-client"
project = "neon-api-python"
copyright = "2024 Neon, Inc"
author = "Neon, Inc"
release = neon_client.__version__
release = neon_api.__version__
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
+2 -2
View File
@@ -12,9 +12,9 @@ from shutil import rmtree
from setuptools import find_packages, setup, Command
# Package meta-data.
NAME = "neon-client"
NAME = "neon-api"
DESCRIPTION = "An API Client for the Neon API."
URL = "https://github.com/kennethreitz/neon-client"
URL = "https://github.com/kennethreitz/neon-api-python"
EMAIL = "me@kennethreitz.org"
AUTHOR = "Kenneth Reitz"
REQUIRES_PYTHON = ">=3.10.0"
+1 -1
View File
@@ -5,7 +5,7 @@ import pytest
@pytest.fixture
def neon():
from neon_client import NeonAPI
from neon_api import NeonAPI
return NeonAPI.from_environ()
+2 -2
View File
@@ -1,7 +1,7 @@
from random import randint
import pytest
import neon_client
import neon_api
@pytest.fixture(scope="module")
@@ -13,7 +13,7 @@ def vcr_config():
def test_me(neon):
me = neon.me()
assert isinstance(me, neon_client.schema.CurrentUserInfoResponse)
assert isinstance(me, neon_api.schema.CurrentUserInfoResponse)
assert me.email