Are you over 18 and want to see adult content?
More Annotations
![A complete backup of suratkargo.com.tr](https://www.archivebay.com/archive5/images/bc4a07ea-8f0b-443a-9364-1d5da0b67ba3.png)
A complete backup of suratkargo.com.tr
Are you over 18 and want to see adult content?
![A complete backup of interactions.org](https://www.archivebay.com/archive5/images/d2a69b4e-4e81-4be6-a9ef-969bb1b7ba3b.png)
A complete backup of interactions.org
Are you over 18 and want to see adult content?
![A complete backup of travelpast50.com](https://www.archivebay.com/archive5/images/aca624bf-062d-4f99-8497-7f2ae80e07a2.png)
A complete backup of travelpast50.com
Are you over 18 and want to see adult content?
![A complete backup of berufsbildendeschulen.at](https://www.archivebay.com/archive5/images/69c28e21-3d97-4d3a-b0f6-b826b94f6c1b.png)
A complete backup of berufsbildendeschulen.at
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of apsaraicecreams.com](https://www.archivebay.com/archive2/89a0710d-b4da-437b-906e-73806f8dae1c.png)
A complete backup of apsaraicecreams.com
Are you over 18 and want to see adult content?
![A complete backup of intheholegolf.com](https://www.archivebay.com/archive2/a91e08d3-1c5e-483a-8b39-067510b7c7ee.png)
A complete backup of intheholegolf.com
Are you over 18 and want to see adult content?
![A complete backup of jnegreenteam.com](https://www.archivebay.com/archive2/773f605b-ea5a-42ed-858d-7de7cb0113a8.png)
A complete backup of jnegreenteam.com
Are you over 18 and want to see adult content?
![A complete backup of ukcareguide.co.uk](https://www.archivebay.com/archive2/5e8ae129-6eba-4792-893a-d0508346446f.png)
A complete backup of ukcareguide.co.uk
Are you over 18 and want to see adult content?
![A complete backup of piefivepizza.com](https://www.archivebay.com/archive2/1c1ef2f9-4e5d-4e2d-91ff-b8825e2f27a6.png)
A complete backup of piefivepizza.com
Are you over 18 and want to see adult content?
Text
* About
* Design
* Features
* Benchmarks
* Community
* GitHub
*
2.0.0
FALCON
Unburdening APIs for over 7.90 x 10-2 centuries. As featured in TalkPython Episode #129 Get started Pledge today Contribute A Big Thank You to Our Project Patrons# sample.py
import falcon
class QuoteResource: def on_get(self, req, resp): """Handles GET requests"""quote = {
'quote': (
"I've always been more interested in " "the future than in the past."),
'author': 'Grace Hopper'}
resp.media = quote api = falcon.API() api.add_route('/quote', QuoteResource()) $ pip install falcon $ gunicorn sample:api*
FAST
Falcon is a blazing fast, minimalist Python web API framework for building reliable app backends and microservices.*
RELIABLE
Organizations like LinkedIn, Leadpages, Wargaming, and Rackspace rely on Falcon for critical projects.*
RESTFUL
The Falcon web framework encourages the REST architectural style. Resource classes implement HTTP method handlers that resolve requests and perform state transitions.*
COMPLEMENTARY
Falcon complements more general Python web frameworks by providing extra performance and flexibility wherever you need it.*
EXTENSIBLE
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 as a starting point, but you may also wish to search PyPI for additionalresources.
*
COMPATIBLE
Thanks to WSGI, Falcon runs on a large variety of web servers and platforms. Falcon works great with CPython 2.6, 2.7, and 3.4+. Or try PyPy for an extra speed boost. Falcon supports both PyPy2.7 and PyPy3.5 as of PyPy v5.10.DESIGN
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 extra performance, reliability, and flexibility wherever you need it. FAST. Same hardware, more requests. Falcon turns around requests several times faster than most other Python frameworks. For an extra speed boost, Falcon compiles itself with Cython when available, and also works well with PyPy . Considering a move to another programming language? Benchmark with Falcon + PyPy first. 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 ) with a major version increment. The code is rigorously tested with numerous inputs and we require 100% coverage at all times. Six and mimeparse are the only third-party dependencies. 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. Due to Falcon's minimalist design, Python community members are free to independently innovate on Falcon add-ons and complementary packages.
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. > 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éryFEATURES
* Highly-optimized, extensible code base * Intuitive routing via URI templates and REST-inspired resourceclasses
* Easy access to headers and bodies through request and responseclasses
* DRY request processing via middleware components and hooks * Idiomatic HTTP error responses * Straightforward exception handling * Snappy unit testing through WSGI helpers and mocks * CPython 2.6-2.7 and 3.4+, or PyPy 2.7 and 3.5+ * Cython support for an extra speed boost under CPython > Don't lower your expectations to meet your performance. Raise your > level of performance to meet your expectations. Expect the best of > yourself, and then do what is necessary to make it a reality.> Ralph Marston
BENCHMARKS
To give you a feel for Falcon's performance, we've included the results of running a simple benchmark across several popular Pythonweb frameworks.
Please note, however, that this benchmark is by no means comprehensive; it is only meant to provide a rough performance comparison between the given frameworks, and to demonstrate the baseline per-request overhead each framework incurs on an application. As with any benchmark, you should take these numbers with a grain of salt. You should always run your own tests against your specific use case to discover what best suits your needs. SCENARIO. The benchmark acts as a WSGI server and performs a GET request directly on each framework's PEP-3333 app. Requests are not sent over the network, since the performance of a given network or web server is not related to the performance of the WSGI frameworks themselves. Regardless, each app parses a route template with a single embedded parameter, reads a query parameter and a header from the request data, sets an x-header on the response, and finally returns a 10 KiB body, randomly generated. METHOD. 50,000 iterations were executed per trial (100,000 for the PyPy tests), and the best time was recorded for each framework over 20 trials. The order in which the frameworks were tested was randomized for each trial. Also, garbage collection was enabled as it would be in a production environment, and a full collection was forcefully triggered before each trial. Finally, results were calculated using the DECIMAL class, and rounded to the nearest whole number. PLATFORM. Benchmarks were executed by running the corresponding Dockerimages on a Google
Compute Engine instance (Intel Skylake, 1vCPU, 2 GB RAM), running Ubuntu 18.04 with all system packages updated to their latest versions as of May 2019. The frameworks were tested on several differentversions of Python.
CPYTHON 2.7.16
SPEEDUP
REQ/SEC
ΜS/REQ
Falcon Cythonized (2.0.0)27x
78,432
12.75
Falcon (2.0.0)
17x
48,930
20.44
Bottle (0.12.16)
9x
25,946
38.54
Werkzeug (0.15.4)
3x
7,535
132.72
Flask (1.0.2)
1x
4,382
228.22
Django (1.11.20)
1x
2,945
339.55
CPYTHON 3.7.3
SPEEDUP
REQ/SEC
ΜS/REQ
Falcon Cythonized (2.0.0)41x
72,679
13.76
Falcon (2.0.0)
28x
50,030
19.99
Bottle (0.12.16)
15x
27,281
36.66
Werkzeug (0.15.4)
5x
9,698
103.11
Flask (1.0.2)
3x
5,404
185.06
Django (2.2.1)
1x
1,790
558.60
PYPY2 7.1.1
SPEEDUP
REQ/SEC
ΜS/REQ
Falcon (2.0.0)
20x
461,399
2.17
Bottle (0.12.16)
12x
290,709
3.44
Werkzeug (0.15.4)
4x
100,040
10.00
Django (1.11.20)
1x
31,213
32.04
Flask (1.0.2)
1x
23,492
42.57
PYPY3 7.0.0
SPEEDUP
REQ/SEC
ΜS/REQ
Falcon (2.0.0)
75x
330,676
3.02
Bottle (0.12.16)
37x
162,274
6.16
Werkzeug (0.15.4)
11x
47,395
21.10
Flask (1.0.2)
8x
36,746
27.21
Django (2.2.1)
1x
4,436
225.41
EXTENDED TEST
Falcon was also benchmarked under CPython 3.7 with a more realistic scenario, in which the routing table had multiple entries, the query string contained percent-encoded characters, and several complex response headers were set in the response. Note that even when Falcon is doing more work, it still is able to outperform other frameworks, which are only doing the bare minimum to construct a response.SPEEDUP
REQ/SEC
ΜS/REQ
Falcon Extended (2.0.0)10x
29,086
34.38
Flask (1.0.2)
3x
5,404
185.06
Django (2.2.1)
1x
1,790
558.60
> In order to be great, you just have to care. You have to care about > your world, community, and equality.> Katori Hall
COMMUNITY
Falcon is an Apache-licensed community project, built and supported by stylish volunteers from around the world. Check out the Falcon talks, podcasts, and blog posts wiki pageto learn
more about the project, and to add your own resources. 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 as a starting point, but you may also wish to search PyPI for additionalresources.
The Falconry community on Gitter is a great place to ask questions and share your ideas. You can find us in falconry/user . We also have a falconry/dev room for discussing the design and development of the framework itself. Per our Code of Conduct, we
expect everyone who participates in community discussions to act professionally. Please lead by example in encouraging constructive discussions. Each individual in the community is responsible for creating a positive, constructive, and productive culture. _ Kurt Griffiths (KGRIFFS on GH, Gitter, and Twitter) is the original creator and primary maintainer of the Falcon framework. Kurt is generously assisted by members of the core project team, including John Vrbanac (JMVRBANAC on GH and Gitter, and JVRBANAC on Twitter), Vytautas Liuolia (VYTAS7 on GH and Gitter), and Nick Zaccardi (NZAC onGH and Gitter). _
> We are all inventors, each sailing out on a voyage of discovery, > guided each by a private chart, of which there is no duplicate. The > world is all gates, all opportunities. > Ralph Waldo Emerson SUPPORT FALCON DEVELOPMENT Falcon is an Apache-licensed community project, and is free to use. However, the large amount of time and effort needed to maintain the project and develop new features is not sustainable without the generous financial support of community members like you. Please consider helping us secure the future of the Falcon framework with a one-time or recurring donation. Thank you for your support!ONE-TIME DONATIONS
Your generous one-time donation helps Falcon's creator and lead maintainer, Kurt Griffiths (KGRIFFS), dedicate more of his personal time toward supporting the community, developing great new features, and improving the documentation. Pledge $25 or more and receive a thank-you gift of a TOTALLY RAD GLOW-IN-THE-DARK FALCON BUTTON to put on your backpack or wherever you like (DM @kgriffs on Twitter or Gitter and Kurt will hook you up). If you donate $50 or more, WE'LL ALSO THROW IN ONE OF OUR GREAT-LOOKING T-SHIRTS TO THANK YOU FOR YOUR GENEROUS SUPPORT. Donations of any amount can be made through these channels: BTC BCH ETH LTCDONATE BITCOIN
×
Bitcoin Address:
1GXWtv9K4rDm7RTj4erxhQUaL1sApWSBLuOK
DONATE BITCOIN CASH
×
Bitcoin Cash Address: 1NXX5Nz4yJnFBSUv3HHzQc6bWoLVDjqEjhOK
DONATE ETHEREUM
×
Ethereum Address:
0x1403149Baca437D3c64ec8Ad8c0bBec42A9521FfOK
DONATE LITECOIN
×
Litecoin Address:
LagYicvxa4kKyEk8XDhQJb5xvmcL3wnHCGOK
RECURRING PLEDGES
Your recurring pledge comes with some great perks , such as having your name listed in the BACKERS.md file, having your logo displayed on this website and in the docs, awesome T-shirts and glow-in-the-dark buttons, plus ACCESS TO PRIORITIZED SUPPORT from Falcon's core maintainers. Recurring pledges help subsidize the cost for Falcon's other core maintainers to maintain ecosystem projects and to engage with the community at PyCon and other venues. Thank you for your generous support of open source software! Has Falcon helped you make an awesome app? Show your support by backing the project for as little as $5 a month. This website is licensed under a Creative Commons Attribution 4.0 International License .Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0