PyDIM
PyDIM is a Python interface to DIM. PyDIM lets you create DIM clients and servers, using an API very similar to the one that is used for C/C++.
Check the online documentation at:
http://lhcbdoc.web.cern.ch/lhcbdoc/pydim/index.html
Installation
PyDIM can be installed by following the installation documentation situated at :
http://lhcbdoc.web.cern.ch/lhcbdoc/pydim/api/index.html
Hacking
Here are some guidelines that may help if you want to modify or just read the code of pydim.
Directory structure
src: The part of the extension written in C++ doc: Documentation examples: Examples for how to write servers and clients with PyDIM pydim: Additional functions included in the extension, written in Python. dimbrowser: Contains the Python wrapper to the C++ class DimBrowser setup: An old setup script. It should be deprecated. tests: Unit tests. They can be used as a reference. CI: Contains the CI files needed to the Continuous Integration of PyDIM. examples: Examples of how PyDIM fonctionnalities work
The following files are included in the root directory:
INSTALL: Instructions for installing and building the RPM
MANIFEST.in:
A template for the Manifest file used with distutils.
setup.cfg:
Additional configuration for the distutils script.
=======
Changelog
3.0.7
- Fix raspbian build (incompatible python_requires in setup.cfg)
- redone CI to use pyproject.toml and fix upload to pypi
3.0.6
- Rebuilt and tested successfully with Python 3.9 and RHEL9. Windows build broken
3.0.3
- Make it available for Python 3.7
3.0.1
- Changing the python_requires in the setup.py file.
3.0.0
- PyDIM is now compatible with Python 3.6
2.1.0.419397
- The description string (http://lhcbdoc.web.cern.ch/lhcbdoc/pydim/guide/pydim-c.html#description-string) that had to be passed to the following functions:
- dic_info_service
- dic_cmnd_service
- dic_cmnd_callback
- dic_sync_info_service
- dic_sync_cmnd_servicez is not mandatory anymore. Added a DNS cache system : http://lhcbdoc.web.cern.ch/lhcbdoc/pydim/guide/pydim-c.html#dns-cache
- Adding dimbrowser Python module in order to use the DimBrowser C++ class with Python code : http://lhcbdoc.web.cern.ch/lhcbdoc/pydim/guide/dimbrowser.html
Contact
This module was originally developed by Radu Stoica based on code by Niko Neufeld. Juan Manuel Caicedo improved it significantly and fixed many bugs.
It is currently maintained by Niko Neufeld (niko.neufeld@cern.ch)
Feel free to send your questions and bug reports.
Release files for pydim 3.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pydim-3.0.7.tar.gz | 69.2 kB | Details |
Built distributions (wheels)
Total release size: 6.1 MB
Release files / pydim-3.0.7.tar.gz
| Download URL | pydim-3.0.7.tar.gz |
|---|---|
| Size | 69.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66d46f44fe3032c5cb9843717a308b2b71e9ef24bb1f10f2f4379289ad3990bc
|
|
BLAKE2b-256 checksum How to use checksums |
c83ec20803cdd25cbd9d83a8ec9de0735ece84bdcafc4293940594453bb5cd2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / pydim-3.0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 681.1 kB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
1e79ff2e996c0c1ce68907482d32553663982d00ff451c7442d58a8d1e373e1d
|
|
BLAKE2b-256 checksum How to use checksums |
1ddbfa8a446cd53a3a1acfb4163cb52eda084ec8451ce13da2448cbdea89f48a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / pydim-3.0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 661.8 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
b744dd457a82745a4e3293f934c209b38e5207481d43f77a07a59d0fe197c9fe
|
|
BLAKE2b-256 checksum How to use checksums |
66f555fc9013934a0c0078711e04bbea951b130b4484029c0fa2a54065874017
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / pydim-3.0.7-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp313-cp313t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 680.7 kB |
| Tags | CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c844507273584d82162cc4eb15f4e77d90c5a03ee9784d1bcd008c234d9aa28a
|
|
BLAKE2b-256 checksum How to use checksums |
aebf2d7a4ea329c886f9e0eb8c1fefabc293636bf3cfea6ca71531d465228e9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / pydim-3.0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 661.8 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
685a7f6ee99d76aee61de0674ade233fe7d8b34247c99f2527e0e3f72d7e0452
|
|
BLAKE2b-256 checksum How to use checksums |
9eb552be85307a77d19e66ecf5bc5bf0bee51999cf260d6253c2b7459bf3784a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / pydim-3.0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 662.1 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
4e5b8d3a081371fe517322830d15ee34f6ea56f795638b941c2b74ce1410dd89
|
|
BLAKE2b-256 checksum How to use checksums |
21f65b93cafd9174e16ffeea762fb30300da82134de10400b6d43ef399b96983
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.12
|
Release files / pydim-3.0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 660.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e134a772142a4fc9d26927d9e52e047d8f9b6b60667f28c5a3647455d73970e6
|
|
BLAKE2b-256 checksum How to use checksums |
07019457ece85df480f436c171329d0e7e3d2ea972f5070e4a8dbc59df2c9279
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.14
|
Release files / pydim-3.0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 657.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bdae39b685cdd244e5dfdb5d724f4606f581a933be3039b8e1cfc7ecf8d14b92
|
|
BLAKE2b-256 checksum How to use checksums |
c4274e35c4028e5ab0929c126b9eb392e291021642320fc195c8c6e052b331bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.19
|
Release files / pydim-3.0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 657.0 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e1ab2115f5b3aea42bc3678eac83fa2087644cec0657766de0b46460607588a8
|
|
BLAKE2b-256 checksum How to use checksums |
d3f5ca70e015442886049ce6ad69744a3f259699188e591dff5c3b949f1f017f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / pydim-3.0.7-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | pydim-3.0.7-cp38-cp38-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 658.8 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
99d6aca06830dd96e20313bc35de039706e06f4a103889017795ddd22ccb7fa6
|
|
BLAKE2b-256 checksum How to use checksums |
b4925af332a17c7bfb925815c9ef871df5eaf3da570a2484f1690d882f118cb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.20
|