# Install Redis Ubuntu
# https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-20-04-quickstart-ru


import redis

USERS_FUNDS = {}

result = redis.Redis()

# get
result.get("foo")

# set
result.set("qwe", 123)

# set on time
result.setex("qwerty", 1, "foobar")

# many set
result.mset({"Croatia": "Zagreb", "Bahamas": "Nassau"})

6d4000f4b76aa069de02fa88a9cee3c839b54fe8
<mask token>

<mask token>
result.get('foo')
result.set('qwe', 123)
result.setex('qwerty', 1, 'foobar')
result.mset({'Croatia': 'Zagreb', 'Bahamas': 'Nassau'})

<mask token>
USERS_FUNDS = {}
result = redis.Redis()
result.get('foo')
result.set('qwe', 123)
result.setex('qwerty', 1, 'foobar')
result.mset({'Croatia': 'Zagreb', 'Bahamas': 'Nassau'})

import redis
USERS_FUNDS = {}
result = redis.Redis()
result.get('foo')
result.set('qwe', 123)
result.setex('qwerty', 1, 'foobar')
result.mset({'Croatia': 'Zagreb', 'Bahamas': 'Nassau'})

# Install Redis Ubuntu
# https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-redis-on-ubuntu-20-04-quickstart-ru


import redis

USERS_FUNDS = {}

result = redis.Redis()

# get
result.get("foo")

# set
result.set("qwe", 123)

# set on time
result.setex("qwerty", 1, "foobar")

# many set
result.mset({"Croatia": "Zagreb", "Bahamas": "Nassau"})
