# New conception gramplet?

**URL:** <https://gramps.discourse.group/t/new-conception-gramplet/7856>\
**Category:** Ideas\
**Created:** [June 20, 2025, 8:58am UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856 "2025-06-20T08:58:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ursus](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ursus/32/5975_2.png) [@ursus](https://gramps.discourse.group/u/ursus)\
**Post date:** [June 20, 2025, 8:58am UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/1 "2025-06-20T08:58:51Z")

</div>

AIO64-6.0.1–1  
Win

For my research I regularly have to take two dates out of GRAMPS. The marriage date of current selected family and the birth date of their first born child. I take these dates to LibreOffice Calc. Enter them in their appropriate cells and copy the results of my custom calculation back into gramps. It basically calculates how long before or after marriage the child was conceived. (there is more to it then that). I just wondered if this could be done with the new gramp.py gramplet. BUT I have to say that I have ZERO experience using python, so have no idea if it could be done and where to begin.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 20, 2025, 12:25pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/2 "2025-06-20T12:25:38Z")

</div>

For an example of date comparison and validation add-on (implemented as a Tool rather than a Gramplet), see [the source code](https://github.com/gramps-project/gramps/blob/master/gramps/plugins/tool/verify.py) of the [**Verify the Data** built-in tool](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Tools#Verify_the_Data).

(It has a glade file for the interface layout and the registration is one of several in the [`tools.gpr.py`](https://github.com/gramps-project/gramps/blob/9aa872287dfbac66cf6e6bd38cd0e9607699172a/gramps/plugins/tool/tools.gpr.py#L458-L480) file.)

---

<div class="post-metadata">

**Author:** ![ursus](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ursus/32/5975_2.png) [@ursus](https://gramps.discourse.group/u/ursus)\
**Post date:** [June 20, 2025, 1:10pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/3 "2025-06-20T13:10:05Z")

</div>

Thank you for your reply. I could have / should have guessed that an answer would be way over my head. I’ll keep the CALC file alive.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 20, 2025, 1:16pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/4 "2025-06-20T13:16:50Z")

</div>

You could ask an AI to review the code and reduce it to identifying the number of days between the marriage date (if any) and the date of birth of the first known child (if any).

Then try that as a Family category SuperTool script.

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 20, 2025, 1:22pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/5 "2025-06-20T13:22:03Z")

</div>

Another gramplet that might be adaptable to your purpose is the [Age Stats gramplet](https://www.gramps-project.org/wiki/index.php/Gramps_6.0_Wiki_Manual_-_Gramplets#Age_Stats)

---

<div class="post-metadata">

**Author:** ![roptat](https://avatars.discourse-cdn.com/v4/letter/r/51bf81/32.png) [@roptat](https://gramps.discourse.group/u/roptat)\
**Post date:** [June 23, 2025, 5:03pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/6 "2025-06-23T17:03:21Z")

</div>

If you use FamilyTreeView, you could use a custom badge on families. It would show directly on your tree. You’ll need to write some python for that, though.

---

<div class="post-metadata">

**Author:** ![ursus](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/ursus/32/5975_2.png) [@ursus](https://gramps.discourse.group/u/ursus)\
**Post date:** [June 23, 2025, 5:20pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/7 "2025-06-23T17:20:37Z")

</div>

Thanks, but I’m an absolute noob on any of the current languages. Grown up with basic, pascal and VB. I have no clue where to begin and will leave the situation as is.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [July 23, 2025, 5:22pm UTC](https://gramps.discourse.group/t/new-conception-gramplet/7856/8 "2025-07-23T17:22:11Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
