Skip to main content

VK CLI

Call VK API methods from terminal.

Installation

Install with pip

  pip install vk-cli

Usage

Help

> vk -h
Usage: python -m vk [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help  Show this message and exit.

Commands:
  api      Call the API
  profile  Proile commands
  shell    start shell

Create new profile

vk profile new --access-token <VK TOKEN>

API call

vk api users.get user_id=1

Shell

Run Shell

vk shell

Shel is it interactive python shell, but you can call to api vk

>>> response = API.users.get(user_id=1)
>>> user = user["response"][0]
>>> print(user["first_name"], user["last_name"], sep=" ")
Павел Дуров

Metadata

Release files for vk-cli 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vk-cli 0.1.1
File Size Uploaded Provenance Actions
vk-cli-0.1.1.tar.gz 4.5 kB Without provenance Details for vk-cli-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vk-cli 0.1.1
File Interpreter ABI Platform Actions
vk_cli-0.1.1-py3-none-any.whl Python 3 none any Details for vk_cli-0.1.1-py3-none-any.whl

Total release size: 9.9 kB

Release files / vk-cli-0.1.1.tar.gz

Download URL vk-cli-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
679553ae69d7ffb883af8497904cb7ecf81eff312e50f7b0d55f1f8dce3561d4
BLAKE2b-256 checksum
How to use checksums
e8255e95151fe1500b483f7e795d7091bc8fe465c165a69bcbbcf54c106212c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.9.10 Windows/8.1

Release files / vk_cli-0.1.1-py3-none-any.whl

Download URL vk_cli-0.1.1-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
67c07248e0b77fbfc1bdcf1cfbde96391736eb80370fcdf901a55e9133e4ebd9
BLAKE2b-256 checksum
How to use checksums
eb6d548796ae37a5a388e7ef4ab9243ab5ee62d12b7222aca575e538e945c10c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.14 CPython/3.9.10 Windows/8.1

Security for vk-cli 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page