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.3.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

parenting-0.0.3-py3-none-any.whl (26.2 kB view hashes)

Uploaded Python 3

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