SDK for building Corva DevCenter Python apps.
Project description
corva-sdk
corva-sdk is a framework for building Corva DevCenter Python apps.
Help
See documentation for more details.
Install
Install using pip install corva-sdk.
Contributing
For guidance on setting up a development environment see Development - Contributing.
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
[Unreleased]
[1.3.0] - 2021-02-15
Added
- Secrets support. See corresponding section in docs.
[1.2.2] - 2021-11-01
Fixed
- Successful task app failing to update task status.
[1.2.1] - 2021-10-29
Deprecated
- Returning dict result from task app to get it stored in task payload. Send the request to update the payload explicitly in your app.
[1.2.0] - 2021-08-09
Added
- Subtypes of scheduled event:
ScheduledDataTimeEvent,ScheduledDepthEventandScheduledNaturalTimeEvent
Deprecated
ScheduledEventusage
[1.1.0] - 2021-07-19
Added
- Ability to pass custom logging handlers
to app decorators using
handlerkeyword argument. - Natural time event (single dict) parsing in
scheduledapps.
Fixed
- Multiple logging of the same exception in stream and scheduled apps.
- Log message truncation for low
LOG_THRESHOLD_MESSAGE_SIZEvalues.
[1.0.3] - 2021-06-27
[1.0.2] - 2021-06-27
Added
- Logging of internal errors.
[1.0.1] - 2021-04-30
Fixed
- AWS Lambda context parsing.
[1.0.0] - 2021-04-29
Added
corva.stream,corva.scheduledandcorva.taskapp decorators. See readme for usage examples.ScheduledEvent.company_idfield.
Removed
corva.Corvaclass.
[0.0.18] - 2021-04-16
Changed
- Events are allowed to have extra fields.
[0.0.17] - 2021-04-15
Added
corva.Loggerobject, that should be used for app logging.LOG_THRESHOLD_MESSAGE_SIZEandLOG_THRESHOLD_MESSAGE_COUNTenv variables, that should be used to configure logging.
[0.0.16] - 2021-04-02
Added
app_runnerfixture for testing apps.
Changed
StreamEventwas split intoStreamTimeEventandStreamDepthEvent, which have correspondingStreamTimeRecordandStreamDepthRecordrecords.- Deleted all unsued fields from
ScheduledEvent,TaskEvent,StreamTimeEventandStreamDepthEvent.
Removed
filter_modeparameter fromCorva.stream. Filtering is now automatic.
[0.0.15] - 2021-03-23
Added
Corva.taskdecorator for task apps.
[0.0.14] - 2021-03-12
Added
Testingsection toREADME.md.Api.get_datasetmethod.
Changed
ScheduledEvent.schedule_endfield is now optional.ScheduledEvent.schedule_endandScheduledEvent.schedule_startfield types fromdatetimetoint.
[0.0.13] - 2021-03-04
Added
- Tools for testing apps.
[0.0.12] - 2021-02-11
Fixed
TaskEventqueue event parsing.
###Changed
StreamEventmust have at least one record.StreamEventandScheduledEvent:- Added descriptions to fields.
- Simplified event structures.
[0.0.11] - 2021-02-10
Fixed
ScheduledEventqueue event parsing.
[0.0.10] - 2021-02-05
Changed
Apiclass:- Deleted retries.
- Responses do not use
raise_for_statusanymore. - Lowered
default_timeoutto 30 seconds. - Fixed url build exceptions on Windows.
[0.0.9] - 2021-02-05
Removed
- Obsolete
StreamEventfields:app_version. - Obsolete
ScheduledEventfields:app_version.
[0.0.8] - 2021-02-05
Fixed
api_keyextraction fromcontext.
[0.0.7] - 2021-02-04
Fixed
StreamEventqueue event parsing.
[0.0.5] - 2021-02-04
Added
- Required
contextparameter toCorva. - Documentation in
README.md.
[0.0.4] - 2021-01-20
Added
Corvaclass, which containsstreamandscheduleddecorators for stream and scheduled apps.
Removed
StreamAppandScheduledAppclasses.
[0.0.3] - 2020-12-15
Fixed
- Deployment to PyPI.
[0.0.2] - 2020-12-15
###Added
StreamAppto build stream apps.ScheduledAppto build scheduled apps.TaskAppto build task apps.Apiclass to access Platform and Data Corva APIs.Cacheclass to share data between app invokes.- Event classes:
StreamEvent,ScheduledEventandTaskEvent.
[Unreleased] https://github.com/corva-ai/python-sdk/compare/v1.3.0...master [1.3.0] https://github.com/corva-ai/python-sdk/compare/v1.2.2...v1.3.0 [1.2.2] https://github.com/corva-ai/python-sdk/compare/v1.2.1...v1.2.2 [1.2.1] https://github.com/corva-ai/python-sdk/compare/v1.2.0...v1.2.1 [1.2.0] https://github.com/corva-ai/python-sdk/compare/v1.1.0...v1.2.0 [1.1.0] https://github.com/corva-ai/python-sdk/compare/v1.0.3...v1.1.0 [1.0.3] https://github.com/corva-ai/python-sdk/compare/v1.0.2...v1.0.3 [1.0.2] https://github.com/corva-ai/python-sdk/compare/v1.0.1...v1.0.2 [1.0.1]: https://github.com/corva-ai/python-sdk/compare/v1.0.0...v1.0.1 [1.0.0]: https://github.com/corva-ai/python-sdk/compare/v0.0.18...v1.0.0 [0.0.18]: https://github.com/corva-ai/python-sdk/compare/v0.0.17...v0.0.18 [0.0.17]: https://github.com/corva-ai/python-sdk/compare/v0.0.16...v0.0.17 [0.0.16]: https://github.com/corva-ai/python-sdk/compare/v0.0.15...v0.0.16 [0.0.15]: https://github.com/corva-ai/python-sdk/compare/v0.0.14...v0.0.15 [0.0.14]: https://github.com/corva-ai/python-sdk/compare/v0.0.13...v0.0.14 [0.0.13]: https://github.com/corva-ai/python-sdk/compare/v0.0.12...v0.0.13 [0.0.12]: https://github.com/corva-ai/python-sdk/compare/v0.0.11...v0.0.12 [0.0.11]: https://github.com/corva-ai/python-sdk/compare/v0.0.10...v0.0.11 [0.0.10]: https://github.com/corva-ai/python-sdk/compare/v0.0.9...v0.0.10 [0.0.9]: https://github.com/corva-ai/python-sdk/compare/v0.0.8...v0.0.9 [0.0.8]: https://github.com/corva-ai/python-sdk/compare/v0.0.7...v0.0.8 [0.0.7]: https://github.com/corva-ai/python-sdk/compare/v0.0.5...v0.0.7 [0.0.5]: https://github.com/corva-ai/python-sdk/compare/v0.0.4...v0.0.5 [0.0.4]: https://github.com/corva-ai/python-sdk/compare/v0.0.3...v0.0.4 [0.0.3]: https://github.com/corva-ai/python-sdk/compare/v0.0.2...v0.0.3 [0.0.2]: https://github.com/corva-ai/python-sdk/releases/tag/v0.0.2
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file corva-sdk-1.3.0.tar.gz.
File metadata
- Download URL: corva-sdk-1.3.0.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7b150b16e94c27fde5ed830de05a885a785c77005d771d549d2f304c22a12dd
|
|
| MD5 |
990d0312c2dfef3e29229df21c9bb084
|
|
| BLAKE2b-256 |
e27399db055adf172b99c35673fe67285990284bd76c358aa39ba161e5b4bf6f
|
File details
Details for the file corva_sdk-1.3.0-py3-none-any.whl.
File metadata
- Download URL: corva_sdk-1.3.0-py3-none-any.whl
- Upload date:
- Size: 24.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5cca2de8936814d1b446263f01f4eff319118ed61d372b5572c3f8e2f4caebbe
|
|
| MD5 |
04cd517b2868a836b2fc08b8ce2051d3
|
|
| BLAKE2b-256 |
ea2dc42bb7b8298a100cb8eb064900d5519605cc79b8c6cd1bc6beee85f40c65
|