Skip to main content

iDMS

Upload Python Package

Python class to talk to iDMS REST and Search API within Provincie Zuid-Holland.

Goal

The goal of the package is to have an easy interface to use the API in Python.

Mainly focussed to work with Content Server 21.4, see API docs.

Quick start

Requirements

  1. pip install idms
  2. pip install pandas (optional - for easy data transformation)
  3. pip install openpyxl (optional - to write to Excel file)

Sample code

import getpass
import idms.api.contentserver as cs
import pandas # optional

baseUrl = "idms-url"
idms_username = getpass.getpass(prompt='IDMS username:')
idms_password = getpass.getpass(prompt='IDMS password:')
idms = cs.crawler(baseUrl, idms_username, idms_password)

array = idms.search("overdevest prox[1,f] daniel)")
print(f"Found {len(array)} search results")

# optional load results in a data frame to export results.
df = pd.DataFrame(arr)
print(df)

# Export results to Excel
df.to_excel("searchresults.xlsx")

Development

Package is hosted on GitHub. After each change increase version number and create a new Release on GitHub. The pipeline will trigger a release to PyPi (see status batch above).

Collaborate?

Send a PR!

Disclaimer

The developers of this package are not affiliated with OpenText.

Metadata

Release files for idms 0.2.7

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

Source distribution (sdist)

Source distribution for idms 0.2.7
File Size Uploaded
idms-0.2.7.tar.gz 13.6 kB Details

Built distribution (wheel)

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

Total release size: 23.3 kB

Release files / idms-0.2.7.tar.gz

Download URL idms-0.2.7.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1d449d2a44182d4f50611c44d03b090ee73c0d086d35da385f932b6ecb2c0ce9
BLAKE2b-256 checksum
How to use checksums
dcc440d25b38030d755b144fb58828275538ea042d407dbb2b7ec724b0d6b55a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / idms-0.2.7-py3-none-any.whl

Download URL idms-0.2.7-py3-none-any.whl
Size 9.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
81d2c81d453e1818453811ef63646568eadaf9a4776f9fb71ef9c13339bb43c6
BLAKE2b-256 checksum
How to use checksums
77d594bf4a76490f6e614838783acc72ac28604f2df567188352198c9e8c2b97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 release files

0.2.6

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.20

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

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