Skip to main content

Synapse DB

Project description

syndb-api-client

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.6.9
  • Package version: 0.6.14
  • Generator version: 7.7.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.7+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import syndb_api_client

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import syndb_api_client

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import syndb_api_client
from syndb_api_client.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = syndb_api_client.Configuration(
    host = "http://localhost"
)



# Enter a context with an instance of the API client
with syndb_api_client.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = syndb_api_client.AuthApi(api_client)
    username = 'username_example' # str | 
    password = 'password_example' # str | 
    grant_type = 'grant_type_example' # str |  (optional)
    scope = '' # str |  (optional) (default to '')
    client_id = 'client_id_example' # str |  (optional)
    client_secret = 'client_secret_example' # str |  (optional)

    try:
        # Auth:Db-Native.Login
        api_response = api_instance.auth_db_native_login_user_auth_native_login_post(username, password, grant_type=grant_type, scope=scope, client_id=client_id, client_secret=client_secret)
        print("The response of AuthApi->auth_db_native_login_user_auth_native_login_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling AuthApi->auth_db_native_login_user_auth_native_login_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
AuthApi auth_db_native_login_user_auth_native_login_post POST /user/auth/native/login Auth:Db-Native.Login
AuthApi auth_db_native_logout_user_auth_native_logout_post POST /user/auth/native/logout Auth:Db-Native.Logout
BenchmarkApi neurodata_upload_benchmark_data_neurodata_benchmark_neurodata_upload_benchmark_results_get GET /neurodata/benchmark/neurodata_upload_benchmark_results Neurodata Upload Benchmark Data
BenchmarkApi tag_search_download_benchmark_results_neurodata_benchmark_neurodata_download_benchmark_results_get GET /neurodata/benchmark/neurodata_download/benchmark_results Tag Search Download Benchmark Results
BenchmarkApi tag_search_upload_benchmark_result_neurodata_benchmark_neurodata_download_upload_benchmark_result_post POST /neurodata/benchmark/neurodata_download/upload_benchmark_result Tag Search Upload Benchmark Result
CilogonApi academic_authorize_user_academic_authorize_get GET /user/academic/authorize Academic:Authorize
CilogonApi academic_callback_user_academic_callback_get GET /user/academic/callback Academic:Callback
DatasetApi all_datasets_neurodata_metadata_dataset_get_all_get GET /neurodata/metadata/dataset/get/all All Datasets
DatasetApi dataset_info_neurodata_metadata_dataset_dataset_id_info_get GET /neurodata/metadata/dataset/{dataset_id}/info Dataset Info
DatasetApi dataset_tag_search_neurodata_metadata_dataset_search_post POST /neurodata/metadata/dataset/search Dataset Tag Search
DatasetApi incomplete_datasets_neurodata_metadata_dataset_get_incomplete_get GET /neurodata/metadata/dataset/get/incomplete Incomplete Datasets
DatasetApi modifiable_datasets_neurodata_metadata_dataset_get_modifiable_get GET /neurodata/metadata/dataset/get/modifiable Modifiable Datasets
DatasetApi new_dataset_collection_neurodata_metadata_dataset_collection_new_simple_post POST /neurodata/metadata/dataset/collection/new/simple New Dataset Collection
DatasetApi new_multi_region_dataset_collection_neurodata_metadata_dataset_collection_new_multi_brain_region_post POST /neurodata/metadata/dataset/collection/new/multi-brain-region New Multi Region Dataset Collection
DatasetApi register_new_dataset_neurodata_metadata_dataset_new_post POST /neurodata/metadata/dataset/new Register New Dataset
DefaultApi redirect_get GET / Redirect
ExternalApi download_data_neurodata_io_download_url_get GET /neurodata/io/download_url Download Data
ExternalApi upload_dataset_mesh_neurodata_io_dataset_id_upload_url_mesh_get GET /neurodata/io/{dataset_id}/upload_url/mesh Upload Dataset Mesh
ExternalApi upload_dataset_swb_neurodata_io_dataset_id_upload_url_swb_get GET /neurodata/io/{dataset_id}/upload_url/swb Upload Dataset Swb
GithubApi oauth_github_db_github_authorize_user_auth_oauth_github_authorize_get GET /user/auth/oauth/github/authorize Oauth:Github.Db-Github.Authorize
GithubApi oauth_github_db_github_callback_user_auth_oauth_github_callback_get GET /user/auth/oauth/github/callback Oauth:Github.Db-Github.Callback
GoogleApi oauth_google_db_google_authorize_user_auth_oauth_google_authorize_get GET /user/auth/oauth/google/authorize Oauth:Google.Db-Google.Authorize
GoogleApi oauth_google_db_google_callback_user_auth_oauth_google_callback_get GET /user/auth/oauth/google/callback Oauth:Google.Db-Google.Callback
IoApi delete_dataset_neurodata_io_dataset_id_delete_dataset_delete DELETE /neurodata/io/{dataset_id}/delete_dataset Delete Dataset
IoApi download_data_neurodata_io_download_url_get GET /neurodata/io/download_url Download Data
IoApi download_dataset_files_neurodata_io_download_dataset_post POST /neurodata/io/download_dataset Download Dataset Files
IoApi upload_dataset_files_neurodata_io_dataset_id_upload_patch PATCH /neurodata/io/{dataset_id}/upload Upload Dataset Files
IoApi upload_dataset_mesh_neurodata_io_dataset_id_upload_url_mesh_get GET /neurodata/io/{dataset_id}/upload_url/mesh Upload Dataset Mesh
IoApi upload_dataset_swb_neurodata_io_dataset_id_upload_url_swb_get GET /neurodata/io/{dataset_id}/upload_url/swb Upload Dataset Swb
MetadataApi all_datasets_neurodata_metadata_dataset_get_all_get GET /neurodata/metadata/dataset/get/all All Datasets
MetadataApi create_animal_neurodata_metadata_tag_animal_create_post POST /neurodata/metadata/tag/animal/create Create Animal
MetadataApi create_brain_region_neurodata_metadata_tag_brain_region_create_post POST /neurodata/metadata/tag/brain_region/create Create Brain Region
MetadataApi create_microscopy_neurodata_metadata_tag_microscopy_create_post POST /neurodata/metadata/tag/microscopy/create Create Microscopy
MetadataApi create_mutation_neurodata_metadata_tag_mutation_create_post POST /neurodata/metadata/tag/mutation/create Create Mutation
MetadataApi create_publication_neurodata_metadata_tag_publication_create_post POST /neurodata/metadata/tag/publication/create Create Publication
MetadataApi dataset_info_neurodata_metadata_dataset_dataset_id_info_get GET /neurodata/metadata/dataset/{dataset_id}/info Dataset Info
MetadataApi dataset_tag_search_neurodata_metadata_dataset_search_post POST /neurodata/metadata/dataset/search Dataset Tag Search
MetadataApi incomplete_datasets_neurodata_metadata_dataset_get_incomplete_get GET /neurodata/metadata/dataset/get/incomplete Incomplete Datasets
MetadataApi modifiable_datasets_neurodata_metadata_dataset_get_modifiable_get GET /neurodata/metadata/dataset/get/modifiable Modifiable Datasets
MetadataApi new_dataset_collection_neurodata_metadata_dataset_collection_new_simple_post POST /neurodata/metadata/dataset/collection/new/simple New Dataset Collection
MetadataApi new_multi_region_dataset_collection_neurodata_metadata_dataset_collection_new_multi_brain_region_post POST /neurodata/metadata/dataset/collection/new/multi-brain-region New Multi Region Dataset Collection
MetadataApi register_new_dataset_neurodata_metadata_dataset_new_post POST /neurodata/metadata/dataset/new Register New Dataset
MetadataApi universal_metadata_neurodata_metadata_get_universal_get GET /neurodata/metadata/get/universal Universal Metadata
MetadataApi user_metadata_neurodata_metadata_get_user_get GET /neurodata/metadata/get/user User Metadata
NeurodataApi all_datasets_neurodata_metadata_dataset_get_all_get GET /neurodata/metadata/dataset/get/all All Datasets
NeurodataApi create_animal_neurodata_metadata_tag_animal_create_post POST /neurodata/metadata/tag/animal/create Create Animal
NeurodataApi create_brain_region_neurodata_metadata_tag_brain_region_create_post POST /neurodata/metadata/tag/brain_region/create Create Brain Region
NeurodataApi create_microscopy_neurodata_metadata_tag_microscopy_create_post POST /neurodata/metadata/tag/microscopy/create Create Microscopy
NeurodataApi create_mutation_neurodata_metadata_tag_mutation_create_post POST /neurodata/metadata/tag/mutation/create Create Mutation
NeurodataApi create_publication_neurodata_metadata_tag_publication_create_post POST /neurodata/metadata/tag/publication/create Create Publication
NeurodataApi dataset_info_neurodata_metadata_dataset_dataset_id_info_get GET /neurodata/metadata/dataset/{dataset_id}/info Dataset Info
NeurodataApi dataset_tag_search_neurodata_metadata_dataset_search_post POST /neurodata/metadata/dataset/search Dataset Tag Search
NeurodataApi delete_dataset_neurodata_io_dataset_id_delete_dataset_delete DELETE /neurodata/io/{dataset_id}/delete_dataset Delete Dataset
NeurodataApi download_data_neurodata_io_download_url_get GET /neurodata/io/download_url Download Data
NeurodataApi download_dataset_files_neurodata_io_download_dataset_post POST /neurodata/io/download_dataset Download Dataset Files
NeurodataApi incomplete_datasets_neurodata_metadata_dataset_get_incomplete_get GET /neurodata/metadata/dataset/get/incomplete Incomplete Datasets
NeurodataApi modifiable_datasets_neurodata_metadata_dataset_get_modifiable_get GET /neurodata/metadata/dataset/get/modifiable Modifiable Datasets
NeurodataApi neurodata_upload_benchmark_data_neurodata_benchmark_neurodata_upload_benchmark_results_get GET /neurodata/benchmark/neurodata_upload_benchmark_results Neurodata Upload Benchmark Data
NeurodataApi new_dataset_collection_neurodata_metadata_dataset_collection_new_simple_post POST /neurodata/metadata/dataset/collection/new/simple New Dataset Collection
NeurodataApi new_multi_region_dataset_collection_neurodata_metadata_dataset_collection_new_multi_brain_region_post POST /neurodata/metadata/dataset/collection/new/multi-brain-region New Multi Region Dataset Collection
NeurodataApi register_new_dataset_neurodata_metadata_dataset_new_post POST /neurodata/metadata/dataset/new Register New Dataset
NeurodataApi tag_search_download_benchmark_results_neurodata_benchmark_neurodata_download_benchmark_results_get GET /neurodata/benchmark/neurodata_download/benchmark_results Tag Search Download Benchmark Results
NeurodataApi tag_search_upload_benchmark_result_neurodata_benchmark_neurodata_download_upload_benchmark_result_post POST /neurodata/benchmark/neurodata_download/upload_benchmark_result Tag Search Upload Benchmark Result
NeurodataApi universal_metadata_neurodata_metadata_get_universal_get GET /neurodata/metadata/get/universal Universal Metadata
NeurodataApi upload_dataset_files_neurodata_io_dataset_id_upload_patch PATCH /neurodata/io/{dataset_id}/upload Upload Dataset Files
NeurodataApi upload_dataset_mesh_neurodata_io_dataset_id_upload_url_mesh_get GET /neurodata/io/{dataset_id}/upload_url/mesh Upload Dataset Mesh
NeurodataApi upload_dataset_swb_neurodata_io_dataset_id_upload_url_swb_get GET /neurodata/io/{dataset_id}/upload_url/swb Upload Dataset Swb
NeurodataApi user_metadata_neurodata_metadata_get_user_get GET /neurodata/metadata/get/user User Metadata
OauthApi academic_authorize_user_academic_authorize_get GET /user/academic/authorize Academic:Authorize
OauthApi academic_callback_user_academic_callback_get GET /user/academic/callback Academic:Callback
OauthApi oauth_associate_orcid_authorize_user_auth_oauth_orcid_authorize_get GET /user/auth/oauth/orcid/authorize Oauth-Associate:Orcid.Authorize
OauthApi oauth_associate_orcid_callback_user_auth_oauth_orcid_callback_get GET /user/auth/oauth/orcid/callback Oauth-Associate:Orcid.Callback
OauthApi oauth_github_db_github_authorize_user_auth_oauth_github_authorize_get GET /user/auth/oauth/github/authorize Oauth:Github.Db-Github.Authorize
OauthApi oauth_github_db_github_callback_user_auth_oauth_github_callback_get GET /user/auth/oauth/github/callback Oauth:Github.Db-Github.Callback
OauthApi oauth_google_db_google_authorize_user_auth_oauth_google_authorize_get GET /user/auth/oauth/google/authorize Oauth:Google.Db-Google.Authorize
OauthApi oauth_google_db_google_callback_user_auth_oauth_google_callback_get GET /user/auth/oauth/google/callback Oauth:Google.Db-Google.Callback
OrcidApi oauth_associate_orcid_authorize_user_auth_oauth_orcid_authorize_get GET /user/auth/oauth/orcid/authorize Oauth-Associate:Orcid.Authorize
OrcidApi oauth_associate_orcid_callback_user_auth_oauth_orcid_callback_get GET /user/auth/oauth/orcid/callback Oauth-Associate:Orcid.Callback
TagApi create_animal_neurodata_metadata_tag_animal_create_post POST /neurodata/metadata/tag/animal/create Create Animal
TagApi create_brain_region_neurodata_metadata_tag_brain_region_create_post POST /neurodata/metadata/tag/brain_region/create Create Brain Region
TagApi create_microscopy_neurodata_metadata_tag_microscopy_create_post POST /neurodata/metadata/tag/microscopy/create Create Microscopy
TagApi create_mutation_neurodata_metadata_tag_mutation_create_post POST /neurodata/metadata/tag/mutation/create Create Mutation
TagApi create_publication_neurodata_metadata_tag_publication_create_post POST /neurodata/metadata/tag/publication/create Create Publication
UserApi academic_authorize_user_academic_authorize_get GET /user/academic/authorize Academic:Authorize
UserApi academic_callback_user_academic_callback_get GET /user/academic/callback Academic:Callback
UserApi auth_db_native_login_user_auth_native_login_post POST /user/auth/native/login Auth:Db-Native.Login
UserApi auth_db_native_login_user_auth_native_login_post_0 POST /user/auth/native/login Auth:Db-Native.Login
UserApi auth_db_native_logout_user_auth_native_logout_post POST /user/auth/native/logout Auth:Db-Native.Logout
UserApi auth_db_native_logout_user_auth_native_logout_post_0 POST /user/auth/native/logout Auth:Db-Native.Logout
UserApi current_user_profile_user_profile_current_get GET /user/profile/current Current User Profile
UserApi oauth_associate_orcid_authorize_user_auth_oauth_orcid_authorize_get GET /user/auth/oauth/orcid/authorize Oauth-Associate:Orcid.Authorize
UserApi oauth_associate_orcid_callback_user_auth_oauth_orcid_callback_get GET /user/auth/oauth/orcid/callback Oauth-Associate:Orcid.Callback
UserApi oauth_github_db_github_authorize_user_auth_oauth_github_authorize_get GET /user/auth/oauth/github/authorize Oauth:Github.Db-Github.Authorize
UserApi oauth_github_db_github_callback_user_auth_oauth_github_callback_get GET /user/auth/oauth/github/callback Oauth:Github.Db-Github.Callback
UserApi oauth_google_db_google_authorize_user_auth_oauth_google_authorize_get GET /user/auth/oauth/google/authorize Oauth:Google.Db-Google.Authorize
UserApi oauth_google_db_google_callback_user_auth_oauth_google_callback_get GET /user/auth/oauth/google/callback Oauth:Google.Db-Google.Callback
UserApi profile_from_scientist_tag_user_profile_scientist_tag_scientist_tag_get GET /user/profile/scientist_tag/{scientist_tag} Profile From Scientist Tag
UserApi profile_from_user_id_user_profile_id_user_id_get GET /user/profile/id/{user_id} Profile From User Id
UserApi register_register_user_auth_register_post POST /user/auth/register Register:Register
UserApi set_profile_picture_user_profile_current_upload_url_profile_picture_post POST /user/profile/current/upload_url_profile_picture Set Profile Picture
UserApi set_scientist_tag_user_profile_current_set_scientist_tag_post POST /user/profile/current/set_scientist_tag Set Scientist Tag
UserApi user_profile_picture_user_profile_picture_user_id_get GET /user/profile/picture/{user_id} User Profile Picture
UserApi verify_request_token_user_auth_request_verify_token_post POST /user/auth/request-verify-token Verify:Request-Token
UserApi verify_verify_user_auth_verify_post POST /user/auth/verify Verify:Verify

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

OAuth2PasswordBearer

  • Type: OAuth
  • Flow: password
  • Authorization URL:
  • Scopes: N/A

Author

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

syndb_api_client-0.6.14.tar.gz (74.4 kB view details)

Uploaded Source

Built Distribution

syndb_api_client-0.6.14-py3-none-any.whl (156.2 kB view details)

Uploaded Python 3

File details

Details for the file syndb_api_client-0.6.14.tar.gz.

File metadata

  • Download URL: syndb_api_client-0.6.14.tar.gz
  • Upload date:
  • Size: 74.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Linux/6.6.49

File hashes

Hashes for syndb_api_client-0.6.14.tar.gz
Algorithm Hash digest
SHA256 b6c7e0cddea12a8d15009f34b0458612ec485e3d0c81e186e1d8326e861f82c8
MD5 07974497c6356b516e891fc95b8b9a59
BLAKE2b-256 32f577ff10b2eef0cc62483fb2f321e480848eaabf6e417551c726c9c2ba266a

See more details on using hashes here.

File details

Details for the file syndb_api_client-0.6.14-py3-none-any.whl.

File metadata

File hashes

Hashes for syndb_api_client-0.6.14-py3-none-any.whl
Algorithm Hash digest
SHA256 aa8604551092e09a3050d99452b9ac054e24a71d57737580603b16451687a731
MD5 ac155a8945017192bea6ceb4741f3e51
BLAKE2b-256 f9c79a39ed516aad86c50be3262beb9dd37186ef12235560c1b10a8fcfefa24d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page