Coder Social home page Coder Social logo

naveenkumarreddy8 / pythonworkshop Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 3.86 MB

Hello Pythoneer! Want to learn Python ๐Ÿ with having fun? You have come to the right place โ™ฅ๏ธ

License: MIT License

Jupyter Notebook 99.31% Python 0.17% Dockerfile 0.52%
python jupyter tutorial book python-book

pythonworkshop's Introduction

โš ๏ธ The contents of this repo moved to PythonWorkshop and new contents are being actively added there.

PythonWorkshop

Hello Pythoneer! Want to learn Python ๐Ÿ with having fun? You have come to the right repository โ™ฅ๏ธ

๐Ÿš€ Homepage

Using Docker to dive through this Repository

Our docker image is bundled with all the required to run this repository.

  • Pull the docker image
docker pull naveen8/pythonworkshop:latest
  • Clone our repository
git clone https://github.com/NaveenKumarReddy8/PythonWorkshop.git
  • Run our docker image mounting our repo and port forwarding the container port 8888 to host port.
docker container run -p 8888:8888/tcp -v <cloned_repo_destination>:/pythonworkshop naveen8/pythonworkshp:latest 

Or using the docker compose to spin up the container ๐Ÿ˜Ž ๐Ÿš€:

cd into the cloned repository directory and use the following command.

docker compose up

Open the localhost url being shown in the logs which contains the token for authentication.

Developer setup

  • Clone our repository
git clone https://github.com/NaveenKumarReddy8/PythonWorkshop.git
  • Build the Docker image using the Dockerfile.
docker image build -t <repository>:<tag> .
  • Run the docker image just created mounting our repo and port forwarding the container port 8888 to host port.
docker container run -p 8888:8888/tcp -v <cloned_repo_destination>:/pythonworkshop naveen8/pythonworkshp:latest 

Or using the docker compose to spin up the container ๐Ÿ˜Ž ๐Ÿš€:

cd into the cloned repository directory and use the following command.

docker compose up

To generate the markdown file of a particular .ipynb notebook:

# Single file
jupyter nbconvert --to markdown <ipynb file>

# Multiple files

for f in *.ipynb; do jupyter nbconvert --to markdown $f; done

To concat multiple markdown files we use pandoc

pandoc -s 1_file.md 2_file.md 3_file.md -o merge.md

# We do use chronological numerical order in our repo, so we can write the above command as:
pandoc -s $(ls -v *.md) -o merge.md

To convert the pandoc style markdown file generated to Github Flavoured markdown:

pandoc -s merge.md -o github_flavoured_markdown.md --to gfm

Made with Love โ™ฅ๏ธ

pythonworkshop's People

Contributors

dependabot[bot] avatar naveenkumarreddy8 avatar naveenkumarreddypemmana avatar

Stargazers

 avatar

Watchers

 avatar

pythonworkshop's Issues

Dockerize Pythonworkshop

Dockerize python workshop along with github actions on master branch, have a feature -> develop -> master merge sequence. Docker image build and push applicable on master branch.

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.