Giter Site home page Giter Site logo

k2s's Introduction

k2s

Code style: black

Tip

Deploy AI apps for free on Ploomber Cloud!

A tool to bootstrap Python environments and Jupyter kernels.

Installation

pip install k2s

Documentation

Click here.

k2s's People

Contributors

edublancas avatar wsshawn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

wsshawn

k2s's Issues

support for jupyter

if k2s get is executed in a terminal inside Jupyter we should not launch a new jupyter but create a new kernel, and open the notebook; same if it's executed in a notebook cell

colab support

colab doesn't come with conda; however, this article explains how to add it. we can automate the process.

note: once we release this, we should add a comment to the towards data science article

kaggle support

I thought kaggle stored the notebook source in the __notebook_source__.ipynb but it always shows an empty notebook:

image

even after saving the notebook.

so looks like the only option is manually passing the packages to install. something like:

from k2s import install

install(["ploomber", "scikit-learn"])

some notes on `k2s get`

  • if notebook has no kernel info, add python3 to prevent jupyter from asking
  • scan the notebook and look for strings that look like files, then fetch them as well
  • maybe add a k2s lint that looks for issues in the examples: missing kernel info, examples that depend on extra files. k2s should fix them anyway but it'd be good to alert the author

add progress bar

while installing packages provide feedback on progress (or maybe some flag we can pass to pip install that reduces verbosity but still prints something)

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.