kennethreitz
4f02016ed6
Add comprehensive docstrings, expand API reference, upgrade to Starlette 1.0
...
- Add docstrings to all undocumented public methods across API, Request,
Response, Router, Route, BackgroundQueue, and related classes
- Expand api.rst with autodoc sections for RouteGroup, BackgroundQueue,
QueryDict, and RateLimiter
- Update starlette dependency to >=1.0
- Drop Python 3.9 support (required by Starlette 1.0), minimum is now 3.10
- Bump version to 3.4.0
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-22 21:37:36 -04:00
kennethreitz
3d65d88ea9
Rewrite README from scratch
...
Clean, code-first README. No badges, no testimonials — just
show what the framework does with real examples.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-22 07:53:25 -04:00
kennethreitz
0cbcaf9c4f
Code quality improvements and test fixes ( #592 )
...
## Summary
Comprehensive post-v3.0.0 modernization: new features, bug fixes,
dependency cleanup, docs, and test coverage.
**New features:**
- **HTTP method filtering** — `@api.route("/data", methods=["GET"])`
- **Lifespan context manager** — modern async startup/shutdown
- **`api.exception_handler()`** — custom error handling per exception
type
- **`api.graphql()`** — one-liner GraphQL setup
- **`resp.file()`** — serve files from disk with auto content-type
- **before_request short-circuit** — set status code to skip route
handler
- **`req.path_params`** / **`req.client`** / **`req.is_json`** — new
request properties
- **`uuid`** and **`path`** route convertors
- **PEP 561 `py.typed`** marker
**Bug fixes:**
- Fix multipart parser losing headers
- Fix `url_for()` with typed params (`{id:int}`)
- Fix `resp.body` encoding crash on bytes content
- Fix Python 3.9 type syntax (`from __future__ import annotations`)
- Fix broken session test and no-op file upload test
- Fix helloworld example 404 on root path
**Dependencies:**
- Flattened — `pip install responder` gets everything
- Core: just starlette + uvicorn (down from 10 deps)
**Docs & README:**
- All new features documented in tour
- Modernized README features list
- Deployment guide: Docker, cloud, uvicorn
- Removed Pipenv, extras, stale references throughout
**Tests & quality:**
- 117 tests (up from 92), 91% coverage, 0 warnings
- CaseInsensitiveDict, GraphQL edge cases, staticfiles tests
- Ruff clean, all `tmpdir` → `tmp_path`
🤖 Generated with [Claude Code](https://claude.com/claude-code )
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-03-22 07:44:11 -04:00
Andreas Motl
7b2839086d
Thanks, JetBrains. ✨
2025-01-21 23:19:09 +01:00
Andreas Motl
351ff8d95e
Documentation: Copy editing, this and that
2025-01-19 05:21:46 +01:00
Andreas Motl
3cfc7ec2b6
Chore: Remove support for EOL Python 3.6
2025-01-19 05:02:47 +01:00
Andreas Motl
6f9c11645a
CLI: Load from file or module. Add software tests and documentation.
...
Also, refactor to `responder.ext.cli`.
2025-01-18 22:22:36 +01:00
kennethreitz
827cc64988
CLI: Re-add command line interface (2024)
...
Install: pip install 'responder[cli]'
The CLI is an optional subsystem from now on.
2025-01-18 22:22:36 +01:00
Andreas Motl
3aa21eed08
OpenAPI: Refactor module to responder.ext.openapi
...
It has been `responder.ext.schema` before.
2024-10-30 23:45:55 +01:00
Andreas Motl
2741c74b90
OpenAPI: Make extension optional
...
Install with: pip install 'responder[openapi]'
2024-10-30 23:45:55 +01:00
Andreas Motl
e4cff76fa6
Documentation: Unlock writing in Markdown, using Sphinx/MyST
2024-10-30 21:23:12 +01:00
Andreas Motl
98ca45003b
Documentation: Badges, linking, wording, inline comments. This and that.
...
A few of the adjustments here have been required to mitigate Sphinx
warnings, which would converge to errors on CI, thus failing the build.
A few other changes, both wording and syntax/formatting fixes, are
coming from regular copyediting and documentation maintenance.
2024-10-27 18:13:13 +01:00
Andreas Motl
3426aa71da
Documentation: Fix broken links in README
2024-10-25 12:13:08 -04:00
Andreas Motl
413028b636
Tasks: Define sandbox tasks in pyproject.toml, using poethepoet
...
The fundamental commands to mostly use are:
- poe format
- poe check
2024-10-25 07:39:54 -04:00
Andreas Motl
398ac3343e
This and that: 20241024-02 ( #530 )
...
## About
After GH-529, another round of improvements submitted as a bundle.
## References
- GH-529
2024-10-23 21:04:03 -04:00
taoufik07
a57570210a
Add prettier to pre-commit
2020-12-01 23:36:42 +01:00
Taoufik
838c7f29b5
Update docs url
2019-09-26 12:07:59 +01:00
ucpr
37ba3d2efc
fix: fix links
2019-07-29 23:24:57 +09:00
Mike Schneider
7afce42943
Encouraging use of stable
2019-07-16 07:34:35 -07:00
kennethreitz
d0016ac7c9
Update README.md
2019-05-06 07:42:31 -04:00
taoufik07
9f39917895
Update docs and README
2019-02-22 01:12:25 +01:00
Pär
9943e66c49
Updates all of the python-responder.org links
2018-11-14 11:10:29 +01:00
Pär
7233c08281
Update README
...
Update link to python-responder.org to use https
2018-11-14 11:07:18 +01:00
kennethreitz
8bcfb4585b
cleanup testimonials
2018-11-01 05:38:22 -04:00
kennethreitz
2ee8ff484d
better
2018-10-26 11:09:24 -04:00
kennethreitz
c872fe3c78
image
2018-10-26 11:08:37 -04:00
kennethreitz
fe0bea686c
simplify
2018-10-26 08:22:04 -04:00
kennethreitz
a2f97e727f
powered by starlette
2018-10-26 07:39:02 -04:00
kennethreitz
b98354e63a
simplify readme
2018-10-25 07:31:34 -04:00
kennethreitz
94b3625718
ideas
2018-10-25 07:29:05 -04:00
kennethreitz
eeff0816f3
doc updates
2018-10-23 08:29:02 -04:00
Taoufik
87c0076e12
use f-string
...
Every time I scroll through the README, it hurts me
2018-10-19 23:10:39 +01:00
kennethreitz
ac3c1e149c
Update README.md
2018-10-16 04:22:29 -07:00
Tom Christie
f7b777c79e
Testimonial
2018-10-15 16:47:12 +01:00
kennethreitz
310fff78c6
no benchmarks
2018-10-14 08:55:01 -04:00
kennethreitz
2e24a2f079
cleanup
2018-10-14 06:45:23 -04:00
0xflotus
a5c953fdb6
fixed Characteristics
2018-10-13 15:00:38 +02:00
kennethreitz
125e14d377
responder
2018-10-13 08:50:23 -04:00
kennethreitz
8b1fbfd16d
better
2018-10-13 08:24:08 -04:00
kennethreitz
cceb698899
installing
2018-10-13 08:23:28 -04:00
kennethreitz
01741df10d
the cake is a lie
2018-10-13 08:20:38 -04:00
kennethreitz
f91ebf8baa
Merge branch 'master' of github.com:kennethreitz/responder
2018-10-13 08:19:21 -04:00
kennethreitz
4dde076030
move installation up
2018-10-13 08:19:12 -04:00
kennethreitz
3491001b7f
Update README.md
2018-10-13 08:15:00 -04:00
kennethreitz
49ffe9bec9
Merge pull request #20 from aitoehigie/master
...
Fleshed out the benchmarks section of the README.md file
2018-10-13 07:57:16 -04:00
kennethreitz
cd48bb0789
update readme
2018-10-13 07:50:09 -04:00
kennethreitz
90fc411e9a
:
2018-10-13 07:46:36 -04:00
kennethreitz
c22b6a84aa
an
2018-10-13 07:45:42 -04:00
kennethreitz
9b65642f05
async
2018-10-13 07:43:57 -04:00
kennethreitz
ba9b5a40d2
simplify
2018-10-13 07:37:16 -04:00