vk_dev
Localizations:
Info
What true convenience is?
You have a lot of doorways to try amazing python package for developing with API VKontakte. By using the flavor of python this library let you write on readable style without complications when need write fast or when you are at 0 days and refactor your project conveniencly and with idea.
Installation
pip3 install vk_dev
Example
import vk_dev
api = vk_dev.Api(
token='token',
group_id=192979547,
v=5.103
)
lp = api >> vk_dev.LongPoll()
## You can create own decorators
@vk_dev.cond.Path('direct')
@vk_dev.cond.Prefix('/', '.')
@lp.message_new()
async def reaction(event, pl):
"""
This function will work if
message was sended to direct and
starts at `/` or `.`
"""
## Send response to the interlocutor
await api.messages.send(
peer_id=event.object.message.peer_id,
message='Hello there',
random_id=vk_dev.random_id()
)
if __name__ == '__main__':
lp()
Documentation
Metadata
Release files for vk-dev 3.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| vk_dev-3.0.1.tar.gz | 9.9 kB | Without provenance | Details for vk_dev-3.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vk_dev-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for vk_dev-3.0.1-py3-none-any.whl |
Total release size: 26.5 kB
Release files / vk_dev-3.0.1.tar.gz
| Download URL | vk_dev-3.0.1.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c303a65221f0dcfd9bc6c367ace77fd477dab17dd05d7145ea18c4eaa9212fd0
|
|
BLAKE2b-256 checksum How to use checksums |
e77f5b8acc7465fb36bd1d3ac6ea3f282618602d4f284c3b98dd8579cf6570d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / vk_dev-3.0.1-py3-none-any.whl
| Download URL | vk_dev-3.0.1-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e1d3027efb756052c3882ac8ed74375dd9b04b1809774f91f689cd7a556d81a
|
|
BLAKE2b-256 checksum How to use checksums |
76de430bbb5a9209fce6f57cc8dba812b1aa1350437e4d749ad7da576fd311db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Security for vk-dev 3.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.