Name | falcon JSON |
Version |
4.0.2
JSON |
| download |
home_page | None |
Summary | The ultra-reliable, fast ASGI+WSGI framework for building data plane APIs at scale. |
upload_time | 2024-11-06 19:21:20 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.8 |
license | Apache 2.0 |
keywords |
asgi
wsgi
web
api
framework
rest
http
cloud
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
.. image:: https://raw.githubusercontent.com/falconry/falcon/master/logo/banner.jpg
:align: center
:alt: Falcon logo
:target: https://falconframework.org/
:width: 100 %
|Build status| |Docs| |codecov.io| |PyPI package| |Python versions|
The Falcon Web Framework
========================
`Falcon <https://falconframework.org>`__ is a minimalist ASGI/WSGI framework for
building mission-critical REST APIs and microservices, with a focus on
reliability, correctness, and performance at scale.
When it comes to building HTTP APIs, other frameworks weigh you down with tons
of dependencies and unnecessary abstractions. Falcon cuts to the chase with a
clean design that embraces HTTP and the REST architectural style.
Falcon apps work with any `WSGI <https://www.python.org/dev/peps/pep-3333/>`_
or `ASGI <https://asgi.readthedocs.io/en/latest/>`_ server, and run like a
champ under CPython 3.8+ and PyPy 3.8+.
Quick Links
-----------
* `Read the docs <https://falcon.readthedocs.io/en/stable>`_
(`FAQ <https://falcon.readthedocs.io/en/stable/user/faq.html>`_ -
`getting help <https://falcon.readthedocs.io/en/stable/community/help.html>`_ -
`reference <https://falcon.readthedocs.io/en/stable/api/index.html>`_)
* `Falcon add-ons and complementary packages <https://github.com/falconry/falcon/wiki>`_
* `Falcon articles, talks and podcasts <https://github.com/falconry/falcon/wiki/Articles,-Talks-and-Podcasts>`_
* `falconry/user for Falcon users <https://gitter.im/falconry/user>`_ @ Gitter
* `falconry/dev for Falcon contributors <https://gitter.im/falconry/dev>`_ @ Gitter
What People are Saying
----------------------
"Falcon is rock solid and it's fast."
"We have been using Falcon as a replacement for [another framework] and
we simply love the performance (three times faster) and code base size (easily
half of our [original] code)."
"I'm loving #falconframework! Super clean and simple, I finally
have the speed and flexibility I need!"
"Falcon looks great so far. I hacked together a quick test for a
tiny server of mine and was ~40% faster with only 20 minutes of
work."
"I feel like I'm just talking HTTP at last, with nothing in the
middle. Falcon seems like the requests of backend."
"The source code for Falcon is so good, I almost prefer it to
documentation. It basically can't be wrong."
"What other framework has integrated support for 786 TRY IT NOW ?"
Features
--------
Falcon tries to do as little as possible while remaining highly effective.
- ASGI, WSGI, and WebSocket support
- Native ``asyncio`` support
- No reliance on magic globals for routing and state management
- Stable interfaces with an emphasis on backwards-compatibility
- Simple API modeling through centralized RESTful routing
- Highly-optimized, extensible code base
- Easy access to headers and bodies through request and response
classes
- DRY request processing via middleware components and hooks
- Strict adherence to RFCs
- Idiomatic HTTP error responses
- Straightforward exception handling
- Snappy testing with WSGI/ASGI helpers and mocks
- CPython 3.8+ and PyPy 3.8+ support
.. Patron list starts here. For Python package, we substitute this section with:
Support Falcon Development
--------------------------
A Big Thank You to Our Patrons!
-------------------------------
|Backer:GovCert| |Backer:Sentry|
Has Falcon helped you make an awesome app? Show your support today with a
one-time donation or by becoming a patron.
Supporters get cool gear, an opportunity to promote their brand to Python
developers, and prioritized support.
* `Learn how to support Falcon development <https://falconframework.org/#sectionSupportFalconDevelopment>`_
Thanks!
How is Falcon Different?
------------------------
Perfection is finally attained not when there is no longer anything
to add, but when there is no longer anything to take away.
*- Antoine de Saint-Exupéry*
We designed Falcon to support the demanding needs of large-scale
microservices and responsive app backends. Falcon complements more
general Python web frameworks by providing bare-metal performance,
reliability, and flexibility wherever you need it.
**Reliable.** We go to great lengths to avoid introducing breaking changes, and
when we do they are fully documented and only introduced (in the spirit of
`SemVer <http://semver.org/>`_) with a major version increment. The code is
rigorously tested with numerous inputs and we require 100% coverage at all
times. Falcon has no dependencies outside the standard library, helping
minimize your app's attack surface while avoiding transitive bugs and breaking
changes.
**Debuggable.** Falcon eschews magic. It's easy to tell which inputs lead to
which outputs. Unhandled exceptions are never encapsulated or masked.
Potentially surprising behaviors, such as automatic request body parsing, are
well-documented and disabled by default. Finally, when it comes to the
framework itself, we take care to keep logic paths simple and understandable.
All this makes it easier to reason about the code and to debug edge cases in
large-scale deployments.
**Fast.** Same hardware, more requests. Falcon turns around requests
significantly faster than other popular Python frameworks like Django and
Flask. For an extra speed boost, Falcon compiles itself with Cython when
available, and also works well with `PyPy <https://pypy.org>`_. Considering a
move to another programming language? Benchmark with Falcon+PyPy first!
**Flexible.** Falcon leaves a lot of decisions and implementation details to
you, the API developer. This gives you a lot of freedom to customize and tune
your implementation. It also helps you understand your apps at a deeper level,
making them easier to tune, debug, and refactor over the long run. Falcon's
minimalist design provides space for Python community members to independently
innovate on `Falcon add-ons and complementary packages
<https://github.com/falconry/falcon/wiki>`_.
Who's Using Falcon?
-------------------
Falcon is used around the world by a growing number of organizations,
including:
- 7ideas
- Cronitor
- EMC
- Hurricane Electric
- Leadpages
- OpenStack
- Rackspace
- Shiftgig
- tempfil.es
- Opera Software
If you are using the Falcon framework for a community or commercial
project, please consider adding your information to our wiki under
`Who's Using Falcon? <https://github.com/falconry/falcon/wiki/Who's-using-Falcon%3F>`_
Community
---------
A number of Falcon add-ons, templates, and complementary packages are
available for use in your projects. We've listed several of these on the
`Falcon wiki <https://github.com/falconry/falcon/wiki>`_ as a starting
point, but you may also wish to search PyPI for additional resources.
The Falconry community on Gitter is a great place to ask questions and
share your ideas. You can find us in `falconry/user
<https://gitter.im/falconry/user>`_. We also have a
`falconry/dev <https://gitter.im/falconry/dev>`_ room for discussing
the design and development of the framework itself.
Per our
`Code of Conduct <https://github.com/falconry/falcon/blob/master/CODEOFCONDUCT.md>`_,
we expect everyone who participates in community discussions to act
professionally, and lead by example in encouraging constructive
discussions. Each individual in the community is responsible for
creating a positive, constructive, and productive culture.
Installation
------------
PyPy
^^^^
`PyPy <http://pypy.org/>`__ is the fastest way to run your Falcon app.
PyPy3.8+ is supported as of PyPy v7.3.7+.
.. code:: bash
$ pip install falcon
Or, to install the latest beta or release candidate, if any:
.. code:: bash
$ pip install --pre falcon
CPython
^^^^^^^
Falcon also fully supports
`CPython <https://www.python.org/downloads/>`__ 3.8+.
The latest stable version of Falcon can be installed directly from PyPI:
.. code:: bash
$ pip install falcon
Or, to install the latest beta or release candidate, if any:
.. code:: bash
$ pip install --pre falcon
In order to provide an extra speed boost, Falcon automatically compiles itself
with `Cython <https://cython.org/>`__ under any
`PEP 517 <https://peps.python.org/pep-0517/>`__\-compliant installer.
For your convenience, wheels containing pre-compiled binaries are available
from PyPI for the majority of common platforms. Even if a binary build for your
platform of choice is not available, ``pip`` will pick a pure-Python wheel.
You can also cythonize Falcon for your environment; see our
`Installation docs <https://falcon.readthedocs.io/en/stable/user/install.html>`__
for more information on this and other advanced options.
Dependencies
^^^^^^^^^^^^
Falcon does not require the installation of any other packages.
WSGI Server
-----------
Falcon speaks `WSGI <https://www.python.org/dev/peps/pep-3333/>`_ (or
`ASGI <https://asgi.readthedocs.io/en/latest/>`_; see also below). In order to
serve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of
the more popular ones out there, but anything that can load a WSGI app will do.
.. code:: bash
$ pip install [gunicorn|uwsgi]
ASGI Server
-----------
In order to serve a Falcon ASGI app, you will need an ASGI server. Uvicorn
is a popular choice:
.. code:: bash
$ pip install uvicorn
Source Code
-----------
Falcon `lives on GitHub <https://github.com/falconry/falcon>`_, making the
code easy to browse, download, fork, etc. Pull requests are always welcome! Also,
please remember to star the project if it makes you happy. :)
Once you have cloned the repo or downloaded a tarball from GitHub, you
can install Falcon like this:
.. code:: bash
$ cd falcon
$ pip install .
Or, if you want to edit the code, first fork the main repo, clone the fork
to your desktop, and then run the following to install it using symbolic
linking, so that when you change your code, the changes will be automagically
available to your app without having to reinstall the package:
.. code:: bash
$ cd falcon
$ FALCON_DISABLE_CYTHON=Y pip install -e .
You can manually test changes to the Falcon framework by switching to the
directory of the cloned repo and then running pytest:
.. code:: bash
$ cd falcon
$ pip install -r requirements/tests
$ pytest tests
Or, to run the default set of tests:
.. code:: bash
$ pip install tox && tox
See also the `tox.ini <https://github.com/falconry/falcon/blob/master/tox.ini>`_
file for a full list of available environments.
Read the Docs
-------------
The docstrings in the Falcon code base are quite extensive, and we
recommend keeping a REPL running while learning the framework so that
you can query the various modules and classes as you have questions.
Online docs are available at: https://falcon.readthedocs.io
You can build the same docs locally as follows:
.. code:: bash
$ pip install tox && tox -e docs
Once the docs have been built, you can view them by opening the following
index page in your browser. On OS X it's as simple as::
$ open docs/_build/html/index.html
Or on Linux:
.. code:: bash
$ xdg-open docs/_build/html/index.html
Getting Started
---------------
Here is a simple, contrived example showing how to create a Falcon-based
WSGI app (the ASGI version is included further down):
.. code:: python
# examples/things.py
# Let's get this party started!
from wsgiref.simple_server import make_server
import falcon
# Falcon follows the REST architectural style, meaning (among
# other things) that you think in terms of resources and state
# transitions, which map to HTTP verbs.
class ThingsResource:
def on_get(self, req, resp):
"""Handles GET requests"""
resp.status = falcon.HTTP_200 # This is the default status
resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override
resp.text = ('\nTwo things awe me most, the starry sky '
'above me and the moral law within me.\n'
'\n'
' ~ Immanuel Kant\n\n')
# falcon.App instances are callable WSGI apps...
# in larger applications the app is created in a separate file
app = falcon.App()
# Resources are represented by long-lived class instances
things = ThingsResource()
# things will handle all requests to the '/things' URL path
app.add_route('/things', things)
if __name__ == '__main__':
with make_server('', 8000, app) as httpd:
print('Serving on port 8000...')
# Serve until process is killed
httpd.serve_forever()
You can run the above example directly using the included wsgiref server:
.. code:: bash
$ pip install falcon
$ python things.py
Then, in another terminal:
.. code:: bash
$ curl localhost:8000/things
The ASGI version of the example is similar:
.. code:: python
# examples/things_asgi.py
import falcon
import falcon.asgi
# Falcon follows the REST architectural style, meaning (among
# other things) that you think in terms of resources and state
# transitions, which map to HTTP verbs.
class ThingsResource:
async def on_get(self, req, resp):
"""Handles GET requests"""
resp.status = falcon.HTTP_200 # This is the default status
resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override
resp.text = ('\nTwo things awe me most, the starry sky '
'above me and the moral law within me.\n'
'\n'
' ~ Immanuel Kant\n\n')
# falcon.asgi.App instances are callable ASGI apps...
# in larger applications the app is created in a separate file
app = falcon.asgi.App()
# Resources are represented by long-lived class instances
things = ThingsResource()
# things will handle all requests to the '/things' URL path
app.add_route('/things', things)
You can run the ASGI version with uvicorn or any other ASGI server:
.. code:: bash
$ pip install falcon uvicorn
$ uvicorn things_asgi:app
A More Complex Example (WSGI)
-----------------------------
Here is a more involved example that demonstrates reading headers and query
parameters, handling errors, and working with request and response bodies.
Note that this example assumes that the
`requests <https://pypi.org/project/requests/>`_ package has been installed.
(For the equivalent ASGI app, see: `A More Complex Example (ASGI)`_).
.. code:: python
# examples/things_advanced.py
import json
import logging
import uuid
from wsgiref import simple_server
import falcon
import requests
class StorageEngine:
def get_things(self, marker, limit):
return [{'id': str(uuid.uuid4()), 'color': 'green'}]
def add_thing(self, thing):
thing['id'] = str(uuid.uuid4())
return thing
class StorageError(Exception):
@staticmethod
def handle(ex, req, resp, params):
# TODO: Log the error, clean up, etc. before raising
raise falcon.HTTPInternalServerError()
class SinkAdapter:
engines = {
'ddg': 'https://duckduckgo.com',
'y': 'https://search.yahoo.com/search',
}
def __call__(self, req, resp, engine):
url = self.engines[engine]
params = {'q': req.get_param('q', True)}
result = requests.get(url, params=params)
resp.status = str(result.status_code) + ' ' + result.reason
resp.content_type = result.headers['content-type']
resp.text = result.text
class AuthMiddleware:
def process_request(self, req, resp):
token = req.get_header('Authorization')
account_id = req.get_header('Account-ID')
challenges = ['Token type="Fernet"']
if token is None:
description = ('Please provide an auth token '
'as part of the request.')
raise falcon.HTTPUnauthorized(title='Auth token required',
description=description,
challenges=challenges,
href='http://docs.example.com/auth')
if not self._token_is_valid(token, account_id):
description = ('The provided auth token is not valid. '
'Please request a new token and try again.')
raise falcon.HTTPUnauthorized(title='Authentication required',
description=description,
challenges=challenges,
href='http://docs.example.com/auth')
def _token_is_valid(self, token, account_id):
return True # Suuuuuure it's valid...
class RequireJSON:
def process_request(self, req, resp):
if not req.client_accepts_json:
raise falcon.HTTPNotAcceptable(
description='This API only supports responses encoded as JSON.',
href='http://docs.examples.com/api/json')
if req.method in ('POST', 'PUT'):
if 'application/json' not in req.content_type:
raise falcon.HTTPUnsupportedMediaType(
title='This API only supports requests encoded as JSON.',
href='http://docs.examples.com/api/json')
class JSONTranslator:
# NOTE: Normally you would simply use req.media and resp.media for
# this particular use case; this example serves only to illustrate
# what is possible.
def process_request(self, req, resp):
# req.stream corresponds to the WSGI wsgi.input environ variable,
# and allows you to read bytes from the request body.
#
# See also: PEP 3333
if req.content_length in (None, 0):
# Nothing to do
return
body = req.stream.read()
if not body:
raise falcon.HTTPBadRequest(title='Empty request body',
description='A valid JSON document is required.')
try:
req.context.doc = json.loads(body.decode('utf-8'))
except (ValueError, UnicodeDecodeError):
description = ('Could not decode the request body. The '
'JSON was incorrect or not encoded as '
'UTF-8.')
raise falcon.HTTPBadRequest(title='Malformed JSON',
description=description)
def process_response(self, req, resp, resource, req_succeeded):
if not hasattr(resp.context, 'result'):
return
resp.text = json.dumps(resp.context.result)
def max_body(limit):
def hook(req, resp, resource, params):
length = req.content_length
if length is not None and length > limit:
msg = ('The size of the request is too large. The body must not '
'exceed ' + str(limit) + ' bytes in length.')
raise falcon.HTTPContentTooLarge(
title='Request body is too large', description=msg)
return hook
class ThingsResource:
def __init__(self, db):
self.db = db
self.logger = logging.getLogger('thingsapp.' + __name__)
def on_get(self, req, resp, user_id):
marker = req.get_param('marker') or ''
limit = req.get_param_as_int('limit') or 50
try:
result = self.db.get_things(marker, limit)
except Exception as ex:
self.logger.error(ex)
description = ('Aliens have attacked our base! We will '
'be back as soon as we fight them off. '
'We appreciate your patience.')
raise falcon.HTTPServiceUnavailable(
title='Service Outage',
description=description,
retry_after=30)
# NOTE: Normally you would use resp.media for this sort of thing;
# this example serves only to demonstrate how the context can be
# used to pass arbitrary values between middleware components,
# hooks, and resources.
resp.context.result = result
resp.set_header('Powered-By', 'Falcon')
resp.status = falcon.HTTP_200
@falcon.before(max_body(64 * 1024))
def on_post(self, req, resp, user_id):
try:
doc = req.context.doc
except AttributeError:
raise falcon.HTTPBadRequest(
title='Missing thing',
description='A thing must be submitted in the request body.')
proper_thing = self.db.add_thing(doc)
resp.status = falcon.HTTP_201
resp.location = '/%s/things/%s' % (user_id, proper_thing['id'])
# Configure your WSGI server to load "things.app" (app is a WSGI callable)
app = falcon.App(middleware=[
AuthMiddleware(),
RequireJSON(),
JSONTranslator(),
])
db = StorageEngine()
things = ThingsResource(db)
app.add_route('/{user_id}/things', things)
# If a responder ever raises an instance of StorageError, pass control to
# the given handler.
app.add_error_handler(StorageError, StorageError.handle)
# Proxy some things to another service; this example shows how you might
# send parts of an API off to a legacy system that hasn't been upgraded
# yet, or perhaps is a single cluster that all data centers have to share.
sink = SinkAdapter()
app.add_sink(sink, r'/search/(?P<engine>ddg|y)\Z')
# Useful for debugging problems in your API; works with pdb.set_trace(). You
# can also use Gunicorn to host your app. Gunicorn can be configured to
# auto-restart workers when it detects a code change, and it also works
# with pdb.
if __name__ == '__main__':
httpd = simple_server.make_server('127.0.0.1', 8000, app)
httpd.serve_forever()
Again this code uses wsgiref, but you can also run the above example using
any WSGI server, such as uWSGI or Gunicorn. For example:
.. code:: bash
$ pip install requests gunicorn
$ gunicorn things:app
On Windows you can run Gunicorn and uWSGI via WSL, or you might try Waitress:
.. code:: bash
$ pip install requests waitress
$ waitress-serve --port=8000 things:app
To test this example, open another terminal and run:
.. code:: bash
$ http localhost:8000/1/things authorization:custom-token
You can also view the application configuration from the CLI via the
``falcon-inspect-app`` script that is bundled with the framework:
.. code:: bash
falcon-inspect-app things_advanced:app
A More Complex Example (ASGI)
-----------------------------
Here's the ASGI version of the app from above. Note that it uses the
`httpx <https://pypi.org/project/httpx/>`_ package in lieu of
`requests <https://pypi.org/project/requests/>`_.
.. code:: python
# examples/things_advanced_asgi.py
import json
import logging
import uuid
import falcon
import falcon.asgi
import httpx
class StorageEngine:
async def get_things(self, marker, limit):
return [{'id': str(uuid.uuid4()), 'color': 'green'}]
async def add_thing(self, thing):
thing['id'] = str(uuid.uuid4())
return thing
class StorageError(Exception):
@staticmethod
async def handle(ex, req, resp, params):
# TODO: Log the error, clean up, etc. before raising
raise falcon.HTTPInternalServerError()
class SinkAdapter:
engines = {
'ddg': 'https://duckduckgo.com',
'y': 'https://search.yahoo.com/search',
}
async def __call__(self, req, resp, engine):
url = self.engines[engine]
params = {'q': req.get_param('q', True)}
async with httpx.AsyncClient() as client:
result = await client.get(url, params=params)
resp.status = result.status_code
resp.content_type = result.headers['content-type']
resp.text = result.text
class AuthMiddleware:
async def process_request(self, req, resp):
token = req.get_header('Authorization')
account_id = req.get_header('Account-ID')
challenges = ['Token type="Fernet"']
if token is None:
description = ('Please provide an auth token '
'as part of the request.')
raise falcon.HTTPUnauthorized(title='Auth token required',
description=description,
challenges=challenges,
href='http://docs.example.com/auth')
if not self._token_is_valid(token, account_id):
description = ('The provided auth token is not valid. '
'Please request a new token and try again.')
raise falcon.HTTPUnauthorized(title='Authentication required',
description=description,
challenges=challenges,
href='http://docs.example.com/auth')
def _token_is_valid(self, token, account_id):
return True # Suuuuuure it's valid...
class RequireJSON:
async def process_request(self, req, resp):
if not req.client_accepts_json:
raise falcon.HTTPNotAcceptable(
description='This API only supports responses encoded as JSON.',
href='http://docs.examples.com/api/json')
if req.method in ('POST', 'PUT'):
if 'application/json' not in req.content_type:
raise falcon.HTTPUnsupportedMediaType(
description='This API only supports requests encoded as JSON.',
href='http://docs.examples.com/api/json')
class JSONTranslator:
# NOTE: Normally you would simply use req.get_media() and resp.media for
# this particular use case; this example serves only to illustrate
# what is possible.
async def process_request(self, req, resp):
# NOTE: Test explicitly for 0, since this property could be None in
# the case that the Content-Length header is missing (in which case we
# can't know if there is a body without actually attempting to read
# it from the request stream.)
if req.content_length == 0:
# Nothing to do
return
body = await req.stream.read()
if not body:
raise falcon.HTTPBadRequest(title='Empty request body',
description='A valid JSON document is required.')
try:
req.context.doc = json.loads(body.decode('utf-8'))
except (ValueError, UnicodeDecodeError):
description = ('Could not decode the request body. The '
'JSON was incorrect or not encoded as '
'UTF-8.')
raise falcon.HTTPBadRequest(title='Malformed JSON',
description=description)
async def process_response(self, req, resp, resource, req_succeeded):
if not hasattr(resp.context, 'result'):
return
resp.text = json.dumps(resp.context.result)
def max_body(limit):
async def hook(req, resp, resource, params):
length = req.content_length
if length is not None and length > limit:
msg = ('The size of the request is too large. The body must not '
'exceed ' + str(limit) + ' bytes in length.')
raise falcon.HTTPContentTooLarge(
title='Request body is too large', description=msg)
return hook
class ThingsResource:
def __init__(self, db):
self.db = db
self.logger = logging.getLogger('thingsapp.' + __name__)
async def on_get(self, req, resp, user_id):
marker = req.get_param('marker') or ''
limit = req.get_param_as_int('limit') or 50
try:
result = await self.db.get_things(marker, limit)
except Exception as ex:
self.logger.error(ex)
description = ('Aliens have attacked our base! We will '
'be back as soon as we fight them off. '
'We appreciate your patience.')
raise falcon.HTTPServiceUnavailable(
title='Service Outage',
description=description,
retry_after=30)
# NOTE: Normally you would use resp.media for this sort of thing;
# this example serves only to demonstrate how the context can be
# used to pass arbitrary values between middleware components,
# hooks, and resources.
resp.context.result = result
resp.set_header('Powered-By', 'Falcon')
resp.status = falcon.HTTP_200
@falcon.before(max_body(64 * 1024))
async def on_post(self, req, resp, user_id):
try:
doc = req.context.doc
except AttributeError:
raise falcon.HTTPBadRequest(
title='Missing thing',
description='A thing must be submitted in the request body.')
proper_thing = await self.db.add_thing(doc)
resp.status = falcon.HTTP_201
resp.location = '/%s/things/%s' % (user_id, proper_thing['id'])
# The app instance is an ASGI callable
app = falcon.asgi.App(middleware=[
# AuthMiddleware(),
RequireJSON(),
JSONTranslator(),
])
db = StorageEngine()
things = ThingsResource(db)
app.add_route('/{user_id}/things', things)
# If a responder ever raises an instance of StorageError, pass control to
# the given handler.
app.add_error_handler(StorageError, StorageError.handle)
# Proxy some things to another service; this example shows how you might
# send parts of an API off to a legacy system that hasn't been upgraded
# yet, or perhaps is a single cluster that all data centers have to share.
sink = SinkAdapter()
app.add_sink(sink, r'/search/(?P<engine>ddg|y)\Z')
You can run the ASGI version with any ASGI server, such as uvicorn:
.. code:: bash
$ pip install falcon httpx uvicorn
$ uvicorn things_advanced_asgi:app
Contributing
------------
Thanks for your interest in the project! We welcome pull requests from
developers of all skill levels. To get started, simply fork the master branch
on GitHub to your personal account and then clone the fork into your
development environment.
If you would like to contribute but don't already have something in mind,
we invite you to take a look at the issues listed under our
`next milestone <https://github.com/falconry/falcon/milestones>`_.
If you see one you'd like to work on, please leave a quick comment so that we don't
end up with duplicated effort. Thanks in advance!
Please note that all contributors and maintainers of this project are subject to our
`Code of Conduct <https://github.com/falconry/falcon/blob/master/CODEOFCONDUCT.md>`_.
Before submitting a pull request, please ensure you have added/updated
the appropriate tests (and that all existing tests still pass with your
changes), and that your coding style follows PEP 8 and doesn't cause
pyflakes to complain.
Commit messages should be formatted using `AngularJS
conventions <https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines>`__.
Comments follow `Google's style guide <https://google.github.io/styleguide/pyguide.html?showone=Comments#Comments>`__,
with the additional requirement of prefixing inline comments using your
GitHub nick and an appropriate prefix:
- TODO(riker): Damage report!
- NOTE(riker): Well, that's certainly good to know.
- PERF(riker): Travel time to the nearest starbase?
- APPSEC(riker): In all trust, there is the possibility for betrayal.
The core Falcon project maintainers are:
- Kurt Griffiths, Project Lead (**kgriffs** on GH, Gitter, and Twitter)
- John Vrbanac (**jmvrbanac** on GH, Gitter, and Twitter)
- Vytautas Liuolia (**vytas7** on GH and Gitter, and **vliuolia** on Twitter)
- Nick Zaccardi (**nZac** on GH and Gitter)
- Federico Caselli (**CaselIT** on GH and Gitter)
Please don't hesitate to reach out if you have any questions, or just need a
little help getting started. You can find us in
`falconry/dev <https://gitter.im/falconry/dev>`_ on Gitter.
See also: `CONTRIBUTING.md <https://github.com/falconry/falcon/blob/master/CONTRIBUTING.md>`__
Legal
-----
Copyright 2013-2024 by Individual and corporate contributors as
noted in the individual source files.
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use any portion of the Falcon framework except in compliance with
the License. Contributors agree to license their work under the same
License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.. |Build status| image:: https://github.com/falconry/falcon/actions/workflows/tests.yaml/badge.svg
:target: https://github.com/falconry/falcon/actions/workflows/tests.yaml
.. |Docs| image:: https://readthedocs.org/projects/falcon/badge/?version=stable
:alt: Falcon web framework docs
:target: https://falcon.readthedocs.io/en/stable/?badge=stable
.. |codecov.io| image:: https://codecov.io/gh/falconry/falcon/branch/master/graphs/badge.svg
:target: https://codecov.io/gh/falconry/falcon
.. |PyPI package| image:: https://badge.fury.io/py/falcon.svg
:target: https://pypi.org/project/falcon/
.. |Python versions| image:: https://img.shields.io/pypi/pyversions/falcon.svg
:target: https://pypi.org/project/falcon/
.. |Backer:GovCert| image:: https://falconframework.org/assets/govcert.png
:alt: CERT Gouvernemental Luxembourg
:height: 60px
:target: https://www.govcert.lu/
.. |Backer:Sentry| image:: https://falconframework.org/assets/sentry-dark.svg
:alt: Sentry
:height: 60px
:target: https://sentry.io
Raw data
{
"_id": null,
"home_page": null,
"name": "falcon",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "asgi, wsgi, web, api, framework, rest, http, cloud",
"author": null,
"author_email": "Kurt Griffiths <mail@kgriffs.com>",
"download_url": "https://files.pythonhosted.org/packages/37/4f/d317952294dee1982cd930c8ee2b8b7fbf04140473882801061b3346c713/falcon-4.0.2.tar.gz",
"platform": null,
"description": ".. image:: https://raw.githubusercontent.com/falconry/falcon/master/logo/banner.jpg\n :align: center\n :alt: Falcon logo\n :target: https://falconframework.org/\n :width: 100 %\n\n|Build status| |Docs| |codecov.io| |PyPI package| |Python versions|\n\nThe Falcon Web Framework\n========================\n\n`Falcon <https://falconframework.org>`__ is a minimalist ASGI/WSGI framework for\nbuilding mission-critical REST APIs and microservices, with a focus on\nreliability, correctness, and performance at scale.\n\nWhen it comes to building HTTP APIs, other frameworks weigh you down with tons\nof dependencies and unnecessary abstractions. Falcon cuts to the chase with a\nclean design that embraces HTTP and the REST architectural style.\n\nFalcon apps work with any `WSGI <https://www.python.org/dev/peps/pep-3333/>`_\nor `ASGI <https://asgi.readthedocs.io/en/latest/>`_ server, and run like a\nchamp under CPython 3.8+ and PyPy 3.8+.\n\nQuick Links\n-----------\n\n* `Read the docs <https://falcon.readthedocs.io/en/stable>`_\n (`FAQ <https://falcon.readthedocs.io/en/stable/user/faq.html>`_ -\n `getting help <https://falcon.readthedocs.io/en/stable/community/help.html>`_ -\n `reference <https://falcon.readthedocs.io/en/stable/api/index.html>`_)\n* `Falcon add-ons and complementary packages <https://github.com/falconry/falcon/wiki>`_\n* `Falcon articles, talks and podcasts <https://github.com/falconry/falcon/wiki/Articles,-Talks-and-Podcasts>`_\n* `falconry/user for Falcon users <https://gitter.im/falconry/user>`_ @ Gitter\n* `falconry/dev for Falcon contributors <https://gitter.im/falconry/dev>`_ @ Gitter\n\nWhat People are Saying\n----------------------\n\n\"Falcon is rock solid and it's fast.\"\n\n\"We have been using Falcon as a replacement for [another framework] and\nwe simply love the performance (three times faster) and code base size (easily\nhalf of our [original] code).\"\n\n\"I'm loving #falconframework! Super clean and simple, I finally\nhave the speed and flexibility I need!\"\n\n\"Falcon looks great so far. I hacked together a quick test for a\ntiny server of mine and was ~40% faster with only 20 minutes of\nwork.\"\n\n\"I feel like I'm just talking HTTP at last, with nothing in the\nmiddle. Falcon seems like the requests of backend.\"\n\n\"The source code for Falcon is so good, I almost prefer it to\ndocumentation. It basically can't be wrong.\"\n\n\"What other framework has integrated support for 786 TRY IT NOW ?\"\n\nFeatures\n--------\n\nFalcon tries to do as little as possible while remaining highly effective.\n\n- ASGI, WSGI, and WebSocket support\n- Native ``asyncio`` support\n- No reliance on magic globals for routing and state management\n- Stable interfaces with an emphasis on backwards-compatibility\n- Simple API modeling through centralized RESTful routing\n- Highly-optimized, extensible code base\n- Easy access to headers and bodies through request and response\n classes\n- DRY request processing via middleware components and hooks\n- Strict adherence to RFCs\n- Idiomatic HTTP error responses\n- Straightforward exception handling\n- Snappy testing with WSGI/ASGI helpers and mocks\n- CPython 3.8+ and PyPy 3.8+ support\n\n.. Patron list starts here. For Python package, we substitute this section with:\n Support Falcon Development\n --------------------------\n\nA Big Thank You to Our Patrons!\n-------------------------------\n\n|Backer:GovCert| |Backer:Sentry|\n\nHas Falcon helped you make an awesome app? Show your support today with a\none-time donation or by becoming a patron.\nSupporters get cool gear, an opportunity to promote their brand to Python\ndevelopers, and prioritized support.\n\n* `Learn how to support Falcon development <https://falconframework.org/#sectionSupportFalconDevelopment>`_\n\nThanks!\n\nHow is Falcon Different?\n------------------------\n\n Perfection is finally attained not when there is no longer anything\n to add, but when there is no longer anything to take away.\n\n *- Antoine de Saint-Exup\u00e9ry*\n\nWe designed Falcon to support the demanding needs of large-scale\nmicroservices and responsive app backends. Falcon complements more\ngeneral Python web frameworks by providing bare-metal performance,\nreliability, and flexibility wherever you need it.\n\n**Reliable.** We go to great lengths to avoid introducing breaking changes, and\nwhen we do they are fully documented and only introduced (in the spirit of\n`SemVer <http://semver.org/>`_) with a major version increment. The code is\nrigorously tested with numerous inputs and we require 100% coverage at all\ntimes. Falcon has no dependencies outside the standard library, helping\nminimize your app's attack surface while avoiding transitive bugs and breaking\nchanges.\n\n**Debuggable.** Falcon eschews magic. It's easy to tell which inputs lead to\nwhich outputs. Unhandled exceptions are never encapsulated or masked.\nPotentially surprising behaviors, such as automatic request body parsing, are\nwell-documented and disabled by default. Finally, when it comes to the\nframework itself, we take care to keep logic paths simple and understandable.\nAll this makes it easier to reason about the code and to debug edge cases in\nlarge-scale deployments.\n\n**Fast.** Same hardware, more requests. Falcon turns around requests\nsignificantly faster than other popular Python frameworks like Django and\nFlask. For an extra speed boost, Falcon compiles itself with Cython when\navailable, and also works well with `PyPy <https://pypy.org>`_. Considering a\nmove to another programming language? Benchmark with Falcon+PyPy first!\n\n**Flexible.** Falcon leaves a lot of decisions and implementation details to\nyou, the API developer. This gives you a lot of freedom to customize and tune\nyour implementation. It also helps you understand your apps at a deeper level,\nmaking them easier to tune, debug, and refactor over the long run. Falcon's\nminimalist design provides space for Python community members to independently\ninnovate on `Falcon add-ons and complementary packages\n<https://github.com/falconry/falcon/wiki>`_.\n\nWho's Using Falcon?\n-------------------\n\nFalcon is used around the world by a growing number of organizations,\nincluding:\n\n- 7ideas\n- Cronitor\n- EMC\n- Hurricane Electric\n- Leadpages\n- OpenStack\n- Rackspace\n- Shiftgig\n- tempfil.es\n- Opera Software\n\nIf you are using the Falcon framework for a community or commercial\nproject, please consider adding your information to our wiki under\n`Who's Using Falcon? <https://github.com/falconry/falcon/wiki/Who's-using-Falcon%3F>`_\n\nCommunity\n---------\n\nA number of Falcon add-ons, templates, and complementary packages are\navailable for use in your projects. We've listed several of these on the\n`Falcon wiki <https://github.com/falconry/falcon/wiki>`_ as a starting\npoint, but you may also wish to search PyPI for additional resources.\n\nThe Falconry community on Gitter is a great place to ask questions and\nshare your ideas. You can find us in `falconry/user\n<https://gitter.im/falconry/user>`_. We also have a\n`falconry/dev <https://gitter.im/falconry/dev>`_ room for discussing\nthe design and development of the framework itself.\n\nPer our\n`Code of Conduct <https://github.com/falconry/falcon/blob/master/CODEOFCONDUCT.md>`_,\nwe expect everyone who participates in community discussions to act\nprofessionally, and lead by example in encouraging constructive\ndiscussions. Each individual in the community is responsible for\ncreating a positive, constructive, and productive culture.\n\nInstallation\n------------\n\nPyPy\n^^^^\n\n`PyPy <http://pypy.org/>`__ is the fastest way to run your Falcon app.\nPyPy3.8+ is supported as of PyPy v7.3.7+.\n\n.. code:: bash\n\n $ pip install falcon\n\nOr, to install the latest beta or release candidate, if any:\n\n.. code:: bash\n\n $ pip install --pre falcon\n\nCPython\n^^^^^^^\n\nFalcon also fully supports\n`CPython <https://www.python.org/downloads/>`__ 3.8+.\n\nThe latest stable version of Falcon can be installed directly from PyPI:\n\n.. code:: bash\n\n $ pip install falcon\n\nOr, to install the latest beta or release candidate, if any:\n\n.. code:: bash\n\n $ pip install --pre falcon\n\nIn order to provide an extra speed boost, Falcon automatically compiles itself\nwith `Cython <https://cython.org/>`__ under any\n`PEP 517 <https://peps.python.org/pep-0517/>`__\\-compliant installer.\n\nFor your convenience, wheels containing pre-compiled binaries are available\nfrom PyPI for the majority of common platforms. Even if a binary build for your\nplatform of choice is not available, ``pip`` will pick a pure-Python wheel.\nYou can also cythonize Falcon for your environment; see our\n`Installation docs <https://falcon.readthedocs.io/en/stable/user/install.html>`__\nfor more information on this and other advanced options.\n\nDependencies\n^^^^^^^^^^^^\n\nFalcon does not require the installation of any other packages.\n\nWSGI Server\n-----------\n\nFalcon speaks `WSGI <https://www.python.org/dev/peps/pep-3333/>`_ (or\n`ASGI <https://asgi.readthedocs.io/en/latest/>`_; see also below). In order to\nserve a Falcon app, you will need a WSGI server. Gunicorn and uWSGI are some of\nthe more popular ones out there, but anything that can load a WSGI app will do.\n\n.. code:: bash\n\n $ pip install [gunicorn|uwsgi]\n\nASGI Server\n-----------\n\nIn order to serve a Falcon ASGI app, you will need an ASGI server. Uvicorn\nis a popular choice:\n\n.. code:: bash\n\n $ pip install uvicorn\n\nSource Code\n-----------\n\nFalcon `lives on GitHub <https://github.com/falconry/falcon>`_, making the\ncode easy to browse, download, fork, etc. Pull requests are always welcome! Also,\nplease remember to star the project if it makes you happy. :)\n\nOnce you have cloned the repo or downloaded a tarball from GitHub, you\ncan install Falcon like this:\n\n.. code:: bash\n\n $ cd falcon\n $ pip install .\n\nOr, if you want to edit the code, first fork the main repo, clone the fork\nto your desktop, and then run the following to install it using symbolic\nlinking, so that when you change your code, the changes will be automagically\navailable to your app without having to reinstall the package:\n\n.. code:: bash\n\n $ cd falcon\n $ FALCON_DISABLE_CYTHON=Y pip install -e .\n\nYou can manually test changes to the Falcon framework by switching to the\ndirectory of the cloned repo and then running pytest:\n\n.. code:: bash\n\n $ cd falcon\n $ pip install -r requirements/tests\n $ pytest tests\n\nOr, to run the default set of tests:\n\n.. code:: bash\n\n $ pip install tox && tox\n\nSee also the `tox.ini <https://github.com/falconry/falcon/blob/master/tox.ini>`_\nfile for a full list of available environments.\n\nRead the Docs\n-------------\n\nThe docstrings in the Falcon code base are quite extensive, and we\nrecommend keeping a REPL running while learning the framework so that\nyou can query the various modules and classes as you have questions.\n\nOnline docs are available at: https://falcon.readthedocs.io\n\nYou can build the same docs locally as follows:\n\n.. code:: bash\n\n $ pip install tox && tox -e docs\n\nOnce the docs have been built, you can view them by opening the following\nindex page in your browser. On OS X it's as simple as::\n\n $ open docs/_build/html/index.html\n\nOr on Linux:\n\n.. code:: bash\n\n $ xdg-open docs/_build/html/index.html\n\nGetting Started\n---------------\n\nHere is a simple, contrived example showing how to create a Falcon-based\nWSGI app (the ASGI version is included further down):\n\n.. code:: python\n\n # examples/things.py\n\n # Let's get this party started!\n from wsgiref.simple_server import make_server\n\n import falcon\n\n\n # Falcon follows the REST architectural style, meaning (among\n # other things) that you think in terms of resources and state\n # transitions, which map to HTTP verbs.\n class ThingsResource:\n def on_get(self, req, resp):\n \"\"\"Handles GET requests\"\"\"\n resp.status = falcon.HTTP_200 # This is the default status\n resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override\n resp.text = ('\\nTwo things awe me most, the starry sky '\n 'above me and the moral law within me.\\n'\n '\\n'\n ' ~ Immanuel Kant\\n\\n')\n\n\n # falcon.App instances are callable WSGI apps...\n # in larger applications the app is created in a separate file\n app = falcon.App()\n\n # Resources are represented by long-lived class instances\n things = ThingsResource()\n\n # things will handle all requests to the '/things' URL path\n app.add_route('/things', things)\n\n if __name__ == '__main__':\n with make_server('', 8000, app) as httpd:\n print('Serving on port 8000...')\n\n # Serve until process is killed\n httpd.serve_forever()\n\nYou can run the above example directly using the included wsgiref server:\n\n.. code:: bash\n\n $ pip install falcon\n $ python things.py\n\nThen, in another terminal:\n\n.. code:: bash\n\n $ curl localhost:8000/things\n\nThe ASGI version of the example is similar:\n\n.. code:: python\n\n # examples/things_asgi.py\n\n import falcon\n import falcon.asgi\n\n\n # Falcon follows the REST architectural style, meaning (among\n # other things) that you think in terms of resources and state\n # transitions, which map to HTTP verbs.\n class ThingsResource:\n async def on_get(self, req, resp):\n \"\"\"Handles GET requests\"\"\"\n resp.status = falcon.HTTP_200 # This is the default status\n resp.content_type = falcon.MEDIA_TEXT # Default is JSON, so override\n resp.text = ('\\nTwo things awe me most, the starry sky '\n 'above me and the moral law within me.\\n'\n '\\n'\n ' ~ Immanuel Kant\\n\\n')\n\n\n # falcon.asgi.App instances are callable ASGI apps...\n # in larger applications the app is created in a separate file\n app = falcon.asgi.App()\n\n # Resources are represented by long-lived class instances\n things = ThingsResource()\n\n # things will handle all requests to the '/things' URL path\n app.add_route('/things', things)\n\nYou can run the ASGI version with uvicorn or any other ASGI server:\n\n.. code:: bash\n\n $ pip install falcon uvicorn\n $ uvicorn things_asgi:app\n\nA More Complex Example (WSGI)\n-----------------------------\n\nHere is a more involved example that demonstrates reading headers and query\nparameters, handling errors, and working with request and response bodies.\nNote that this example assumes that the\n`requests <https://pypi.org/project/requests/>`_ package has been installed.\n\n(For the equivalent ASGI app, see: `A More Complex Example (ASGI)`_).\n\n.. code:: python\n\n # examples/things_advanced.py\n\n import json\n import logging\n import uuid\n from wsgiref import simple_server\n\n import falcon\n import requests\n\n\n class StorageEngine:\n\n def get_things(self, marker, limit):\n return [{'id': str(uuid.uuid4()), 'color': 'green'}]\n\n def add_thing(self, thing):\n thing['id'] = str(uuid.uuid4())\n return thing\n\n\n class StorageError(Exception):\n\n @staticmethod\n def handle(ex, req, resp, params):\n # TODO: Log the error, clean up, etc. before raising\n raise falcon.HTTPInternalServerError()\n\n\n class SinkAdapter:\n\n engines = {\n 'ddg': 'https://duckduckgo.com',\n 'y': 'https://search.yahoo.com/search',\n }\n\n def __call__(self, req, resp, engine):\n url = self.engines[engine]\n params = {'q': req.get_param('q', True)}\n result = requests.get(url, params=params)\n\n resp.status = str(result.status_code) + ' ' + result.reason\n resp.content_type = result.headers['content-type']\n resp.text = result.text\n\n\n class AuthMiddleware:\n\n def process_request(self, req, resp):\n token = req.get_header('Authorization')\n account_id = req.get_header('Account-ID')\n\n challenges = ['Token type=\"Fernet\"']\n\n if token is None:\n description = ('Please provide an auth token '\n 'as part of the request.')\n\n raise falcon.HTTPUnauthorized(title='Auth token required',\n description=description,\n challenges=challenges,\n href='http://docs.example.com/auth')\n\n if not self._token_is_valid(token, account_id):\n description = ('The provided auth token is not valid. '\n 'Please request a new token and try again.')\n\n raise falcon.HTTPUnauthorized(title='Authentication required',\n description=description,\n challenges=challenges,\n href='http://docs.example.com/auth')\n\n def _token_is_valid(self, token, account_id):\n return True # Suuuuuure it's valid...\n\n\n class RequireJSON:\n\n def process_request(self, req, resp):\n if not req.client_accepts_json:\n raise falcon.HTTPNotAcceptable(\n description='This API only supports responses encoded as JSON.',\n href='http://docs.examples.com/api/json')\n\n if req.method in ('POST', 'PUT'):\n if 'application/json' not in req.content_type:\n raise falcon.HTTPUnsupportedMediaType(\n title='This API only supports requests encoded as JSON.',\n href='http://docs.examples.com/api/json')\n\n\n class JSONTranslator:\n # NOTE: Normally you would simply use req.media and resp.media for\n # this particular use case; this example serves only to illustrate\n # what is possible.\n\n def process_request(self, req, resp):\n # req.stream corresponds to the WSGI wsgi.input environ variable,\n # and allows you to read bytes from the request body.\n #\n # See also: PEP 3333\n if req.content_length in (None, 0):\n # Nothing to do\n return\n\n body = req.stream.read()\n if not body:\n raise falcon.HTTPBadRequest(title='Empty request body',\n description='A valid JSON document is required.')\n\n try:\n req.context.doc = json.loads(body.decode('utf-8'))\n\n except (ValueError, UnicodeDecodeError):\n description = ('Could not decode the request body. The '\n 'JSON was incorrect or not encoded as '\n 'UTF-8.')\n\n raise falcon.HTTPBadRequest(title='Malformed JSON',\n description=description)\n\n def process_response(self, req, resp, resource, req_succeeded):\n if not hasattr(resp.context, 'result'):\n return\n\n resp.text = json.dumps(resp.context.result)\n\n\n def max_body(limit):\n\n def hook(req, resp, resource, params):\n length = req.content_length\n if length is not None and length > limit:\n msg = ('The size of the request is too large. The body must not '\n 'exceed ' + str(limit) + ' bytes in length.')\n\n raise falcon.HTTPContentTooLarge(\n title='Request body is too large', description=msg)\n\n return hook\n\n\n class ThingsResource:\n\n def __init__(self, db):\n self.db = db\n self.logger = logging.getLogger('thingsapp.' + __name__)\n\n def on_get(self, req, resp, user_id):\n marker = req.get_param('marker') or ''\n limit = req.get_param_as_int('limit') or 50\n\n try:\n result = self.db.get_things(marker, limit)\n except Exception as ex:\n self.logger.error(ex)\n\n description = ('Aliens have attacked our base! We will '\n 'be back as soon as we fight them off. '\n 'We appreciate your patience.')\n\n raise falcon.HTTPServiceUnavailable(\n title='Service Outage',\n description=description,\n retry_after=30)\n\n # NOTE: Normally you would use resp.media for this sort of thing;\n # this example serves only to demonstrate how the context can be\n # used to pass arbitrary values between middleware components,\n # hooks, and resources.\n resp.context.result = result\n\n resp.set_header('Powered-By', 'Falcon')\n resp.status = falcon.HTTP_200\n\n @falcon.before(max_body(64 * 1024))\n def on_post(self, req, resp, user_id):\n try:\n doc = req.context.doc\n except AttributeError:\n raise falcon.HTTPBadRequest(\n title='Missing thing',\n description='A thing must be submitted in the request body.')\n\n proper_thing = self.db.add_thing(doc)\n\n resp.status = falcon.HTTP_201\n resp.location = '/%s/things/%s' % (user_id, proper_thing['id'])\n\n # Configure your WSGI server to load \"things.app\" (app is a WSGI callable)\n app = falcon.App(middleware=[\n AuthMiddleware(),\n RequireJSON(),\n JSONTranslator(),\n ])\n\n db = StorageEngine()\n things = ThingsResource(db)\n app.add_route('/{user_id}/things', things)\n\n # If a responder ever raises an instance of StorageError, pass control to\n # the given handler.\n app.add_error_handler(StorageError, StorageError.handle)\n\n # Proxy some things to another service; this example shows how you might\n # send parts of an API off to a legacy system that hasn't been upgraded\n # yet, or perhaps is a single cluster that all data centers have to share.\n sink = SinkAdapter()\n app.add_sink(sink, r'/search/(?P<engine>ddg|y)\\Z')\n\n # Useful for debugging problems in your API; works with pdb.set_trace(). You\n # can also use Gunicorn to host your app. Gunicorn can be configured to\n # auto-restart workers when it detects a code change, and it also works\n # with pdb.\n if __name__ == '__main__':\n httpd = simple_server.make_server('127.0.0.1', 8000, app)\n httpd.serve_forever()\n\nAgain this code uses wsgiref, but you can also run the above example using\nany WSGI server, such as uWSGI or Gunicorn. For example:\n\n.. code:: bash\n\n $ pip install requests gunicorn\n $ gunicorn things:app\n\nOn Windows you can run Gunicorn and uWSGI via WSL, or you might try Waitress:\n\n.. code:: bash\n\n $ pip install requests waitress\n $ waitress-serve --port=8000 things:app\n\nTo test this example, open another terminal and run:\n\n.. code:: bash\n\n $ http localhost:8000/1/things authorization:custom-token\n\nYou can also view the application configuration from the CLI via the\n``falcon-inspect-app`` script that is bundled with the framework:\n\n.. code:: bash\n\n falcon-inspect-app things_advanced:app\n\nA More Complex Example (ASGI)\n-----------------------------\n\nHere's the ASGI version of the app from above. Note that it uses the\n`httpx <https://pypi.org/project/httpx/>`_ package in lieu of\n`requests <https://pypi.org/project/requests/>`_.\n\n.. code:: python\n\n # examples/things_advanced_asgi.py\n\n import json\n import logging\n import uuid\n\n import falcon\n import falcon.asgi\n import httpx\n\n\n class StorageEngine:\n\n async def get_things(self, marker, limit):\n return [{'id': str(uuid.uuid4()), 'color': 'green'}]\n\n async def add_thing(self, thing):\n thing['id'] = str(uuid.uuid4())\n return thing\n\n\n class StorageError(Exception):\n\n @staticmethod\n async def handle(ex, req, resp, params):\n # TODO: Log the error, clean up, etc. before raising\n raise falcon.HTTPInternalServerError()\n\n\n class SinkAdapter:\n\n engines = {\n 'ddg': 'https://duckduckgo.com',\n 'y': 'https://search.yahoo.com/search',\n }\n\n async def __call__(self, req, resp, engine):\n url = self.engines[engine]\n params = {'q': req.get_param('q', True)}\n\n async with httpx.AsyncClient() as client:\n result = await client.get(url, params=params)\n\n resp.status = result.status_code\n resp.content_type = result.headers['content-type']\n resp.text = result.text\n\n\n class AuthMiddleware:\n\n async def process_request(self, req, resp):\n token = req.get_header('Authorization')\n account_id = req.get_header('Account-ID')\n\n challenges = ['Token type=\"Fernet\"']\n\n if token is None:\n description = ('Please provide an auth token '\n 'as part of the request.')\n\n raise falcon.HTTPUnauthorized(title='Auth token required',\n description=description,\n challenges=challenges,\n href='http://docs.example.com/auth')\n\n if not self._token_is_valid(token, account_id):\n description = ('The provided auth token is not valid. '\n 'Please request a new token and try again.')\n\n raise falcon.HTTPUnauthorized(title='Authentication required',\n description=description,\n challenges=challenges,\n href='http://docs.example.com/auth')\n\n def _token_is_valid(self, token, account_id):\n return True # Suuuuuure it's valid...\n\n\n class RequireJSON:\n\n async def process_request(self, req, resp):\n if not req.client_accepts_json:\n raise falcon.HTTPNotAcceptable(\n description='This API only supports responses encoded as JSON.',\n href='http://docs.examples.com/api/json')\n\n if req.method in ('POST', 'PUT'):\n if 'application/json' not in req.content_type:\n raise falcon.HTTPUnsupportedMediaType(\n description='This API only supports requests encoded as JSON.',\n href='http://docs.examples.com/api/json')\n\n\n class JSONTranslator:\n # NOTE: Normally you would simply use req.get_media() and resp.media for\n # this particular use case; this example serves only to illustrate\n # what is possible.\n\n async def process_request(self, req, resp):\n # NOTE: Test explicitly for 0, since this property could be None in\n # the case that the Content-Length header is missing (in which case we\n # can't know if there is a body without actually attempting to read\n # it from the request stream.)\n if req.content_length == 0:\n # Nothing to do\n return\n\n body = await req.stream.read()\n if not body:\n raise falcon.HTTPBadRequest(title='Empty request body',\n description='A valid JSON document is required.')\n\n try:\n req.context.doc = json.loads(body.decode('utf-8'))\n\n except (ValueError, UnicodeDecodeError):\n description = ('Could not decode the request body. The '\n 'JSON was incorrect or not encoded as '\n 'UTF-8.')\n\n raise falcon.HTTPBadRequest(title='Malformed JSON',\n description=description)\n\n async def process_response(self, req, resp, resource, req_succeeded):\n if not hasattr(resp.context, 'result'):\n return\n\n resp.text = json.dumps(resp.context.result)\n\n\n def max_body(limit):\n\n async def hook(req, resp, resource, params):\n length = req.content_length\n if length is not None and length > limit:\n msg = ('The size of the request is too large. The body must not '\n 'exceed ' + str(limit) + ' bytes in length.')\n\n raise falcon.HTTPContentTooLarge(\n title='Request body is too large', description=msg)\n\n return hook\n\n\n class ThingsResource:\n\n def __init__(self, db):\n self.db = db\n self.logger = logging.getLogger('thingsapp.' + __name__)\n\n async def on_get(self, req, resp, user_id):\n marker = req.get_param('marker') or ''\n limit = req.get_param_as_int('limit') or 50\n\n try:\n result = await self.db.get_things(marker, limit)\n except Exception as ex:\n self.logger.error(ex)\n\n description = ('Aliens have attacked our base! We will '\n 'be back as soon as we fight them off. '\n 'We appreciate your patience.')\n\n raise falcon.HTTPServiceUnavailable(\n title='Service Outage',\n description=description,\n retry_after=30)\n\n # NOTE: Normally you would use resp.media for this sort of thing;\n # this example serves only to demonstrate how the context can be\n # used to pass arbitrary values between middleware components,\n # hooks, and resources.\n resp.context.result = result\n\n resp.set_header('Powered-By', 'Falcon')\n resp.status = falcon.HTTP_200\n\n @falcon.before(max_body(64 * 1024))\n async def on_post(self, req, resp, user_id):\n try:\n doc = req.context.doc\n except AttributeError:\n raise falcon.HTTPBadRequest(\n title='Missing thing',\n description='A thing must be submitted in the request body.')\n\n proper_thing = await self.db.add_thing(doc)\n\n resp.status = falcon.HTTP_201\n resp.location = '/%s/things/%s' % (user_id, proper_thing['id'])\n\n\n # The app instance is an ASGI callable\n app = falcon.asgi.App(middleware=[\n # AuthMiddleware(),\n RequireJSON(),\n JSONTranslator(),\n ])\n\n db = StorageEngine()\n things = ThingsResource(db)\n app.add_route('/{user_id}/things', things)\n\n # If a responder ever raises an instance of StorageError, pass control to\n # the given handler.\n app.add_error_handler(StorageError, StorageError.handle)\n\n # Proxy some things to another service; this example shows how you might\n # send parts of an API off to a legacy system that hasn't been upgraded\n # yet, or perhaps is a single cluster that all data centers have to share.\n sink = SinkAdapter()\n app.add_sink(sink, r'/search/(?P<engine>ddg|y)\\Z')\n\nYou can run the ASGI version with any ASGI server, such as uvicorn:\n\n.. code:: bash\n\n $ pip install falcon httpx uvicorn\n $ uvicorn things_advanced_asgi:app\n\nContributing\n------------\n\nThanks for your interest in the project! We welcome pull requests from\ndevelopers of all skill levels. To get started, simply fork the master branch\non GitHub to your personal account and then clone the fork into your\ndevelopment environment.\n\nIf you would like to contribute but don't already have something in mind,\nwe invite you to take a look at the issues listed under our\n`next milestone <https://github.com/falconry/falcon/milestones>`_.\nIf you see one you'd like to work on, please leave a quick comment so that we don't\nend up with duplicated effort. Thanks in advance!\n\nPlease note that all contributors and maintainers of this project are subject to our\n`Code of Conduct <https://github.com/falconry/falcon/blob/master/CODEOFCONDUCT.md>`_.\n\nBefore submitting a pull request, please ensure you have added/updated\nthe appropriate tests (and that all existing tests still pass with your\nchanges), and that your coding style follows PEP 8 and doesn't cause\npyflakes to complain.\n\nCommit messages should be formatted using `AngularJS\nconventions <https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines>`__.\n\nComments follow `Google's style guide <https://google.github.io/styleguide/pyguide.html?showone=Comments#Comments>`__,\nwith the additional requirement of prefixing inline comments using your\nGitHub nick and an appropriate prefix:\n\n- TODO(riker): Damage report!\n- NOTE(riker): Well, that's certainly good to know.\n- PERF(riker): Travel time to the nearest starbase?\n- APPSEC(riker): In all trust, there is the possibility for betrayal.\n\nThe core Falcon project maintainers are:\n\n- Kurt Griffiths, Project Lead (**kgriffs** on GH, Gitter, and Twitter)\n- John Vrbanac (**jmvrbanac** on GH, Gitter, and Twitter)\n- Vytautas Liuolia (**vytas7** on GH and Gitter, and **vliuolia** on Twitter)\n- Nick Zaccardi (**nZac** on GH and Gitter)\n- Federico Caselli (**CaselIT** on GH and Gitter)\n\nPlease don't hesitate to reach out if you have any questions, or just need a\nlittle help getting started. You can find us in\n`falconry/dev <https://gitter.im/falconry/dev>`_ on Gitter.\n\nSee also: `CONTRIBUTING.md <https://github.com/falconry/falcon/blob/master/CONTRIBUTING.md>`__\n\nLegal\n-----\n\nCopyright 2013-2024 by Individual and corporate contributors as\nnoted in the individual source files.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may\nnot use any portion of the Falcon framework except in compliance with\nthe License. Contributors agree to license their work under the same\nLicense. You may obtain a copy of the License at\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n.. |Build status| image:: https://github.com/falconry/falcon/actions/workflows/tests.yaml/badge.svg\n :target: https://github.com/falconry/falcon/actions/workflows/tests.yaml\n.. |Docs| image:: https://readthedocs.org/projects/falcon/badge/?version=stable\n :alt: Falcon web framework docs\n :target: https://falcon.readthedocs.io/en/stable/?badge=stable\n.. |codecov.io| image:: https://codecov.io/gh/falconry/falcon/branch/master/graphs/badge.svg\n :target: https://codecov.io/gh/falconry/falcon\n.. |PyPI package| image:: https://badge.fury.io/py/falcon.svg\n :target: https://pypi.org/project/falcon/\n.. |Python versions| image:: https://img.shields.io/pypi/pyversions/falcon.svg\n :target: https://pypi.org/project/falcon/\n.. |Backer:GovCert| image:: https://falconframework.org/assets/govcert.png\n :alt: CERT Gouvernemental Luxembourg\n :height: 60px\n :target: https://www.govcert.lu/\n.. |Backer:Sentry| image:: https://falconframework.org/assets/sentry-dark.svg\n :alt: Sentry\n :height: 60px\n :target: https://sentry.io\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "The ultra-reliable, fast ASGI+WSGI framework for building data plane APIs at scale.",
"version": "4.0.2",
"project_urls": {
"Chat": "https://gitter.im/falconry/user",
"Documentation": "https://falcon.readthedocs.io/en/stable/",
"Funding": "https://opencollective.com/falcon",
"Homepage": "https://falconframework.org",
"Issue Tracker": "https://github.com/falconry/falcon/issues",
"Release Notes": "https://falcon.readthedocs.io/en/stable/changes/",
"Source": "https://github.com/falconry/falcon"
},
"split_keywords": [
"asgi",
" wsgi",
" web",
" api",
" framework",
" rest",
" http",
" cloud"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b075e33013aedec976d13f2104ab2e054b5e3863b518c9b28239d2837b521d7f",
"md5": "7417eb42d137b3aaf16d9544b04845df",
"sha256": "8eab0212e77017385d48be2dfe9f5b32305fc9e4066cd298e4bb39e666e114c8"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "7417eb42d137b3aaf16d9544b04845df",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 2315204,
"upload_time": "2024-11-06T19:49:42",
"upload_time_iso_8601": "2024-11-06T19:49:42.423178Z",
"url": "https://files.pythonhosted.org/packages/b0/75/e33013aedec976d13f2104ab2e054b5e3863b518c9b28239d2837b521d7f/falcon-4.0.2-cp310-cp310-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "905f4a3ccb6d8bdb4cfcc38aea9cd5e5c49aea400305f581c839be206c3a93e2",
"md5": "50671412718ec874141d040f253d4635",
"sha256": "942129dd3bfb56342ac368f05ff4f9be53e98883b4227089fce2fd616ebc6ef3"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "50671412718ec874141d040f253d4635",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 2194755,
"upload_time": "2024-11-06T19:49:44",
"upload_time_iso_8601": "2024-11-06T19:49:44.818711Z",
"url": "https://files.pythonhosted.org/packages/90/5f/4a3ccb6d8bdb4cfcc38aea9cd5e5c49aea400305f581c839be206c3a93e2/falcon-4.0.2-cp310-cp310-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2899447d6f8618b3f8b882c7e74eafabb59f6e9112acbc3255dddd353fc75505",
"md5": "22dbc1a2885ce32e520314295ce6322c",
"sha256": "60e7b6e5ee44bb2411a7f47bb64e0b225f11cca6ddf91e5130d456242095f0d7"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "22dbc1a2885ce32e520314295ce6322c",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 10390701,
"upload_time": "2024-11-06T19:49:47",
"upload_time_iso_8601": "2024-11-06T19:49:47.514312Z",
"url": "https://files.pythonhosted.org/packages/28/99/447d6f8618b3f8b882c7e74eafabb59f6e9112acbc3255dddd353fc75505/falcon-4.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cb27a93dc68be1e70809cfa6d227424790ff502cc1f4272200bb91ebe92fafb1",
"md5": "f225cd57b4619beb4cdb21bbb82d7e5d",
"sha256": "330f1623e579575a9e3d90c2a15aebe100b2afa1e18a4bee2ddaa9a570e97902"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"has_sig": false,
"md5_digest": "f225cd57b4619beb4cdb21bbb82d7e5d",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 10986193,
"upload_time": "2024-11-06T19:49:49",
"upload_time_iso_8601": "2024-11-06T19:49:49.885970Z",
"url": "https://files.pythonhosted.org/packages/cb/27/a93dc68be1e70809cfa6d227424790ff502cc1f4272200bb91ebe92fafb1/falcon-4.0.2-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "cb22aae29170b0947a5170844bf74b671b5e0e6dc218e2cc6262d2378ec44d15",
"md5": "88b45e06bdf1a3c71b0c672f62ccda1b",
"sha256": "9d7cfac5cfca69373d1f65211d75767ed4f2d53b46554307427ec00a6f7f87c1"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "88b45e06bdf1a3c71b0c672f62ccda1b",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 10511133,
"upload_time": "2024-11-06T19:49:52",
"upload_time_iso_8601": "2024-11-06T19:49:52.944103Z",
"url": "https://files.pythonhosted.org/packages/cb/22/aae29170b0947a5170844bf74b671b5e0e6dc218e2cc6262d2378ec44d15/falcon-4.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2f730862e66b5b9c5295f065ee7c83571fd106dd84d63cf0479038986ddf2881",
"md5": "e698de6321e4751f7c39aad01d2d4762",
"sha256": "da3d942dd34f7a5213987bd053c3b52b6eb75fcfd342dc4fea9241f79a6529b3"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "e698de6321e4751f7c39aad01d2d4762",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 10201951,
"upload_time": "2024-11-06T19:49:56",
"upload_time_iso_8601": "2024-11-06T19:49:56.080189Z",
"url": "https://files.pythonhosted.org/packages/2f/73/0862e66b5b9c5295f065ee7c83571fd106dd84d63cf0479038986ddf2881/falcon-4.0.2-cp310-cp310-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "784f044454ad96a542f2c446a07b6ebc8da0bef8e7e689e32aeb2bf40594a712",
"md5": "d730c9d70b5454f83604a528522a3f0a",
"sha256": "5169e064bbe5dece52e088e3e8b17cae429f1e04c7aef8c31ae350303b19c620"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "d730c9d70b5454f83604a528522a3f0a",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 10633849,
"upload_time": "2024-11-06T19:49:58",
"upload_time_iso_8601": "2024-11-06T19:49:58.532046Z",
"url": "https://files.pythonhosted.org/packages/78/4f/044454ad96a542f2c446a07b6ebc8da0bef8e7e689e32aeb2bf40594a712/falcon-4.0.2-cp310-cp310-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2f73bd689c2790c42b6287df1a43928ae3af6cd2541ac1d64d6fa2fc960dad5b",
"md5": "3bee0ef37ef1f6f7c117bbd4659c3273",
"sha256": "0d62e565b9e71b52b59e03130b2b71345a6873f5299aad6a141caf4a58661b41"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp310-cp310-win_amd64.whl",
"has_sig": false,
"md5_digest": "3bee0ef37ef1f6f7c117bbd4659c3273",
"packagetype": "bdist_wheel",
"python_version": "cp310",
"requires_python": ">=3.8",
"size": 2115914,
"upload_time": "2024-11-06T19:50:01",
"upload_time_iso_8601": "2024-11-06T19:50:01.000839Z",
"url": "https://files.pythonhosted.org/packages/2f/73/bd689c2790c42b6287df1a43928ae3af6cd2541ac1d64d6fa2fc960dad5b/falcon-4.0.2-cp310-cp310-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "01e3dfeff966d60f2308f765736044e0a62f046d2420baf50fa4872b06338fd5",
"md5": "a35cf0230720cb5cee27fbbac0a96c41",
"sha256": "cb6ee1aee9ff6a656762cf5fcd2e6c5dced410ca990016be2bc193e6b74ae9da"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "a35cf0230720cb5cee27fbbac0a96c41",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 2321291,
"upload_time": "2024-11-06T19:50:03",
"upload_time_iso_8601": "2024-11-06T19:50:03.281473Z",
"url": "https://files.pythonhosted.org/packages/01/e3/dfeff966d60f2308f765736044e0a62f046d2420baf50fa4872b06338fd5/falcon-4.0.2-cp311-cp311-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "73028a1a68ddf9b6f9d4a7d0d63f0a485109318f08c0181a3d9f4b05dceab355",
"md5": "4048432453034fa65762f0eb306cb120",
"sha256": "7f1a16d8bdc8ef9cf2832a6ca6d43b156b613fb1587cd08cc928c7b8a118ea0a"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "4048432453034fa65762f0eb306cb120",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 2196225,
"upload_time": "2024-11-06T19:50:05",
"upload_time_iso_8601": "2024-11-06T19:50:05.558002Z",
"url": "https://files.pythonhosted.org/packages/73/02/8a1a68ddf9b6f9d4a7d0d63f0a485109318f08c0181a3d9f4b05dceab355/falcon-4.0.2-cp311-cp311-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9f646fa45987bd0fc78d991be5ea0e30f0812eb26713c2e99ce07e35c959346b",
"md5": "5671bc1fa9fbd39af487ea39080e2f01",
"sha256": "aee81fc4702eef5bccb640b93187fdf36ca2606fca511982069dbc60be2d1c93"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "5671bc1fa9fbd39af487ea39080e2f01",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 11603829,
"upload_time": "2024-11-06T19:50:07",
"upload_time_iso_8601": "2024-11-06T19:50:07.477175Z",
"url": "https://files.pythonhosted.org/packages/9f/64/6fa45987bd0fc78d991be5ea0e30f0812eb26713c2e99ce07e35c959346b/falcon-4.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "84efbc1d47ee32e2a211cffca346bd935009d2b37189c2119df95c31a9af6231",
"md5": "255e48debab55714a1474a4d79475da9",
"sha256": "9c1dbcec63d9118c3dfac1f810305128c4fffe26f4f99a7b4e379dec95fc3bfc"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"has_sig": false,
"md5_digest": "255e48debab55714a1474a4d79475da9",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 12146705,
"upload_time": "2024-11-06T19:50:09",
"upload_time_iso_8601": "2024-11-06T19:50:09.995006Z",
"url": "https://files.pythonhosted.org/packages/84/ef/bc1d47ee32e2a211cffca346bd935009d2b37189c2119df95c31a9af6231/falcon-4.0.2-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e9cdef07fd256c2a29d3c3f1cc22e0ce59724450eb13ef5ca553e63b6abd19f7",
"md5": "9aeb44ff7771e6fceeb3ac055c3a0f59",
"sha256": "c2892ab1232d3a7cc9890b1b539c471fe04c54f826704f9d05efe5632f18efa1"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "9aeb44ff7771e6fceeb3ac055c3a0f59",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 11693278,
"upload_time": "2024-11-06T19:50:12",
"upload_time_iso_8601": "2024-11-06T19:50:12.393215Z",
"url": "https://files.pythonhosted.org/packages/e9/cd/ef07fd256c2a29d3c3f1cc22e0ce59724450eb13ef5ca553e63b6abd19f7/falcon-4.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7e2be03066e7be01f1b09c87ecd9c48e14a0ddafd9fc8fddd05db27b5ad4e3d9",
"md5": "4cb34fc1ef1c62bf64e727b926c10c79",
"sha256": "af68482b408bde53a77b36e45317767dfc5b6fce1525f5b25d65f57f35d33fca"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "4cb34fc1ef1c62bf64e727b926c10c79",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 11379786,
"upload_time": "2024-11-06T19:50:14",
"upload_time_iso_8601": "2024-11-06T19:50:14.964286Z",
"url": "https://files.pythonhosted.org/packages/7e/2b/e03066e7be01f1b09c87ecd9c48e14a0ddafd9fc8fddd05db27b5ad4e3d9/falcon-4.0.2-cp311-cp311-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2d15f218b581df1447f743b16812c84ab8f6f7d51fb3c1950129744f6fd653bc",
"md5": "2268d48f1c2b14cac990f523d602893b",
"sha256": "53d84de83abe1a2094b319a4f018ab6c5773d9c2c841b528662aa151ab9df35c"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "2268d48f1c2b14cac990f523d602893b",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 11770361,
"upload_time": "2024-11-06T19:50:18",
"upload_time_iso_8601": "2024-11-06T19:50:18.185100Z",
"url": "https://files.pythonhosted.org/packages/2d/15/f218b581df1447f743b16812c84ab8f6f7d51fb3c1950129744f6fd653bc/falcon-4.0.2-cp311-cp311-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "113e855c3051cb8aad61a921959e5e62416d759761241c1da8394103c3d1d6af",
"md5": "158081b27c36600ff7776365dd1f6863",
"sha256": "1d06bbbccdb58522b2a6bb2e79074844b0db0da1fff407725858a02515e15bbd"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp311-cp311-win_amd64.whl",
"has_sig": false,
"md5_digest": "158081b27c36600ff7776365dd1f6863",
"packagetype": "bdist_wheel",
"python_version": "cp311",
"requires_python": ">=3.8",
"size": 2124712,
"upload_time": "2024-11-06T19:50:20",
"upload_time_iso_8601": "2024-11-06T19:50:20.543021Z",
"url": "https://files.pythonhosted.org/packages/11/3e/855c3051cb8aad61a921959e5e62416d759761241c1da8394103c3d1d6af/falcon-4.0.2-cp311-cp311-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "67db0b78b7ee3fe7e370ed430b7deabfa524b57a5b9eb32622ce1f1bb7aacf0d",
"md5": "214cb2b9a6675e4bbdcc08d64b4c2896",
"sha256": "23b0419a9a025745734022aaa2e65447595e539ba27352b3f59d86b288f614db"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-macosx_10_13_x86_64.whl",
"has_sig": false,
"md5_digest": "214cb2b9a6675e4bbdcc08d64b4c2896",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 2294078,
"upload_time": "2024-11-06T19:50:22",
"upload_time_iso_8601": "2024-11-06T19:50:22.030942Z",
"url": "https://files.pythonhosted.org/packages/67/db/0b78b7ee3fe7e370ed430b7deabfa524b57a5b9eb32622ce1f1bb7aacf0d/falcon-4.0.2-cp312-cp312-macosx_10_13_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "630177b5b0214bc4ca717b6c6cbe8c3adaba653a7312c9c51a9b390f66efbce0",
"md5": "f6553e7ffc5f112c3fb1b90a31b1f2ba",
"sha256": "524d7b75f7368fe82e94ed16370db5a27bb4b2d066470cba53f02304264447e8"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "f6553e7ffc5f112c3fb1b90a31b1f2ba",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 2186007,
"upload_time": "2024-11-06T19:50:23",
"upload_time_iso_8601": "2024-11-06T19:50:23.876905Z",
"url": "https://files.pythonhosted.org/packages/63/01/77b5b0214bc4ca717b6c6cbe8c3adaba653a7312c9c51a9b390f66efbce0/falcon-4.0.2-cp312-cp312-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1d0c44abd34e38b88f15c5a7030f48ec079669218af3162de2bd1925e13a46a5",
"md5": "8ce1201e610faafbb81f2a56f06e8fa2",
"sha256": "2c6b1d7451d5dee4be9b67a75e2a4a0b024dccffedd4e7c7a09513733b5a11db"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "8ce1201e610faafbb81f2a56f06e8fa2",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 11644341,
"upload_time": "2024-11-06T19:50:26",
"upload_time_iso_8601": "2024-11-06T19:50:26.429752Z",
"url": "https://files.pythonhosted.org/packages/1d/0c/44abd34e38b88f15c5a7030f48ec079669218af3162de2bd1925e13a46a5/falcon-4.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5ef30260f70dd080d23372e2ff0e330ca37897ab5e1b4890df281558bda8e34a",
"md5": "bb4d90888ea1fda178408e3e0b3c3425",
"sha256": "59bb4a29626c5e610c62620a1395755e8c7b5509385b80d3637fbc8a604d29a3"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"has_sig": false,
"md5_digest": "bb4d90888ea1fda178408e3e0b3c3425",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 12218712,
"upload_time": "2024-11-06T19:50:29",
"upload_time_iso_8601": "2024-11-06T19:50:29.335297Z",
"url": "https://files.pythonhosted.org/packages/5e/f3/0260f70dd080d23372e2ff0e330ca37897ab5e1b4890df281558bda8e34a/falcon-4.0.2-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8df8704b73fc76cf283504aaacc2f466a08fd5d440cddd8d50b6d5c288f0293b",
"md5": "c4f1aaabe1181c3e03a9c1533b63f2ec",
"sha256": "f26c9ed2912ee48e2e1e7eca3e7e85ab664ff07bd321097a26e4ad6168059424"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "c4f1aaabe1181c3e03a9c1533b63f2ec",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 11842131,
"upload_time": "2024-11-06T19:50:32",
"upload_time_iso_8601": "2024-11-06T19:50:32.317055Z",
"url": "https://files.pythonhosted.org/packages/8d/f8/704b73fc76cf283504aaacc2f466a08fd5d440cddd8d50b6d5c288f0293b/falcon-4.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f29a53f9ee7ee8758972d92bb3dfb2225a9c382fbd12f684616cab9126420602",
"md5": "486214f2a7f87d05475a6ad10c3cf9d2",
"sha256": "0a12bbf3482b7ef1db0c6727c2ad8be5c3ac777d892e56a170e0b4b93651c915"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "486214f2a7f87d05475a6ad10c3cf9d2",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 11346087,
"upload_time": "2024-11-06T19:50:34",
"upload_time_iso_8601": "2024-11-06T19:50:34.743402Z",
"url": "https://files.pythonhosted.org/packages/f2/9a/53f9ee7ee8758972d92bb3dfb2225a9c382fbd12f684616cab9126420602/falcon-4.0.2-cp312-cp312-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "afac8098957dd5b97ed16788104b7acb33c64689f7ab04e0c6b07d6561182950",
"md5": "692f9bad0cf196917c6261d8fae4d85a",
"sha256": "a601de7816138f17bf168262e0bceb128fdd1ea2f29ddae035585b5da9223a21"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "692f9bad0cf196917c6261d8fae4d85a",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 11992383,
"upload_time": "2024-11-06T19:50:37",
"upload_time_iso_8601": "2024-11-06T19:50:37.394328Z",
"url": "https://files.pythonhosted.org/packages/af/ac/8098957dd5b97ed16788104b7acb33c64689f7ab04e0c6b07d6561182950/falcon-4.0.2-cp312-cp312-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7a23f8a74294b5b0cb5b9e3eb44ccea310a5d480ef95e938704827db0dd97f99",
"md5": "017332fe19bba3752451993261645bed",
"sha256": "eec3feda4a9cd773203401e3cf425728a13bf5055b22243b1452e9ad963634f5"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp312-cp312-win_amd64.whl",
"has_sig": false,
"md5_digest": "017332fe19bba3752451993261645bed",
"packagetype": "bdist_wheel",
"python_version": "cp312",
"requires_python": ">=3.8",
"size": 2077409,
"upload_time": "2024-11-06T19:50:40",
"upload_time_iso_8601": "2024-11-06T19:50:40.396947Z",
"url": "https://files.pythonhosted.org/packages/7a/23/f8a74294b5b0cb5b9e3eb44ccea310a5d480ef95e938704827db0dd97f99/falcon-4.0.2-cp312-cp312-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "1f3471ef64406ac7f83c5726a37c9fcae0578bc9d650de09c32148aa6c58502f",
"md5": "a2b1af6cbaa6147b1778d438f4ca3d9d",
"sha256": "110b172afe337fbae802f1402c89a5dfe6392f3b8ce4f2ecdfd5cee48f68b805"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-macosx_10_13_x86_64.whl",
"has_sig": false,
"md5_digest": "a2b1af6cbaa6147b1778d438f4ca3d9d",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 2257265,
"upload_time": "2024-11-06T19:50:41",
"upload_time_iso_8601": "2024-11-06T19:50:41.967379Z",
"url": "https://files.pythonhosted.org/packages/1f/34/71ef64406ac7f83c5726a37c9fcae0578bc9d650de09c32148aa6c58502f/falcon-4.0.2-cp313-cp313-macosx_10_13_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b713528d074e8a75a9236c9f060685e4cb813fbca774269afc89d31e821d8560",
"md5": "41239b816fb66a35ce6165cbe746949b",
"sha256": "b3a5db14cf2ef05f8f9630468c03939b86dc16115a5250a1870dac3dca1e04ba"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "41239b816fb66a35ce6165cbe746949b",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 2151133,
"upload_time": "2024-11-06T19:50:44",
"upload_time_iso_8601": "2024-11-06T19:50:44.614138Z",
"url": "https://files.pythonhosted.org/packages/b7/13/528d074e8a75a9236c9f060685e4cb813fbca774269afc89d31e821d8560/falcon-4.0.2-cp313-cp313-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2f708c7bf8bf941238a87debce72fcdc7b2301d6599271a392c8216ea2f5d91e",
"md5": "55bed1c4afeddeff05d69274105ee486",
"sha256": "14e0b4d41ce29c2b5c5b18021320e9e0977ba47ade46b67face52ee1325e2ea4"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "55bed1c4afeddeff05d69274105ee486",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 11438997,
"upload_time": "2024-11-06T19:50:46",
"upload_time_iso_8601": "2024-11-06T19:50:46.539634Z",
"url": "https://files.pythonhosted.org/packages/2f/70/8c7bf8bf941238a87debce72fcdc7b2301d6599271a392c8216ea2f5d91e/falcon-4.0.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "fa4371e358d36ec4559737d63312d746fb5f8b0e64f1fe273cd6991e567a9225",
"md5": "de84629bac7aa5e9996d8bbfd7453d98",
"sha256": "56af3b8838da2e19ae56b4e1bac168669ba257d6941f94933dc4f814fe721c08"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"has_sig": false,
"md5_digest": "de84629bac7aa5e9996d8bbfd7453d98",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 12015197,
"upload_time": "2024-11-06T19:50:49",
"upload_time_iso_8601": "2024-11-06T19:50:49.557257Z",
"url": "https://files.pythonhosted.org/packages/fa/43/71e358d36ec4559737d63312d746fb5f8b0e64f1fe273cd6991e567a9225/falcon-4.0.2-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "7a70c10acaa3486748f77d9b0e79aaa19d3023b760bb9b93389ac1883a52e366",
"md5": "3ec643469701b72101e19637a12fda70",
"sha256": "ec939d26dd77f57f08f3e13fb14b4e609c0baf073dc3f0c368f0e4cc10439528"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "3ec643469701b72101e19637a12fda70",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 11653687,
"upload_time": "2024-11-06T19:50:52",
"upload_time_iso_8601": "2024-11-06T19:50:52.091707Z",
"url": "https://files.pythonhosted.org/packages/7a/70/c10acaa3486748f77d9b0e79aaa19d3023b760bb9b93389ac1883a52e366/falcon-4.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b73bdfdd9bd9f6114a49a55298b12048f1b65d0813b82c28676b956c4444f707",
"md5": "d3b62ea266cfe70595f03bce996260b7",
"sha256": "9bfd751dd898505e17152d7ecfcdc457c9d85bceed7e651a9915183bd4afc86b"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "d3b62ea266cfe70595f03bce996260b7",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 11165291,
"upload_time": "2024-11-06T19:50:54",
"upload_time_iso_8601": "2024-11-06T19:50:54.459257Z",
"url": "https://files.pythonhosted.org/packages/b7/3b/dfdd9bd9f6114a49a55298b12048f1b65d0813b82c28676b956c4444f707/falcon-4.0.2-cp313-cp313-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0161eb3d1d2076df85d5a7c2cd823ba5dbe0a928053a3102effb9006b2851377",
"md5": "207a532a284951350d22c5bfe7bed48e",
"sha256": "4b85f9c6f50a7465303290cb305404ea5c1ddeff6702179c1a8879c4693b0e5e"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "207a532a284951350d22c5bfe7bed48e",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 11831049,
"upload_time": "2024-11-06T19:50:58",
"upload_time_iso_8601": "2024-11-06T19:50:58.192038Z",
"url": "https://files.pythonhosted.org/packages/01/61/eb3d1d2076df85d5a7c2cd823ba5dbe0a928053a3102effb9006b2851377/falcon-4.0.2-cp313-cp313-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bfc7268cddb1f84ebe5b402acdf116083658f3fb0dd38a75571e0ee703cef212",
"md5": "783d9e6009cf47a27535f697ed254388",
"sha256": "a410e4023999a74ccf615fafa646b112044b987ef5901c8e5c5b79b163f2b3ba"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp313-cp313-win_amd64.whl",
"has_sig": false,
"md5_digest": "783d9e6009cf47a27535f697ed254388",
"packagetype": "bdist_wheel",
"python_version": "cp313",
"requires_python": ">=3.8",
"size": 2052994,
"upload_time": "2024-11-06T19:51:01",
"upload_time_iso_8601": "2024-11-06T19:51:01.138362Z",
"url": "https://files.pythonhosted.org/packages/bf/c7/268cddb1f84ebe5b402acdf116083658f3fb0dd38a75571e0ee703cef212/falcon-4.0.2-cp313-cp313-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "da34167b5ce980d1aab9228e2eb0e9f181fd6fc8ac81bc7cb3e090bf0e7f6d92",
"md5": "93428cd2c6c3e129d28e273a8657178f",
"sha256": "90ba6475a6dc591e72f23f3751476711f9a820a6eca05cb9435c9d039f7c534c"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "93428cd2c6c3e129d28e273a8657178f",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 10801453,
"upload_time": "2024-11-06T19:51:03",
"upload_time_iso_8601": "2024-11-06T19:51:03.192994Z",
"url": "https://files.pythonhosted.org/packages/da/34/167b5ce980d1aab9228e2eb0e9f181fd6fc8ac81bc7cb3e090bf0e7f6d92/falcon-4.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d21b9ac7cbdfc98d752d2ee10f7ff2c6e5848bbd72836b77860951e8c05b1211",
"md5": "8d96fe8038ab0801a7f16dea54c2e21c",
"sha256": "90c8614f8fc7bf144338cbd9f9ac2ccf824c139e57f8122d3e873e92e4a4b053"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp38-cp38-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "8d96fe8038ab0801a7f16dea54c2e21c",
"packagetype": "bdist_wheel",
"python_version": "cp38",
"requires_python": ">=3.8",
"size": 10951356,
"upload_time": "2024-11-06T19:51:05",
"upload_time_iso_8601": "2024-11-06T19:51:05.620985Z",
"url": "https://files.pythonhosted.org/packages/d2/1b/9ac7cbdfc98d752d2ee10f7ff2c6e5848bbd72836b77860951e8c05b1211/falcon-4.0.2-cp38-cp38-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0007be6347247812e6553be50d83b0951e569d597b9c3a71e4c0de5b00789b7",
"md5": "c2506b46e1f3ecc815a387e087098631",
"sha256": "f9709fd9181f58d492463b951cc42fb33b230e8f261128bc8252a37a4553f318"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl",
"has_sig": false,
"md5_digest": "c2506b46e1f3ecc815a387e087098631",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 2323679,
"upload_time": "2024-11-06T19:51:08",
"upload_time_iso_8601": "2024-11-06T19:51:08.688670Z",
"url": "https://files.pythonhosted.org/packages/d0/00/7be6347247812e6553be50d83b0951e569d597b9c3a71e4c0de5b00789b7/falcon-4.0.2-cp39-cp39-macosx_10_9_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c47165266fc8433e396f42a2b045e7b7069390c4314e8b66e66c4e092166226f",
"md5": "cf73f1903bdce9d926be5d05c898b681",
"sha256": "427c20ceb367039b856506d7baeef17c7f0c40b8fcbf1147c0e76f33a574a7cf"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-macosx_11_0_arm64.whl",
"has_sig": false,
"md5_digest": "cf73f1903bdce9d926be5d05c898b681",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 2203699,
"upload_time": "2024-11-06T19:51:10",
"upload_time_iso_8601": "2024-11-06T19:51:10.212399Z",
"url": "https://files.pythonhosted.org/packages/c4/71/65266fc8433e396f42a2b045e7b7069390c4314e8b66e66c4e092166226f/falcon-4.0.2-cp39-cp39-macosx_11_0_arm64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "803082ff9d61d6baa5f908ccbbb775585cd1ac24dd47fcc2d2e6c5b9b0f44ce4",
"md5": "c57ec313d0164025b3e9bd2e62cc1a83",
"sha256": "1fb50cebc3cae6720ccf4a05fccb233ea6a88e803828a07c063d6dce10a74e0e"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"has_sig": false,
"md5_digest": "c57ec313d0164025b3e9bd2e62cc1a83",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 10418688,
"upload_time": "2024-11-06T19:51:11",
"upload_time_iso_8601": "2024-11-06T19:51:11.904567Z",
"url": "https://files.pythonhosted.org/packages/80/30/82ff9d61d6baa5f908ccbbb775585cd1ac24dd47fcc2d2e6c5b9b0f44ce4/falcon-4.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bfe5660262ee87a90aab812d2d10ab42e6e0bffe853890b2e14268863c4dd659",
"md5": "5b060857e28b3984c4d1de55eee66e8e",
"sha256": "628c450e14af811f13db6334265d7ff8a7b8a25ece1bde35d09a367a72046533"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"has_sig": false,
"md5_digest": "5b060857e28b3984c4d1de55eee66e8e",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 11033845,
"upload_time": "2024-11-06T19:51:15",
"upload_time_iso_8601": "2024-11-06T19:51:15.135069Z",
"url": "https://files.pythonhosted.org/packages/bf/e5/660262ee87a90aab812d2d10ab42e6e0bffe853890b2e14268863c4dd659/falcon-4.0.2-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8fb2cf4c9567ad571e3304743e6f65c42576929cc16d494cb234f972fa70a150",
"md5": "167d40850e3c6952d3fcba9f5890332a",
"sha256": "e04b30a7f89e5413e00c5cd1ea62bf7948323eb0220f8a5bbf705abae266a384"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"has_sig": false,
"md5_digest": "167d40850e3c6952d3fcba9f5890332a",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 10547880,
"upload_time": "2024-11-06T19:51:17",
"upload_time_iso_8601": "2024-11-06T19:51:17.883872Z",
"url": "https://files.pythonhosted.org/packages/8f/b2/cf4c9567ad571e3304743e6f65c42576929cc16d494cb234f972fa70a150/falcon-4.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e2b8503d3574be76a09b64dd48214e012fd1b911a158400bc04b1ee0d4caec0f",
"md5": "40d6960e3dbf35195c648812056b55fd",
"sha256": "9095a36b8eeb80207322393b3bc88edaacd0426c2907e8427617618421bde9cc"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-musllinux_1_2_aarch64.whl",
"has_sig": false,
"md5_digest": "40d6960e3dbf35195c648812056b55fd",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 10218888,
"upload_time": "2024-11-06T19:51:20",
"upload_time_iso_8601": "2024-11-06T19:51:20.683388Z",
"url": "https://files.pythonhosted.org/packages/e2/b8/503d3574be76a09b64dd48214e012fd1b911a158400bc04b1ee0d4caec0f/falcon-4.0.2-cp39-cp39-musllinux_1_2_aarch64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2c88d96a3e9d93aee74280a82be844c2eaa603283c5548b3293165deb2d55b4e",
"md5": "99b666157e69117ee5416533eb1ed50c",
"sha256": "0adc6c2887f9d7ed55fe38edef055cc85c26762e392d80dca8765184c180b921"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-musllinux_1_2_x86_64.whl",
"has_sig": false,
"md5_digest": "99b666157e69117ee5416533eb1ed50c",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 10663138,
"upload_time": "2024-11-06T19:51:23",
"upload_time_iso_8601": "2024-11-06T19:51:23.079919Z",
"url": "https://files.pythonhosted.org/packages/2c/88/d96a3e9d93aee74280a82be844c2eaa603283c5548b3293165deb2d55b4e/falcon-4.0.2-cp39-cp39-musllinux_1_2_x86_64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "38974021fce87e3feb67839405ca8d2560d989da141692214c6f1b297af23443",
"md5": "b50327e4671b365df4079ec6cc75f7cb",
"sha256": "7bffb4cadcbf7c5994695d421ef5305ad8315cfbefe971713046967614f0ffa4"
},
"downloads": -1,
"filename": "falcon-4.0.2-cp39-cp39-win_amd64.whl",
"has_sig": false,
"md5_digest": "b50327e4671b365df4079ec6cc75f7cb",
"packagetype": "bdist_wheel",
"python_version": "cp39",
"requires_python": ">=3.8",
"size": 2121203,
"upload_time": "2024-11-06T19:51:25",
"upload_time_iso_8601": "2024-11-06T19:51:25.453047Z",
"url": "https://files.pythonhosted.org/packages/38/97/4021fce87e3feb67839405ca8d2560d989da141692214c6f1b297af23443/falcon-4.0.2-cp39-cp39-win_amd64.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "20e2ef821224a9ca9d4bb81d6e7ba60c6fbf3eae2e0dc10d806e6ff21b6dfdc5",
"md5": "fb61827cc770dbb55bd6281e71fd1bfe",
"sha256": "077b2abf001940c6128c9b5872ae8147fe13f6ca333f928d8045d7601a5e847e"
},
"downloads": -1,
"filename": "falcon-4.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fb61827cc770dbb55bd6281e71fd1bfe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 318356,
"upload_time": "2024-11-06T19:21:18",
"upload_time_iso_8601": "2024-11-06T19:21:18.290011Z",
"url": "https://files.pythonhosted.org/packages/20/e2/ef821224a9ca9d4bb81d6e7ba60c6fbf3eae2e0dc10d806e6ff21b6dfdc5/falcon-4.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "374fd317952294dee1982cd930c8ee2b8b7fbf04140473882801061b3346c713",
"md5": "779e94857aed44e78536a9d36268e76c",
"sha256": "58f4b9c9da4c9b1e2c9f396ad7ef897701b3c7c7c87227f0bd1aee40c7fbc525"
},
"downloads": -1,
"filename": "falcon-4.0.2.tar.gz",
"has_sig": false,
"md5_digest": "779e94857aed44e78536a9d36268e76c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 630121,
"upload_time": "2024-11-06T19:21:20",
"upload_time_iso_8601": "2024-11-06T19:21:20.751440Z",
"url": "https://files.pythonhosted.org/packages/37/4f/d317952294dee1982cd930c8ee2b8b7fbf04140473882801061b3346c713/falcon-4.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-06 19:21:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "falconry",
"github_project": "falcon",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "falcon"
}