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.5-py3-none-any.whl
.
File metadata
- Download URL: ifmO3r-0.0.5-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 | daabd279d58665b2847c6ec8d823c3deb90b751d95697e11f550754b9889a04f |
|
MD5 | c56bdb1dde9c4585119c1dea59bd0a1b |
|
BLAKE2b-256 | d2eaef4a15c7059a4ca0c7372bc9f4d8601f45ab85b17a602b0eb71666430f88 |