https://github.com/nuvla/python-library
Python library to facilitate use of the Nuvla REST API
https://github.com/nuvla/python-library
cimi python
Last synced: 7 months ago
JSON representation
Python library to facilitate use of the Nuvla REST API
- Host: GitHub
- URL: https://github.com/nuvla/python-library
- Owner: nuvla
- License: apache-2.0
- Created: 2019-02-04T09:52:55.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-12-20T16:28:06.000Z (about 1 year ago)
- Last Synced: 2025-05-22T10:50:44.812Z (8 months ago)
- Topics: cimi, python
- Language: Python
- Homepage: https://sixsq.com
- Size: 440 KB
- Stars: 4
- Watchers: 8
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuvla Python Client Library
[](https://github.com/nuvla/python-library/actions/workflows/release.yml)
Nuvla client library to facilitate interaction with the Nuvla REST API
via the Python language.
## Artifacts
[](https://pypi.org/project/nuvla-api)
Starting from **v3.0.0** this library is compatible only with Py3. If you are
still using Py2 (which is not recommended), then install `nuvla-api==2.1.2`.
v2.1.2 will not receive any updates.
## Documentation
You can get the full documentation by typing:
```python
from nuvla.api import Api
help(Api)
```
Or for a specific function:
```python
from nuvla.api import Api
help(Api.search)
```
## Usage
```python
from nuvla.api import Api
api = Api('https://nuvla.io')
# Login with username & password
api.login_password('username', 'password')
# or
# Login with api-key & secret
api.login_apikey('credential/uuid', 'secret')
api.search('user')
# Logout
api.logout()
```
## Copyright
Copyright © 2019-2024, SixSq SA
## License
Licensed under the Apache License, Version 2.0 (the "License"); you
may not use this file except in compliance with the License. You may
obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied. See the License for the specific language governing
permissions and limitations under the License.