Recently, while looking for ways to improve Schemathesis' test suite I found an old issue titled "Test with generated schemas". The idea is to generate random Open API specs and verify that Schemathesis does not fail with internal errors, to ensure it will work with a wider range of real-life API schemas.| Stranger6667 channel
Photo by tommy boudreau on UnsplashIts been slightly more than a year since I started working on Schemathesis, and in this article, I want to give a summary of what we accomplished during this year and what you can expect from this project in the future. Target audience: People curious about effective ways to test web APIs and willing to spend less time writing tests.| Lost in IRC
Sometimes we need to extend existing Python projects with other languages to solve performance issues or to include some functionality already written in another language. In this chapter, we will create a full-featured Python integration for a Rust crate we built in the previous article. As the primary goal, I want to focus on a pleasant end-user experience and share tips on improving the usability and debuggability of the resulting library. Overview: Low-level details of Rust / Python integ...| Lost in IRC
It is the second part of a series about Rust for Python users. In this article, we will build a foundation for a Rust-powered Python library - a crate that implements CSS inlining. It is a process of moving CSS rules from style tags to the corresponding spots in the HTML body. This approach to including styles is crucial for sending HTML emails or embedding HTML pages into 3rd party resources. Our goal is to build a library that will transform this HTML: <html> <head> <style>h1 { color:blue; ...| Lost in IRC
Rust is getting more popular among software developers, and the Python community is no exception. I started learning Rust a few years ago, but after some point, I began to lose motivation because most of my exercises were toy examples and far away from the real applications. So I questioned myself: Can I use Rust in my day-to-day job as a Python developer? Can I build something that will benefit the projects I am working with? Probably, many of us, people coming from the Python background, ha...| Lost in IRC
Photo by Chris Keats on UnsplashMany companies have moved from monoliths to microservices for better scalability and faster development cycles and so have we at Kiwi.com. We still have monolithic applications, however they are melting away over time and a swarm of shiny microservices is gradually replacing them. These new microservices use Open API schemas to declare their contracts and be explicit in their expectations. Schemas give a lot of benefits like auto-generated clients, interactive ...| Lost in IRC
Common Table Expressions is a powerful feature that came with SQL:1999. It allows users to specify auxiliary statements| Stranger6667 channel
Using linked lists to optimize performance in a JSON schema validator.| Stranger6667 channel