Cytomine-Python-Client-2.3.0.poc.tar.gz

STEP 1: Have you installed this repository?

If not, run this installation script command:

curl -s https://packagecloud.io/install/repositories/cytomine-uliege/Cytomine-python-client/script.python.sh | bash
copy
curl -s https://packagecloud.io/install/repositories/cytomine-uliege/Cytomine-python-client/script.python.sh | bash

STEP 2: Install the package
sudo pip install cytomine-python-client==2.3.0.poc

Python client to interact with Cytomine.

Full description:
  # Cytomine Python client
 > Cytomine-python-client is an open-source Cytomine client written in Python. This client is a Python wrapper around Cytomine REST API gateway.
 [![Build Status](https://travis-ci.com/Cytomine-ULiege/Cytomine-python-client.svg?branch=master)](https://travis-ci.com/Cytomine-ULiege/Cytomine-python-client)
 [![GitHub release](https://img.shields.io/github/release/Cytomine-ULiege/Cytomine-python-client.svg)](https://github.com/Cytomine-ULiege/Cytomine-python-client/releases)
 [![GitHub](https://img.shields.io/github/license/Cytomine-ULiege/Cytomine-python-client.svg)](https://github.com/Cytomine-ULiege/Cytomine-python-client/blob/master/LICENSE)
 ## Overview
 The main access point to Cytomine data is its REST API. This client is a Python package that can be imported in an application and allows to import/export data from Cytomine-Core and Cytomine-IMS using RESTful web services e.g. to generate annotation (spatial) statistics, create regions of interest (e.g. tumor masks), add metadata to images/annotations, apply algorithms on image tiles, ...
 See [documentation](http://doc.cytomine.be/display/ALGODOC/%5BDOC%5D+Data+access) for more details.
 ## Requirements
 * Python 2.7 | 3.5+
 ## Install
 **To install *official* release of Cytomine-python-client, see @cytomine. Follow this guide to install forked version by ULiege.**
 ### Manual installation
 To download and install manually the package, see [manual installation procedure](http://doc.cytomine.be/display/ALGODOC/Data+access+using+Python+client#DataaccessusingPythonclient-Installation).
 ### Automatic installation
 To retrieve package using `pip`:
 curl -s https://packagecloud.io/install/repositories/cytomine-uliege/Cytomine-python-client/script.python.sh | bash
 pip install cytomine-python-client
 See [package repository](https://packagecloud.io/cytomine-uliege/Cytomine-python-client) for details.
 ### In a Docker container
 To ease developpement of new Cytomine software, the Cytomine-python-client package is available in Docker containers:
 * [cytomineuliege/software-python3-base](https://hub.docker.com/r/cytomineuliege/software-python3-base/) provides a Python 3.5 environment with client already installed.
 * [cytomineuliege/software-python2-base](https://hub.docker.com/r/cytomineuliege/software-python2-base/) provides a Python 2.7 environment with client already installed.
 These Docker images are tagged with the Python client version number. Two image variants are given for each client version:
 * `cytomineuliege/software-pythonX-base:<version>` is the defacto image. If you are unsure about what your needs are, you probably want to use this one.
 * `cytomineuliege/software-pythonX-base:<version>-slim` is an image that does not contain all the common package contained in the default tag and only contains the minimal packages needed to run Python. If you are working in an environment where only the python image will be deployed and you have space constraints, we recommend to use this one.
 See [official python Docker image](https://hub.docker.com/_/python/) for more details.
 ## Usage
 See [detailed usage documentation](http://doc.cytomine.be/display/ALGODOC/Data+access+using+Python+client#DataaccessusingPythonclient-Usage).
 ### Basic example
 Three parameters are required to connect:
 * `HOST`: The full URL of Cytomine core (e.g. “http://demo.cytomine.be”).
 * `PUBLIC_KEY`: Your cytomine public key.
 * `PRIVATE_KEY`: Your cytomine private key.
 First, the connection object has to be initialized.
 from cytomine import Cytomine
 host = "demo.cytomine.be"
 public_key = "XXX" # check your own keys from your account page in the web interface
 private_key = "XXX"
 cytomine = Cytomine.connect(host, public_key, private_key)
 The next sample code should print “Hello {username}” where {username} is replaced by your Cytomine username and print the list of available projects.
 from cytomine.models import ProjectCollection
 print("Hello {}".format(cytomine.current_user))
 projects = ProjectCollection().fetch()
 print(projects)
 for project in projects:
 print(project)
 ### Other examples
 * [Scripts in examples directory](https://github.com/Cytomine-ULiege/Cytomine-python-client/tree/master/examples)
 * [Documentation by examples](http://doc.cytomine.be/display/ALGODOC/Data+access+using+Python+client#DataaccessusingPythonclient-Usage)
 ## References
 When using our software, we kindly ask you to cite our website url and related publications in all your work (publications, studies, oral presentations,...). In particular, we recommend to cite (Marée et al., Bioinformatics 2016) paper, and to use our logo when appropriate. See our license files for additional details.
 - URL: http://www.cytomine.org/
 - Logo: [Available here](https://cytomine.coop/sites/cytomine.coop/files/inline-images/logo-300-org.png)
 - Scientific paper: Raphaël Marée, Loïc Rollus, Benjamin Stévens, Renaud Hoyoux, Gilles Louppe, Rémy Vandaele, Jean-Michel Begon, Philipp Kainz, Pierre Geurts and Louis Wehenkel. Collaborative analysis of multi-gigapixel imaging data using Cytomine, Bioinformatics, DOI: [10.1093/bioinformatics/btw013](http://dx.doi.org/10.1093/bioinformatics/btw013), 2016.
 ## License
 Apache 2.0

Checksums

MD5 d5fe81cbccbd38c128599aaedcfb695b
SHA1 efd519907cb526b2b59feb2259c41f5520352a37
SHA256 a233a36578a2811003d8fa19a1016e1c8c230f4644514c507953dbab165445a2
SHA512 14cba25e8c8b4734d860ec021674656fb230f103b0f5cd3ded221324942153f841c4f813b2233f8938201cc39ee95bde5eaece0007ce566daa382c6f7cc4b052

Files

  • Cytomine-Python-Client-2.3.0.poc/setup.py
  • Cytomine-Python-Client-2.3.0.poc/setup.cfg
  • Cytomine-Python-Client-2.3.0.poc/requirements.txt
  • Cytomine-Python-Client-2.3.0.poc/README.md
  • Cytomine-Python-Client-2.3.0.poc/PKG-INFO
  • Cytomine-Python-Client-2.3.0.poc/LICENSE
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/wholeslide.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/software.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/reader.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/geometry.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/descriptor_reader.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/annotations.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/utilities/__init__.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/user.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/track.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/storage.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/software.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/social.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/property.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/project.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/ontology.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/model.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/imagegroup.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/image.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/collection.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/annotation.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/_utilities/pattern_matching.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/_utilities/dump.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/_utilities/download.py
  • Cytomine-Python-Client-2.3.0.poc/cytomine/models/_utilities/__init__.py

Uploaded

about 5 years ago

Package Size

43.5 KB

Downloads

26

wget

wget --content-disposition "https://packagecloud.io/cytomine-uliege/Cytomine-python-client/packages/python/Cytomine-Python-Client-2.3.0.poc.tar.gz/download?distro_version_id=166"

Homepage

http://www.cytomine.org

License

LICENSE