Python Core Sprint 2024: Day 5
Python Core Sprint 2024: Day 5
Datetime and Hypothesis
I reviewed some issues that came to the CPython repo. There were a few interesting tickets related to the datetime
module. These issues were discovered by Hypothesis, a property-based testing tool for Python.
I’ve been hearing a lot about Hypothesis, but never really used it in production or at work. I watched a talk about it
at PyCon US many years ago, and I even had ice cream selfie with Zac who
maintains Hypothesis. Anyway, I’ve just been interested in learning more about Hypothesis and how it could solve issues
not caught by other testing methods, and I think this is one of the perks of contributing to open source: getting exposed
to things you don’t normally use at work, and I think it’s a great way to learn new things.
Extending the Django OAuth Toolkit Application Model Mid-project
Django Oauth Toolkit
The Django Oauth Toolkit is a powerful library for adding OAuth2 functionalities out of the box for your Django app. The library comes with pre-defined models, views, urls, and templates for managing OAuth2 authorization and flow.
The Application Model
Django OAuth Toolkit provides a basic model for the OAuth2 Application, this is a model that represents a Client on
the Authorization server. It has fields like client_id
, user
, redirect_uris
, client_secret
, etc.
PyLadiesCon Speaker Support
Speak at PyLadiesCon
PyLadiesCon CFP is now open until September 15, 2024, and I would love to support you in submitting your talk.
- Perhaps you never gave a talk before, and unsure if speaking for you?
- Perhaps you want to give a talk, but don’t think you’re experienced enough?
- Perhaps you have a talk idea, but don’t know how to turn it into a proposal?
- Perhaps you tried submitting talks before, but always get rejected and feeling discouraged?
I’ve been through all of the above before myself, and I know how you feel. Having a supportive community, and having mentors who were willing to give personalized 1:1 feedback, have helped me overcome my fears and self-doubt, and be a better speaker. The PyLadies community is here to support you.