Xanadu-cloud-client

Latest version: v0.3.2

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

Scan your dependencies

Page 1 of 2

0.3.2

Bug fixes

* Set lower bound on compatible `pydantic` versions to v2.0.0. [(46)](https://github.com/XanaduAI/xanadu-cloud-client/pull/46)

Contributors

This release contains contributions from (in alphabetical order):

[Mikhail Andrenkov](https://github.com/Mandrenkov), [Luke Helt](https://github.com/heltluke).

0.3.1

Improvements

* Bumped `wheel` to v0.38.1. [(39)](https://github.com/XanaduAI/xanadu-cloud-client/pull/39)

Bug fixes

* Set upper bound on compatible `pydantic` versions to v2.0.0. [(42)](https://github.com/XanaduAI/xanadu-cloud-client/pull/42)

Contributors

This release contains contributions from (in alphabetical order):

[Mikhail Andrenkov](https://github.com/Mandrenkov).

0.3.0

New features since last release

* Extra request headers may be passed to `Connection.request()`. [(36)](https://github.com/XanaduAI/xanadu-cloud-client/pull/36)

* Job lists can now be filtered by status. [(30)](https://github.com/XanaduAI/xanadu-cloud-client/pull/30)

Using the CLI:

bash
xcc job list --status '<Status>'


Using the Python API:

python
xcc.Job.list(connection, status="<Status>")


Improvements

* An exception is now raised when saving a refresh token with invalid characters. [(31)](https://github.com/XanaduAI/xanadu-cloud-client/pull/31)

* Job results are now displayed using the `pprint` module. [(34)](https://github.com/XanaduAI/xanadu-cloud-client/pull/34)

Before:

json
{
"output": [
"[[0 0 0 0]\n [0 0 0 0]\n [0 0 0 0]\n [0 0 0 0]\n [0 0 0 0]]"
]
}


After:

json
{
"output": [[[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0],
[0, 0, 0, 0]]]
}


* The HTTPError raised when the refresh token is invalid now contains the response object. [(35)](https://github.com/XanaduAI/xanadu-cloud-client/pull/35)

Contributors

This release contains contributions from (in alphabetical order):

[Mikhail Andrenkov](https://github.com/Mandrenkov), [Jack Brown](https://github.com/brownj85), [Noah Rossignol](https://github.com/NIR7cd), [Jack Woehr](https://githup.com/jwoehr), [Hudhayfa Zaheem](https://github.com/HudZah).

0.2.1

New features since last release

* Job results can now be retrieved without converting integers to `np.int64` objects. [(28)](https://github.com/XanaduAI/xanadu-cloud-client/pull/28)

python
import xcc

job = xcc.Job("<UUID>", xcc.Connection.load())

result = job.get_result(integer_overflow_protection=False)


Improvements

* The default HOST setting now points to `platform.xanadu.ai`. [(28)](https://github.com/XanaduAI/xanadu-cloud-client/pull/28)

Documentation

* The centralized [Xanadu Sphinx Theme](https://github.com/XanaduAI/xanadu-sphinx-theme) is now used to style the Sphinx documentation. [(#23)](https://github.com/XanaduAI/xanadu-cloud-client/pull/23)

Contributors

This release contains contributions from (in alphabetical order):

[Mikhail Andrenkov](https://github.com/Mandrenkov).

0.2.0

New features since last release

* The Connection class can now load a Connection from a Settings instance. [(22)](https://github.com/XanaduAI/xanadu-cloud-client/pull/22)

python
import xcc

Initialize a Connection using an implicit Settings instance.
connection = xcc.Connection.load()

Initialize a Connection using an explicit Settings instance.
connection = xcc.Connection.load(settings=xcc.Settings())


* Following an update to the Xanadu Cloud 0.4.0 API, job lists can now be filtered by ID. [(21)](https://github.com/XanaduAI/xanadu-cloud-client/pull/21)

Using the CLI:

bash
xcc job list --ids '["<UUID 1>", "<UUID 2>", ...]'


Using the Python API:

python
xcc.Job.list(connection, ids=["<UUID 1>", "<UUID 2>", ...])


Improvements

* Job results are now streamed in chunks to support large payloads. [(23)](https://github.com/XanaduAI/xanadu-cloud-client/pull/23)

Bug fixes

* The license file is included in the source distribution, even when using `setuptools <56.0.0`. [(20)](https://github.com/XanaduAI/xanadu-cloud-client/pull/20)

Contributors

This release contains contributions from (in alphabetical order):

[Mikhail Andrenkov](https://github.com/Mandrenkov), [Bastian Zimmermann](https://github.com/BastianZim).

0.1.2

Improvements

* Following an update to the Xanadu Cloud 0.4.0 API, names are no longer required to submit jobs. [(16)](https://github.com/XanaduAI/xanadu-cloud-client/pull/16)

Contributors

This release contains contributions from (in alphabetical order):

[Mikhail Andrenkov](https://github.com/Mandrenkov).

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.