Experience better workflow with google colab, local jupyter notebooks and git
Project description
Welcome to colab-cli 👋
Experience better workflow with google colab, local jupyter notebooks and git
✨ Demo
Install
python -m pip install colab-cli or python3.7 -m pip install colab-cli
Set-up
STEP-1:
Get your client_secrets.json, instructions given here, only follow till the part where you have client_secrets.json in a local directory
STEP-2:
Go to the local directory with client_secrets.json
colab-cli set-config client_secrets.json
STEP-3:
Now we need to set the google account user id, goto your browser and see how many google logins you have, the count start from zero
for eg. I have 3 login and I use the second one for coding work, so my user id is 1
colab-cli set-auth-user 1
🙌 Now You're all set to go
Usage
colab-cli --help
- List local ipynb
colab-cli list-nb
- Open local ipynb file in google colab for first time and remote copy for subsequent time
colab-cli open-nb lesson1-pets.ipynb
- Now you have made some changes to ipynb in colab, get the modified file locally by
colab-cli pull-nb lesson1-pets.ipynb
- Made some changes to ipynb locally, push it to drive
colab-cli push-nb lesson1-pets.ipynb
Author
👤 Akshay Ashok
- Twitter: @aks2899
- Github: @Akshay090
- LinkedIn: @akshay-a
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.
Show your support
Give a 🌟 if this project helped you!
📝 License
Copyright © 2020 Akshay Ashok.
This project is MIT licensed.
This README was generated with ❤ by readme-md-generator
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
Built Distribution
Hashes for colab_cli-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f00d4baed9e45dd1f9acc07e52b44bfebddb7d8a6f63085fc56cdfb5c22ae8d4 |
|
MD5 | 50f3852442ac3c1452ca7da6e7207937 |
|
BLAKE2b-256 | 63c6f1f75024047bf9d4d1c1155e80f1fd0439c8987673f57b91c962e660d997 |