GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - rueedlinger/python-snippets: Python Snippets

BranchesTags
Open more actions menu

Latest commit

 

History

35 Commits
35 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
geojson
geojson
 
 
http
http
 
 
image
image
 
 
rss
rss
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
Pipfile
Pipfile
 
 
Pipfile.lock
Pipfile.lock
 
 
README.md
README.md
 
 

Repository files navigation

Python Snippets

These Python Snippets are tested with Python 3.7.x. and are available as Jupyter notebooks (http://jupyter.org/).

Getting Started

All the required Python packages can be installed with pipenv.

Project Setup

First you nee to install pipenv.

$ pip install --user pipenv

Install all the required packages

pipenv install --dev

Run the Notebook

You can start jupyter-lab to play around with the Juypter notebooks.

pipenv run jupyter-lab

Run the Tests (nbval)

To test the Jupyter notebooks this project uses nbval, which is a py.test plugin for validating Jupyter notebooks.

This will check all Jupyter notebooks for errors.

pipenv run py.test --nbval-lax

Upgrade Python Packages

Check which packages have changed.

pipenv update --outdated

This will upgrade everything.

pipenv update

CI Build (GitHub Actions)

  • CI Build

The Python Snippets

The Python snippets are organized by topic.

GeoJSON

  • Convert a pandas DataFrame to GeoJSON (Stations)

RSS

  • Parse a RSS feed with feedparser

HTTP

  • Load the content from a website with urllib.request
  • Extract the text from a HTML document with Beautiful Soup

Image

  • Image diff with scikit-image

About

Python Snippets

Topics

python-snippets

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.