Skip to main content
===============================
Python Coras
===============================

PythonCorasLib
=================
This API SDK was automatically generated by APIMATIC BETA v2.0

Due to the UniRest package dependency this SDK only works under Python 2.7
It will not work using Python 3.x

How To Configure:
=================
The generated code might need to be configured with your API credentials. To do that,
provide the credentials and configuration values as constructor parameters for the controllers

How To Build:
=============
The generated code uses Python libraries named UniRest and Jsonpickle.

PIP is a popular tool for managing python packages[1].
To resolve these packages:
1) From terminal/cmd navigate to the root directory
2) Invoke 'pip install -r requirements.txt'

Note: You will need internet access to resolve these dependencies.

How To Use:
===========
The following shows how to make invoke the APIController controller.
It is also shown in [2].

1. Create a "APIControllerTest.py" file in the root directory.
2. Add the following import statement
'from PythonCorasLib.Controllers.APIController import *'
3. Create a new instance using 'controller = APIController()'
4. Invoke an endpoint with the appropriate parameters, for example
'response = controller.getsection_retrieve(<required parameters if any>)'
5. "response" will now be an object of type SectionSerializer.
6. To test the response you get, print out a property of "response",
for example 'print response.url'.

[1] PIP - https://pip.pypa.io

[2] from PythonCorasLib.Controllers.APIController import *

response = controller.getsection_retrieve()

print response.url
#or you can print more information
print response.resolve_names()


Example usage:
===========
from CorasLib import APIController
from datetime import datetime
c = APIController(authorization='Token a7238841b1d4c6170b0919d401cc4fe7f10acdb5')
now =str(datetime.utcnow())
#Create Event
event = c.create_event_create(name="Phil's Band", venue=venue.id, start=now, doors=now, announce=now, general_onsale=now)
#list venues
for v in c.get_venue_list(): print v.name
#list events
for e in c.get_event_list(): print e.name



History
-------

0.0.1 (2015-10-20)
---------------------

* First release on PyPI.

Metadata

Release files for coras 0.0.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 coras 0.0.3
File Size Uploaded Provenance
coras-0.0.3.tar.gz 28.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for coras 0.0.3
File Interpreter ABI Platform
coras-0.0.3-py2-none-any.whl Python 2 none any Details

Total release size: 76.3 kB

Release files / coras-0.0.3.tar.gz

Download URL coras-0.0.3.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5b58277aa918fea7ab532470aadee53b23d05436ffaf3606c9389a9d1e1c44ce
BLAKE2b-256 checksum
How to use checksums
846600d84bd78ca586ab708987a5350218d0144c1f15ffae13e3cb9e261b4ef8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / coras-0.0.3-py2-none-any.whl

Download URL coras-0.0.3-py2-none-any.whl
Size 48.3 kB
Tags Python 2
SHA-256 checksum
How to use checksums
ec286cdfcf88c1520e2b40ee06b2b0686d260022d00c63fdcf224957b11c4562
BLAKE2b-256 checksum
How to use checksums
92268b74f0b107f32d082f3b54e1190ce4ac6395d70c3bf028538fbd61b36961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for coras 0.0.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.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

0.0.1

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