Skip to main content

OpenIRIS API

Downloads

A simple API for openiris.io. OpenIRIS is a free platform permitting the publishing and management of resources form microscopy units.

This API was developped as part of a France BioImaging project and is offered for use to anyone in the scientific community.

At the moment, there is no REST API published by the site's developpers. This package aims to provide a functional solution that permits PROVIDER ardministration to download data directly from the website's backend.

To get your cookie you have to use the Dev tools of your browser, Network > Cookie script > Cookie. You must then format it into a python dictionary and store it in a .txt file.

Currently in Alpha, more features are scheduled to be added alongside a complete documentation.

Here's a small example of some basic usage of the library

# Import libary
import openirisapi.openirisapi as oi

# Add cookie from text file
cookie = oi.utilities.get_cookie('cookies.txt')

# Download all bookings in a specific timeframe in dataframe form
df = oi.getBookings(cookie,start='2002-03-07',end='2024-03-07')

# Download all users associated to the Provider and the groups that you administer
# and save to csv
users_df = oi.getUsers(cookies,start='2021-03-07',end='2023-03-08', to_csv=True):

# Download all resiources associated to the Provider(s) that you administer
# and skip save to csv
resources_df = oi.getAllResources(cookies, to_csv=False)

Release files for openirisapi 0.0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openirisapi 0.0.3.1
File Size Uploaded
openirisapi-0.0.3.1.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openirisapi 0.0.3.1
File Interpreter ABI Platform
openirisapi-0.0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.9 kB

Release files / openirisapi-0.0.3.1.tar.gz

Download URL openirisapi-0.0.3.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f7d834ee175278928a60919f13ba1043a8c4fd7b66eda2ea3d90a2e2cfb06362
BLAKE2b-256 checksum
How to use checksums
c63b09fe3866b039c3d1c57366c3511ea2024cf3466e0a820963a43440c40b48
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / openirisapi-0.0.3.1-py3-none-any.whl

Download URL openirisapi-0.0.3.1-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c6b420df75e48307912d40278e296039e8bf356e5e058aaf4ec9d992d963cb3
BLAKE2b-256 checksum
How to use checksums
a7ccbf320c821c34fc159042979500e8e96a8dc7985972983e59f74039b9a72f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.3.1 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page