inm-rspace
Python tools for interaction with the Rspace Electronic Lab Notebook. Developed at INM - Leibniz Institute for New Materials in Saarbrücken, Germany.
inm-rspace adds functionality to the rspace-client API to make it easier to include personal scientific data workflows.
The main feature is the Workflow class, with which you can wrap arbitrary existing Python code in order to execute it on RSpace documents.
Installation and Setup
You can install inm-rspace through PyPI, which should automatically take care of installing dependencies (especially rspace-client). Simply type:
pip install inm-rspace
To use the API, you need to first create an API key as explained here.
As soon as you import inm-rspace, it will try to connect to RSpace automatically by checking if you have saved your API key as RSPACE_API_KEY along with your RSpace URL as RSPACE_URL (e.g. https://leibniz-inm.researchspace.com) as environment variables in your terminal.
If you haven't, you can connect using the included connect(url, key) method instead.
For convenience, it is recommended to use the environment variables.
For app development, it is recommended to use Python's keyring package to manage API keys instead to avoid saving secrets in plain text.
Documentation and Examples
To learn how to generally use the rspace-client API, please refer to the official examples.
As for how to use the inm-rspace extension for workflows, check the examples folder of this repository.
The full API documentation is available here.
Metadata
Release files for inm-rspace 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| inm_rspace-1.0.1.tar.gz | 11.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| inm_rspace-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.8 kB
Release files / inm_rspace-1.0.1.tar.gz
| Download URL | inm_rspace-1.0.1.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1aa9afda4d7e3ac9d1fb7ac26c71e5e25ae71ed70ffdfe6064d15fb3059bf76c
|
|
BLAKE2b-256 checksum How to use checksums |
ed9164dc242e7d670976fae0148531f5f466ea04bf9b49c51277064856283bbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.13 Darwin/24.6.0
|
Release files / inm_rspace-1.0.1-py3-none-any.whl
| Download URL | inm_rspace-1.0.1-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e165b5ab9edb452e40afeecbfa9599a96b24f86e7963d3ed5dd5ed6afef226a1
|
|
BLAKE2b-256 checksum How to use checksums |
aaa5b6bca7d5b7b994bfbfa2a7c3e7b98f6ec49c65533835041115ac0e5d050e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.13 Darwin/24.6.0
|