- Add nl-ams-3 AZ
- Add pl-waw-2 AZ
- Add nl-ams-2 AZ
- Add fr-par-3 AZ
- Add fr-par-2 and pl-waw-1 AZ
- Add aliases for fr-par-1 and nl-ams-1
- Let user specify any value for requests.verify field
- Use new instance api url
- Keep support for python 2 by fixing cachetools version.
- Move __init__.py into apis subpackage
- Add a short (ttl-based) cache to
AccountAPI.get_quotas()
- Add support for unlimited quotas
- Call api-account with query params in
get_resources
function
- Target tests on Python 3.7 and 3.8-dev.
- Remove Python 3.3 support.
- In AccountAPI.get_quotas(), request more than the default 50 lines, quick fix of CP-1660
- Add jwt support in api-account
- Add
scaleway.apis.BillingAPI
. - Add MAINTAINERS.md file.
- Add default
isort
config. - Activate tests on Python 3.3, 3.5, 3.6-dev, 3.7-dev, PyPy2 and PyPy3.
- Remove popularity badge: PyPI download counters are broken and no longer displayed.
- Move
coverage
config tosetup.cfg
. - Add
test
anddevelop
dependencies. - Only show latest changes in the long description of the package instead of the full changelog.
- Add default PyLint config.
- Add default
pycodestyle
config. - Enforce
pycodestyle
checks in Travis CI jobs. - Test production of packages in Travis CI jobs.
- Always check for package metadata in Travis CI jobs.
- Make wheels generated under Python 2 environnment available for Python 3 too.
- Add link to full changelog in package's long description.
- Fix
ComputeAPI
whenbase_url
is providen explicitely.
- Accept
region
argument in the constructor ofComputeAPI
.
query()
accepts the argumentserialize
. IfFalse
(default isTrue
), aflask.Response
object is returned instead of adict
. It can be used to get response HTTP headers.
- Forward
api.query()
kwargs
to theslumber.API
object. It is now possible to override theappend_slash
behaviour withapi.query(append_slash=False)
.
- Really, do not flood the APIs in case of maintenance. Reduce number of retries from 10 to 3.
- Do not flood the APIs in case of maintenance.
- Add bumpversion config.
- Fix readme rendering.
- Switch from
coveralls.io
tocodecov.io
.
- Add Python3 support (#4).
- Add an explicit error message when SNI fails (#8).
- In an API endpoint is in maintenance (ie. it returns
HTTP/503
), keep trying to make requests for 180 seconds.
- Fix Pypi mess.
- Rename OCS to Scaleway.
import ocs
becomesimport scaleway
.
- Install packages to have TLS SNI support.
- Update APIs URLs from
cloud.online.net
toscaleway.com
.
- Add param
include_locked
toAccountAPI.get_resources()
. Useful if you need to list all the permissions of a token, even if the owner's organization is locked. AccountAPI.has_perm()
also accepts the paraminclude_locked
.
- Raise
BadToken
if account API returnsHTTP/400
.
ocs_sdk.apis.API
accepts the constructor paramuser_agent
. Defaults toocs-sdk Pythons/version Platform
.- Check code coverage thanks to coveralls.
- Add missing license files. Closes #1.
- Create class
MetadataAPI
to get metadata of a running server.
- Add documentation.
- Set production URLs as defaults in
AccountAPI
andComputeAPI
.
- Added quota methods (
has_quota
,get_quotas
) & their tests. Refs: AM-1, AM-11.
- Minor changes in
AccountAPI.perm_matches
(67f967d26d3). base_url
can be given to the constructor ofAPI()
.verify_ssl
can be given to the constructor ofAPI()
.
- Raise
InvalidToken
whenget_resources
is called with and invalid token.
- Add missing files in source tarball.
- Initial release.
- First commit.