Skip to content

Catch-all repository for book notes, exercises, puzzles, etc

Notifications You must be signed in to change notification settings

gtcooke94/snippets

Repository files navigation

random_snippets

Snippets of Code

This repo contains snippets of code and little things I have worked on, often from exerices or going through sections of python books.

Morsels - Python Morsels Bites - PyBites

Topics:

Attributes:

  • morsels/20200127_unpacker

Abstract Classes/ABC:

  • bites/24.ABCs
  • morsels/20191021_fuzzy_string
  • morsels/20191216_mutable_string
  • morsels/20191230_cyclic_list
  • morsels/20200127_unpacker
  • morsels/20200210_proxy_dict
  • morsels/20200316_grouper
  • morsels/20200413_final_class

Decorators:

  • morsels/20190819_count_decorator
  • morsels/20190930_suppress
  • morsels/20191021_fuzzy_string
  • morsels/20200106_timer
  • morsels/20200120_cached_property

Context Managers:

  • morsels/20190930_suppress
  • morsels/20191125_cd
  • morsels/20200106_timer
  • morsels/20200518_comparator

Metaclasses:

  • morsels/20200217_fancy_reader
  • morsels/20200413_final_class

String Parsing:

  • morsels/20191007_tags_equal

Generators/Iterators:

  • morsels/20190902_deep_flatten
  • morsels/20191014_format_ranges
  • morsels/20191118_interleave
  • morsels/20191209_strict_zip
  • morsels/20191227_fancy_reader
  • morsels/20191230_cyclic_list
  • morsels/20200406_sliceview - Very very good resouce on iterators generators iterables

Itertools:

  • morsels/20191014_format_ranges
  • morsels/20191230_cyclic_list

Property:

  • bites/34.UserClass
  • morsels/20191104_vector
  • morsels/20191111_alias
  • morsels/20200106_timer
  • morsels/20200210_proxy_dict

Dunder Methods:

  • bites/34.UserClass
  • morsels/20191021_fuzzy_string
  • morsels/20191104_vector
  • morsels/20200504_month_delta

Inheritance/Custom Collections:

  • morsels/20191209_permadict
  • morsels/20191216_mutable_string
  • morsels/20191230_cyclic_list
  • morsels/20200316_grouper

Unicode:

  • morsels/20191021_fuzzy_string

Datetime:

  • morsels/20191028_meetup_date

Slots:

  • morsels/20191104_vector

Immutable:

  • morsels/20191104_vector

Dataclass:

  • morsels/20191104_vector

Descriptors:

  • morsels/20191111_alias
  • morsels/20200120_cached_property
  • morsels/20200420_validators

Big Numbers/Decimal:

  • morsels/20191202_perfect_square

Sorting/Bisect:

  • FluentPython/bisect_module.py

About

Catch-all repository for book notes, exercises, puzzles, etc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published