Skip to content

Instantly share code, notes, and snippets.

@syershov
syershov / test.py
Created February 12, 2019 17:56
explore python
from collections import Counter
class NamedCounter:
__slots__ = ("_holder",)
class Define:
@staticmethod
def value(fn):
name = fn.__name__
{
"reports": [
{
"measurements": [
{
"location": {
"speedmetric": "KilometersPerHour",
"coordinates": [
65.2345,
37.1534,