Giter Club home page Giter Club logo

learn-citrination's Introduction

Citrine banner

learn-citrination

Demos and tutorials for API access to Citrination.

Documentation for the Python Citrination Client (PyCC) can be found here.

Contents

The examples are grouped based on the functionality and tools they aim to teach. Examples include:

Requirements

Most of these tutorials are Jupyter notebooks backed by a Python 3 kernel. You'll need:

  • Python 3 with Jupyter. Anaconda/Miniconda is highly recommended.
  • Additional packages, which can be installed using pip:
pip install -U -r requirements.txt   

or conda:

while read requirement; do conda install --yes $requirement; done < requirements.txt

Most of the IPython notebooks are tested using continuous integration and Python versions 2.7, 3.5, and 3.6. While other Python versions (e.g. 3.4) may still work, we cannot guarantee full support.

API Key

You will need a valid Citrination Client API key set in your environment variables:

  1. Create an account on Citrination (if you don't already have one).

  2. Go to your account page and look for "API Key."

  3. Add the key to your environment.

    • On MacOS, open your .bash_profile and add the line
    export CITRINATION_API_KEY="your_key_copied_from_the_website"
    

    Each new Terminal window you open will have the key loaded automatically.

    • On Windows, open your Command Prompt / Anaconda Prompt and enter the line
    setx CITRINATION_API_KEY "your_key_copied_from_the_website"
    

    Each new Prompt you open will have the key loaded automatically.

The API key functions as the password for the client, so it's important to keep it private. Therefore, we put it in your system environment instead of in the source code to help avoid unintentional sharing or publication of your API key.

Additional Resources

learn-citrination's People

Contributors

carenac avatar enze-chen avatar jling11 avatar maxhutch avatar mgdotdev avatar saurabh02 avatar setogit avatar sparadiso avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

learn-citrination's Issues

pyCC 4 compatible notebooks

pyCC 4.0.0 is released. What's the migration plan for the tutorial notebooks? For new users, it'd be nice to have 4.0.0 notebooks sooner than later.

I went over the tutorial notebooks with pyCC 4.0.0. The edit was relatively straightforward (thanks to the nice and short change log) but, as a new user, a bit confusing to learn less-clean 3.x API and migrate to 4.0.0 at the same time.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.