Skip to main content

parenting the Python way

Project description

parenting - the Python way

Version License Status


Never lend your car to anyone to whom you have given birth.

  • Erma Bombeck

I have just recently become a first time dad and this is the greatest joy of my life. There is so much to learn and yet my software development experience has prepared so little for this. After my first weeks of daddying, I put some of my learnings into a - what else could I do - Python library. Obviously, this is not going to solve your problems, but maybe it can humor you a bit and this is what dad humor is for.

Usage

parenting is published on PyPi and you can get it with the standard pip interface. parenting needs Python 3.6 and uses wasabi as a pretty printer.

Once you downloaded the library, you find a standard python interface. I implemented classes depending on your relationship to the baby. They yield mostly the same results, however, parenting is not just the parents job sometimes and it is important to recognize that. I currently implemented ten classes so far: mommy(), daddy(), partner, auntie(), uncle(), sister(), brother(), grandma(), grandpa(), friend().

# import the class you need, for me its daddy
from parenting import daddy

# init the class
dad = daddy()

Ones the class is initiated, you get access to the get_advice() method. This will guide you through a dialog, in which we try to find your baby's problem together. I must admit, this is obviously simplified, yet inspired by So beruhige ich mein Baby an amazing book by Christine Rankl.

The get_advice() method implements a bunch of criteria to check when your baby starts complaining. In the first three months, complaining is typically screaming rather than actively communicating what the exact problem is.

Anyway, I hope this helps you. Probably it won't solve any of your problems, but maybe it humors you, at least to some extend. In my defense, I am a dad now, so I get to make jokes such as that one.

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

parenting-0.0.4.2.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

parenting-0.0.4.2-py3-none-any.whl (26.2 kB view details)

Uploaded Python 3

File details

Details for the file parenting-0.0.4.2.tar.gz.

File metadata

  • Download URL: parenting-0.0.4.2.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

File hashes

Hashes for parenting-0.0.4.2.tar.gz
Algorithm Hash digest
SHA256 c14c2704452a6cae83203c4183dd94738239214ff53864d10bf31753fc8c0b9b
MD5 2dab96442ae059bfc98647abaa9f344f
BLAKE2b-256 6b0c0e2d9610a27bcf26b6d96da212e744ef4f33f808657b79cebcf1bf778a40

See more details on using hashes here.

File details

Details for the file parenting-0.0.4.2-py3-none-any.whl.

File metadata

  • Download URL: parenting-0.0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 26.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.7

File hashes

Hashes for parenting-0.0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5068fac7a545a7272c8f160cfd1efec42718d2a8d7988e08f7d0299ff7cac898
MD5 e6ce9b14fbbe76c1dd24427cedb9db9e
BLAKE2b-256 1d01667e122cc49eecc1a13415236c0aa7c133b2896baa435855c2c1d183e4c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page