В Москве оказывается есть Царь-Макет. Это как наш питерский Гранд Макет, а может даже чуть больше. Наткнулись мы на него совершенно случайно, хотя логично было бы предположить, что уж в столице то точно будет нечто подобное.
Люблю эти штуки. Я трижды был на Гранд Макете и дважды в Петровской Акватории. А ещё подписан на Ютубе на одного мастера, создающего миниатюрные сцены (он называет их "диорамы").
Конкретно в музеях-макетах нередко бывает куча пасхалок и других прикольных деталей. В Москве, например, помимо других участков города смоделировали пробку (как неотъемлемый символ столицы). В Петербурге (в московском макете) можно найти тусовку мотоциклистов на стрелке Васильевского острова. Ещё есть здание, в котором стоит макет, и уменьшенная рекурсивная копия этого самого макета :) Ну и куча сценок из разных фильмов, сказок, мультиков. А в одном месте даже летающая тарелка и монстры.
Если вдруг не были, рекомендую сходить.
#travel#life
https://pypi.python.org/pypi/oauthlib
A generic, spec-compliant, thorough implementation of the #OAuth request-signing logic for python
OAuth often seems complicated and difficult-to-implement. There are several prominent libraries for handling OAuth requests, but they all suffer from one or both of the following:
They predate the OAuth 1.0 spec, AKA RFC 5849.
They predate the OAuth 2.0 spec, AKA RFC 6749.
They assume the usage of a specific HTTP request library.
OAuthLib is a generic utility which implements the logic of OAuth without assuming a specific HTTP request object or web framework. Use it to graft OAuth client support onto your favorite HTTP library, or provide support onto your favourite web framework. If you’re a maintainer of such a library, write a thin veneer on top of OAuthLib and get OAuth support for very little effort.
https://aaronparecki.com/2012/07/29/2/oauth2-simplified#others
OAuth 2 Simplified
Sun, Jul 29, 2012 9:30am -07:00
Many services such as #Facebook, #Github, and #Google have already deployed OAuth 2 servers, and deployed implementations win.
The #OAuth 2 spec itself leaves many decisions up to the implementor. Instead of describing all possible decisions that need to be made to successfully implement OAuth 2, this post makes decisions that are appropriate for most implementations.
This post is an attempt to describe OAuth 2 in a simplified format to help developers and service providers implement the protocol.