Skip to main content

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.

Metadata

Release files for parenting 0.0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parenting 0.0.4.2
File Size Uploaded
parenting-0.0.4.2.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parenting 0.0.4.2
File Interpreter ABI Platform
parenting-0.0.4.2-py3-none-any.whl Python 3 none any Details

Total release size: 32.3 kB

Release files / parenting-0.0.4.2.tar.gz

Download URL parenting-0.0.4.2.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c14c2704452a6cae83203c4183dd94738239214ff53864d10bf31753fc8c0b9b
BLAKE2b-256 checksum
How to use checksums
6b0c0e2d9610a27bcf26b6d96da212e744ef4f33f808657b79cebcf1bf778a40
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / parenting-0.0.4.2-py3-none-any.whl

Download URL parenting-0.0.4.2-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5068fac7a545a7272c8f160cfd1efec42718d2a8d7988e08f7d0299ff7cac898
BLAKE2b-256 checksum
How to use checksums
1d01667e122cc49eecc1a13415236c0aa7c133b2896baa435855c2c1d183e4c4
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.4.2 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page