Skip to main content

A python implementation of esa.io API

Project description

esapy

A python implementation of esa.io API

The main purpose of this package is implementation of easy uploading and sharing jupyter notebook to esa.io service.

INSTALATION

  1. Install pandoc

    sudo apt install pandoc
    

    This package call nbconvert internally.

  2. Install package

    pip install esapy
    
  3. generate esa.io token with read/write permission.

  4. make configuration file in your home directory (~/.esapyrc).

    token: your_token
    team: your_team
    
    • You can set them as environment variables: ESA_PYTHON_TOKEN, ESA_PYTHON_TEAM.
    • Environment variables are prior to .esapyrc file.
    • You can check your token using esa-token.

HOW TO USE

  1. Prepare .ipynb file

  2. Convert to markdown and upload images.

    esa-up target.ipynb
    

    This package (for now) will call nbconvert and upload images, and will not upload markdown file as new post.

  3. Post a new article by copy-and-paste the generated markdown file.

License

Copyright (c) 2020 Kosuke Mizuno
This package is released under the MIT license (see LICENSE file).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

esapy-0.1.1.tar.gz (5.4 kB view hashes)

Uploaded Source

Built Distribution

esapy-0.1.1-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page