Skip to content

Random bits of scripts and code so I'm not reinventing the wheel over and over

Notifications You must be signed in to change notification settings

alex-gagnon/island_of_miscripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Island of Miscripts

Welcome to the Island of Miscripts

What is this repository for?

Random bits of scripts and code so I'm not reinventing the wheel over and over.

PyIsland

Home of the miscreant python scripts.

Setup without Docker

  1. Run pip install -e .\pyisland\ to get setup.

Create a virtual environment

  1. Run pip install virtualenv to install the virtualenv package
  2. Run virtualenv .\pyisland\.venv to create a virtualenv location
  3. Run .\pyisland\Scripts\activate to start up the virtualenv
  • Note - to deactivate the virtualenv, input deactivate

Install packages within the virtualenv

  1. Run pip install -r .\pyisland\requirements.txt to install packages.

Testing

  1. Run pytest .\pyisland\ to run tests.

Setup with Docker

  1. Run docker build -t <image-name> .\pyisland\
  2. Run docker run -it --rm <container-name> <image-name>

Classic Problems

Classic problems that are often seen such as Hanoi Tower, Calculating Pi, etc.

Python Classes

These are classes that provided good examples of OOP usage and that I often use for reference. They can also be used by the Classic Problems.

Contributing

  • Place code in appropriate folder with some documentation
  • When possible, have tests

About

Random bits of scripts and code so I'm not reinventing the wheel over and over

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published