Skip to main content

ROCC Client Library for Python

GitHub Release GitHub CI GitHub License PyPi

Introduction

TBA

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

Requirements.

Python 2.7 and 3.4+

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 roccclient

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 roccclient

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function

import time
import roccclient
from roccclient.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to https://rocc.org/api/v1
# See configuration.py for a list of all supported configuration parameters.
configuration = roccclient.Configuration(
    host = "https://rocc.org/api/v1"
)



# Enter a context with an instance of the API client
with roccclient.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = roccclient.ChallengeApi(api_client)
    challenge = roccclient.Challenge() # Challenge |

    try:
        # Add a challenge
        api_response = api_instance.create_challenge(challenge)
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ChallengeApi->create_challenge: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://rocc.org/api/v1

Class Method HTTP request Description
ChallengeApi create_challenge POST /challenges Add a challenge
ChallengeApi delete_challenge DELETE /challenges/{challengeId} Delete a challenge
ChallengeApi get_challenge GET /challenges/{challengeId} Get a challenge
ChallengeApi list_challenges GET /challenges List all the challenges
GrantApi create_grant POST /grants Create a grant
GrantApi delete_grant DELETE /grants/{grantId} Delete a grant
GrantApi get_grant GET /grants/{grantId} Get a grant
GrantApi list_grants GET /grants Get all grants
OrganizationApi create_organization POST /organizations Create an organization
OrganizationApi delete_organization DELETE /organizations/{organizationId} Delete an organization
OrganizationApi get_organization GET /organizations/{organizationId} Get an organization
OrganizationApi list_organizations GET /organizations Get all organizations
PersonApi create_person POST /persons Create a person
PersonApi delete_person DELETE /persons/{personId} Delete a person
PersonApi get_person GET /persons/{personId} Get a person
PersonApi list_persons GET /persons Get all persons
TagApi create_tag POST /tags Create a tag
TagApi delete_tag DELETE /tags/{tagId} Delete a tag
TagApi get_tag GET /tags/{tagId} Get a tag
TagApi list_tags GET /tags Get all tags

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.

Author

thomas.schaffter@sagebionetworks.org

Metadata

Release files for rocc-client 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rocc-client 0.1.3
File Size Uploaded Provenance Actions
rocc-client-0.1.3.tar.gz 36.5 kB Without provenance Details for rocc-client-0.1.3.tar.gz

Release files / rocc-client-0.1.3.tar.gz

Download URL rocc-client-0.1.3.tar.gz
Size 36.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d0ebc7beb890012b38e71feafdfb41764c2783add0e2c5e6dec55eb3fbd1357b
BLAKE2b-256 checksum
How to use checksums
c373b845237b9e2470433e7f5f5d14f56accf436a35e00e06d4394abe8c5a455
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

Security for rocc-client 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page