version 1.0.0-rc.28
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# jfjochclient
|
||||
# jfjoch-client
|
||||
API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland).
|
||||
Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU.
|
||||
Jungfraujoch uses FPGA boards to acquire data at high data rates.
|
||||
@@ -6,8 +6,8 @@ Jungfraujoch uses FPGA boards to acquire data at high data rates.
|
||||
|
||||
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
||||
|
||||
- API version: 1.0.0-rc.27
|
||||
- Package version: 1.0.0-rc.27
|
||||
- API version: 1.0.0-rc.28
|
||||
- Package version: 1.0.0-rc.28
|
||||
- Generator version: 7.8.0
|
||||
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
||||
|
||||
@@ -21,13 +21,13 @@ Python 3.7+
|
||||
If the python package is hosted on a repository, you can install directly using:
|
||||
|
||||
```sh
|
||||
pip install git+https://gitlab.psi.ch/jungfraujoch/nextgendcu.git
|
||||
pip install git+https://git.psi.ch/jungfraujoch/jungfraujoch.git
|
||||
```
|
||||
(you may need to run `pip` with root permission: `sudo pip install git+https://gitlab.psi.ch/jungfraujoch/nextgendcu.git`)
|
||||
(you may need to run `pip` with root permission: `sudo pip install git+https://git.psi.ch/jungfraujoch/jungfraujoch.git`)
|
||||
|
||||
Then import the package:
|
||||
```python
|
||||
import jfjochclient
|
||||
import jfjoch_client
|
||||
```
|
||||
|
||||
### Setuptools
|
||||
@@ -41,7 +41,7 @@ python setup.py install --user
|
||||
|
||||
Then import the package:
|
||||
```python
|
||||
import jfjochclient
|
||||
import jfjoch_client
|
||||
```
|
||||
|
||||
### Tests
|
||||
@@ -54,22 +54,22 @@ Please follow the [installation procedure](#installation--usage) and then run th
|
||||
|
||||
```python
|
||||
|
||||
import jfjochclient
|
||||
from jfjochclient.rest import ApiException
|
||||
import jfjoch_client
|
||||
from jfjoch_client.rest import ApiException
|
||||
from pprint import pprint
|
||||
|
||||
# Defining the host is optional and defaults to http://localhost:5232
|
||||
# See configuration.py for a list of all supported configuration parameters.
|
||||
configuration = jfjochclient.Configuration(
|
||||
configuration = jfjoch_client.Configuration(
|
||||
host = "http://localhost:5232"
|
||||
)
|
||||
|
||||
|
||||
|
||||
# Enter a context with an instance of the API client
|
||||
with jfjochclient.ApiClient(configuration) as api_client:
|
||||
with jfjoch_client.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = jfjochclient.DefaultApi(api_client)
|
||||
api_instance = jfjoch_client.DefaultApi(api_client)
|
||||
|
||||
try:
|
||||
# Cancel running data collection
|
||||
|
||||
Reference in New Issue
Block a user