Scaleapi

Latest version: v2.15.4

Safety actively analyzes 630217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 7

2.0.5

New Features
- Project creation now supports `self_serve` option.

Improvements
- Extended list of retry codes with `408` and Cloudflare `5xx` codes

Other Changes and Notes
- Readme updates

2.0.4

Improvements
- Extended auto-retry with Cloudflare response codes `5xx`
- Improved default exception handling


Other Changes and Notes
- Type hinting for Exception map

2.0.3

- SDK handles `503` Response code as `ScaleServiceUnavailable`, with auto-retry
- For unknown error types from API, the default exception `ScaleException` is extended with the source Response Code
- Readme is updated

2.0.2

Bugfixing and readme updates.

2.0.1

- Code samples in Readme updated
- CircleCI configured for automated build, test and publish
- HTTP Retry will be applied for `500` error code as well

2.0.0

What's New in v2

_Please refer to latest [README](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst) and [Migration Guide](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md) for detailed documentation._

New Ways to Interact with Scale API:
- Introduced `get_tasks()` to [retrieve tasks](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst#list-tasks) easier by handling pagination, tokens, offsets, and timeouts
- `create_TaskType_task(...)` methods are [replaced](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst#create-task) with `create_task(TaskType, ...)` by supporting new Task Types like Lidar
- A new method `as_dict()` introduced to [access objects](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md#accessing-attributes-task-batch-project) as a dictionary
- [Deprecated](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md#deprecated-methods) some methods (`fetch_task` and `list_batches`) to avoid naming confusion
- Object models are updated for Task, Project, and Batch

API and Infrastructure Improvements:
- Enabled [HTTP retry](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md#deprecated-methods) for certain error codes
- Improved error handling and introduced [new Exception types](https://github.com/scaleapi/scaleapi-python-client/blob/master/README.rst#create-task).
- Enabled type hinting across the package

Documentation Updates:
- New [Migration Guide](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/migration_guide.md) for v2
- New [Developer Guide](https://github.com/scaleapi/scaleapi-python-client/blob/master/docs/developer_guide.md) for SDK developers
- README is uploaded to [PyPI](https://pypi.org/project/scaleapi/)

For Developers:
- New coding standards are applied via Pylint, flake8, and black
- Integrated pre-commit for a better/consistent developer experience
- publish.sh introduced for an automated publish to PyPI
- New `pytest` test cases are added

Page 5 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.