yoctopuce / yoctolib_python

Official Yoctopuce Library for Python

Home Page:https://www.yoctopuce.com/EN/article/how-to-start-in-python-with-yoctopuce-modulesp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yoctopuce library for Python

License information

Copyright (C) 2011 and beyond by Yoctopuce Sarl, Switzerland.

Yoctopuce Sarl (hereafter Licensor) grants to you a perpetual non-exclusive license to use, modify, copy and integrate this file into your software for the sole purpose of interfacing with Yoctopuce products.

You may reproduce and distribute copies of this file in source or object form, as long as the sole purpose of this code is to interface with Yoctopuce products. You must retain this notice in the distributed source file.

You should refer to Yoctopuce General Terms and Conditions for additional information regarding your rights and obligations.

THE SOFTWARE AND DOCUMENTATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL LICENSOR BE LIABLE FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY OR SERVICES, ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), ANY CLAIMS FOR INDEMNITY OR CONTRIBUTION, OR OTHER SIMILAR COSTS, WHETHER ASSERTED ON THE BASIS OF CONTRACT, TORT (INCLUDING NEGLIGENCE), BREACH OF WARRANTY, OR OTHERWISE.

Content of this package

  • Documentation/

      API Reference, in HTML and PDF format
    
  • Examples/

      Directory with sample programs in Python
    
  • Sources/

      Source code of the high-level library (in Python)
    
  • Sources/cdll/

      Low-level library (C source code with makefile
      to build this library is available in the C++ library)
    
  • FILES.txt

      List of files contained in this archive
    
  • RELEASE.txt

      Release notes
    

PyPI package

This library is also published on PyPI (the Python Package Index). https://pypi.python.org/pypi/yoctopuce

To install it form PyPI simply run the pip install command like this

pip install yoctopuce

If you allready have the library installed from PyPI you can upgrade it with the following command:

pip install -U yoctopuce

Note that if you use the library form PyPI you need to specify the package name in the the from .. import statements.

from yoctopuce.yocto_api import *
from yoctopuce.yocto_temperature import *

More help

For more details, refer to the documentation specific to each product, which includes sample code with explanations, and a programming reference manual. In case of trouble, contact support@yoctopuce.com

Have fun !

About

Official Yoctopuce Library for Python

https://www.yoctopuce.com/EN/article/how-to-start-in-python-with-yoctopuce-modulesp


Languages

Language:Python 100.0%