Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Python client allows to interact with Cytomine-core through the RESTful API using Python.

Changelog

This new version is a complete rewrite of the Python client and improves and adds a lot of features:

  • Compatibility Python 2.7 / 3+
  • Logging with verbosity levels (standard Python logger)
  • Use requests library to handle HTTP (instead of deprecated libs)
  • Collections are iterable
  • Model's attributes are written in the code: code is self-documented and ease auto-completion
  • Cytomine class is a singleton and its no more necessary to pass it as parameter in every functions
  • Model and Collection are self managed
  • CytomineJob class extends Cytomine and is thus a singleton where the current user is a user-job.

 

Connection

You need 3 parameters to connect :

...