Fern

Share this post

Fern Product Updates: 🐍 Python client, OpenAPI import (and a sneak peek)

blog.buildwithfern.com

Discover more from Fern

Stories and musings from the Fern team
Continue reading
Sign in

Fern Product Updates: 🐍 Python client, OpenAPI import (and a sneak peek)

What's new with Fern?

Danny Sheridan
May 18, 2023
Share this post

Fern Product Updates: 🐍 Python client, OpenAPI import (and a sneak peek)

blog.buildwithfern.com
Share

Python client

You can now use Fern to generate a beautiful and idiomatic Python client for your API. Here's an example of Vellum's Python client:

Highlights:

  • Fully typed. Your users will get great autocomplete and compile-time safety.

  • Async support. Fern will generate both sync and async clients out of the box.

  • Schema validation. Fern utilizes the full power of Pydantic to validate requests and responses client-side and to show helpful error messages.

  • Open source: Star Fern on GitHub ⭐

We use Fern to autogenerate our Python client from an auto-generated OpenAPI spec that comes from our Django API layer. The clients are high quality, easy to update, and the Fern team moves blazing-fast on feature requests. Since using them, they’ve added support for streaming endpoints and multipart form uploads.

— Noa Flaherty, CTO at Vellum


Bring your OpenAPI

Fern now supports OpenAPI as input. If you have an OpenAPI spec, you can generate idiomatic clients in TypeScript, Java, and Python in minutes. We've created several OpenAPI extensions that you can use in your spec to allow for high-quality clients. Learn more.


Sneak peek: API docs

Right now, we're working hard on a documentation product. Check out a design preview here. If you're interested in joining the beta, reach out.

Interested in using Fern?

Schedule time with Danny

Thanks for reading,
Danny, Deep & Zach


About Fern

Fern lets engineering teams generate client SDKs for their API. We're open source and backed by Y Combinator.

Share this post

Fern Product Updates: 🐍 Python client, OpenAPI import (and a sneak peek)

blog.buildwithfern.com
Share
Comments
Top
New

No posts

Ready for more?

© 2023 Fern
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing