accelapy
An Accela specific API for https://developer.accela.com/docs/api_reference/api-index.html
How to use:
pip install accelapy
You may need to get your payload from Accela for your environment.
from accelapy.client import AccelaClient
from accelapy.records_client.types import Response
from accelapy.records_client.models import RecordModel, TableModel
import json
from typing import List
from accelapy.payload import Payload
payload = Payload(payload_str='totally-real-payload')
api_client = AccelaClient(payload=payload)
# Get an Accela record, then get its associated custom tables
record_response: Response = api_client.v4_get_records.sync_detailed(client=api_client.authentication_client,
custom_id='TM-6308')
json_load = json.loads(record_response.content)
record_models: List[RecordModel] = [RecordModel.from_dict(x) for x in json_load['result']]
print(record_models)
real_record_id = record_models[0].id
record_custom_tables_response: Response = api_client.v_4_get_records_record_id_custom_tables.sync_detailed(
client=api_client.authentication_client, record_id=real_record_id)
json_load = json.loads(record_custom_tables_response.content)
custom_tables: List[TableModel] = [TableModel.from_dict(x) for x in json_load['result']]
print(custom_tables)
Metadata
Release files for accelapy 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| accelapy-0.3.5.tar.gz | 217.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| accelapy-0.3.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 913.2 kB
Release files / accelapy-0.3.5.tar.gz
| Download URL | accelapy-0.3.5.tar.gz |
|---|---|
| Size | 217.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7e3afebd9c33f11c4cff2b6832aac30558dd1ec129e7d34e23409d55c095c54
|
|
BLAKE2b-256 checksum How to use checksums |
3a0144cadd3a0c86e8da17f3d9da110e82cff620f32510254b10caba7edf3246
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.0 Linux/6.11.0-1018-azure
|
Release files / accelapy-0.3.5-py3-none-any.whl
| Download URL | accelapy-0.3.5-py3-none-any.whl |
|---|---|
| Size | 695.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76abc5b72677440d7e49fce8643586ed9dab5c9099b0d5ba32c657dbfb07e983
|
|
BLAKE2b-256 checksum How to use checksums |
c135876b9c578c0b219f71e26985966eff42454376370d9a4af510017077eb59
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.0 Linux/6.11.0-1018-azure
|
Security for accelapy 0.3.5
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.