Uploaded July 2024 | Updated September 2026, 1 day ago
David Lord
pretalx.northbaypython.org/nbpy-2024/talk/HHDBCS
Introducing [Magql](https://magql.autoinvent.dev) (pronounced "magical"), a framework for defining GraphQL APIs, including [generating from SQLAlchemy](https://magql-sqlalchemy.autoinvent.dev) models and [integrating with Flask](https://flask-magql.autoinvent.dev). Magql is extensible, looks familiar to developers who are used to Flask, and provides convenience on top of the "official" Python GraphQL library. I'll discuss why I decided to write this library, and how I went about it, including some of the technical challenges presented by GraphQL's complexity. GraphQL's nested schema and query language allows for some unique and weird possiblities compared to traiditional HTTP/REST APIs, and I'll show off some clever examples that demonstrate its potential. But that complexity can also lead to difficulties. Ultimately, the decision between GraphQL and REST is not clear cut, and this talk will also discuss some of our findings after using Magql and GraphQL in production, and where we want to go next.
Produced by NDV: youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sun Jun 30 14:25:00 2024 at Reis River Ranch
David Lord
pretalx.northbaypython.org/nbpy-2024/talk/HHDBCS
Introducing [Magql](https://magql.autoinvent.dev) (pronounced "magical"), a framework for defining GraphQL APIs, including [generating from SQLAlchemy](https://magql-sqlalchemy.autoinvent.dev) models and [integrating with Flask](https://flask-magql.autoinvent.dev). Magql is extensible, looks familiar to developers who are used to Flask, and provides convenience on top of the "official" Python GraphQL library. I'll discuss why I decided to write this library, and how I went about it, including some of the technical challenges presented by GraphQL's complexity. GraphQL's nested schema and query language allows for some unique and weird possiblities compared to traiditional HTTP/REST APIs, and I'll show off some clever examples that demonstrate its potential. But that complexity can also lead to difficulties. Ultimately, the decision between GraphQL and REST is not clear cut, and this talk will also discuss some of our findings after using Magql and GraphQL in production, and where we want to go next.
Produced by NDV: youtube.com/channel/UCQ7dFBzZGlBvtU2hCecsBBg?sub_confirmation=1
Sun Jun 30 14:25:00 2024 at Reis River Ranch



 adds a range of auditing hooks to the Python runtime, enabling system administrators to see into how it is being used. You can inspect every piece of code that is compiled and executed, intercept calls that modify trace functions, and collect information on code that uses native functions through `ctypes`.
This session will look at why we need security transparency in Python. We will look at actual examples of malware written in Python, and see how the hooks provided by PEP 551 enable administrators to detect and prevent attacks on their systems.
About North Bay Python
A single-track conference north of the Golden Gate, focused on community, collaboration, and all things Python.
North Bay Python is a two-day, single-track Python conference held at the Mystic Theatre in Historic Downtown Petaluma, California, over the weekend of December 2 & 3, 2017.
Were a nonprofit conference for professionals, enthusiasts and students alike. Were focused on inclusion, accessibility, diversity, and affordability. Most importantly, were planning a great lineup of talks from all over the Python ecosystem, with plenty of time to meet new people and develop new ideas.
Our venue, the Mystic Theatre in Downtown Petaluma, is a beautiful example of an early 1900s Vaudeville theatre. You can find over 50 different food and drink options a short walk away, and the nearest hotel is only a block away.
A Python conference north of the Golden Gate
North Bay Python is a single-track conference with a carefully curated set of talks representing the diverse Python community and their different areas of interest.
If a topic is less to your interest, or youve met some people you really want to sit down and chat with, well have plenty of areas away from the main theatre to catch up and chat.
Our goal is to keep prices as low as possible. That means we wont be catering lunch. Instead, you can look forward to extra-long lunch breaks you can use to explore all of the great food options around the venue. Why does Python need security transparency?](https://i.ytimg.com/vi/K7qUVyeh10U/mqdefault.jpg)






