ifm o3r library
Project description
ifmO3r
New python environment
The get the best experience, we recommend to use a blank python venv:
python -m venv [path/name_of_venv]
Now you can choose to either use the local, wheel or pip installation.
Local install
To install and use the ifmO3r and the ifm3dTiny, you need to install this complete repository with:
pip install -e [path to setup.py do not include the setup.py within the path]
This will take care for the python path and dependencies.
Site package install via wheel
You can also install this package via installing the wheel:
pip install [path to wheel].whl
This will be an installation to your python site packages.
CSR-PyPi
You can also install the ifmO3r via the ifm Nexus3 CSR-PyPi: [https://nexus3.intra.ifm/#browse/browse:csr-pypi] For that, you have to follow the description from our IT-colleagues: [https://wiki.ifm.com/display/IT/Nexus+Repository+Manager+OSS#NexusRepositoryManagerOSS-PythonRepository]
Just change the part within the ini file to look like this:
[global]
index = https://nexus3.intra.ifm/repository/csr-pypi/
index-url = https://nexus3.intra.ifm/repository/csr-pypi/simple
extra-index-url =https://nexus.intra.ifm/repository/pypi_python_org/simple
cert = "C:\Users\devoegse\AppData\Roaming\pip\ifmcacert.crt"
Beware that the path fits to your user (%appdata%).
3D viewer
The 3D viewer is also a package within the ifm csr-pypi repository. You can install therefore the
3D viewer by pip install ifmO3rViewer
Styleguide
- File/Folder names: camelCase - e.g. ifm3dTiny, integrationTests, ...
- Class names: PascalCase - e.g. FrameGrabber(), ImageBuffer(), ...
- Function/Method names: snake_style - e.g. amplitude_image(), _get_xyz_image(), ...
- Variable names: snake_style
Commit/Merge
GitLab is using a pipeline and will check the code style guide. You can use pylint and the pylint.rc file for testing your code before committing. A score bellow 5 is disapproved of right now. This score will be increased later.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file ifmO3r-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: ifmO3r-0.0.8-py3-none-any.whl
- Upload date:
- Size: 39.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f1c7b75750d983cbd42aa12b3dd612ebc90c6c6467de55b77075b3171126932 |
|
MD5 | 475ec905aa25012a92a693fb33c2c0a8 |
|
BLAKE2b-256 | 345d53ba3a415678b69c804c656c02bd82b2ab6f1cec8b37af0c83651cefc02b |