semvec/pypi-packages huggingface dataset:
afivmax 0.3.0
Interview problem of Ant Fin

# afivmax

[![Build Status](https://travis-ci.com/eggachecat/afivmax.svg?branch=master)](https://travis-ci.com/eggachecat/afivmax)
[![PyPI version](https://badge.fury.io/py/afivmax.svg)](https://badge.fury.io/py/afivmax)
[![Coverage Status](https://coveralls.io/repos/github/eggachecat/afivmax/badge.svg?branch=master&kill_cache=1)](https://coveralls.io/github/eggachecat/afivmax?branch=master)
[![Documentation Status](https://readthedocs.org/projects/afivmax/badge/?version=latest)](https://afivmax.readthedocs.io/en/latest/?badge=latest)

# 安装
```pip install afivmax```

# 使用
```python
from afivmax.afivmax import afiv_max
# args
assert 3 == afiv_max(1, 2, 3)
assert 3 == afiv_max(3, 3, 3)


# args with key
assert 3 ==afiv_max(1, 2, 3, key=lambda x: x ** 2)
class TmpClass:
    def __init__(self, x):
        self.val = x
assert 9 == afiv_max(*[TmpClass(x) for x in range(10)], key=lambda x: x.val).val


# iterables
assert 3 == afiv_max([1, 2, 3])
assert 3 == afiv_max([3, 2, 1])
assert 3 == afiv_max([3])

# iterables with keys
assert 3 == afiv_max([1, 2, 3], key=lambda x: x ** 2)
assert 9 == afiv_max([TmpClass(x) for x in range(10)], key=lambda x: x.val).val

# iterables with default
assert 10 == afiv_max([], default=10), "iterable with default only"
```
sdc-api 0.2.1
An async wrapper for Server-Discord.Com API

sdc-api.py
==========

Installation
--------------

	pip install sdc-api


Quick Example
--------------

.. code:: py

	from sdc_api import SDC

	sdc = SDC('dKey')

	# Get guild, where you generated dKey
	guild = await sdc.get_guild()
	print(guild)

	# Get guild's place
	place = await guild.place()
	print("Place of server in SDC is %d" % place)

Usage
--------------

Get Guild

.. code:: py

	guild = await sdc.get_guild('id')

Get Guild Votes

.. code:: py

	guild = Guild(id='id')
	votes = await guild.get_votes()

.. code:: py

	votes = await sdc.get_guild_votes('id')

Get Guild Place

.. code:: py

	place = await sdc.get_guild_place('id')
	print("Place of server in SDC is %d" % place)

.. code:: py

	guild = await sdc.get_guild('id')
	place = await guild.place()
	print("Place of server in SDC is %d" % place)

Get User's Votes

.. code:: py

	user = User(id='id')
	votes = await user.get_votes()

.. code:: py

	votes = await sdc.get_user_votes('id')