Skip to main content

Programatic control for RV6688BCM (or similar) router

⟹ Releases are here ⟸

This is library and CLI utils to control the router. It depends on python 3.5 and requests library.

See API in source code - it’s really simple and short.

CLI also have a --help for options =). You may start from this command: python router.pyz --help, where python must be python 3.5 or higher.

provides this output:

usage: router.pyz [OPTIONS] COMMAND [ARGS]...

Options:
  --ip TEXT        Router IP
  --user TEXT      Login name
  --password TEXT  Password
  --help           Show this message and exit.

Commands:
  calls   Calls operations
  nat     NAT operations
  router  Direct router operations

The router-control supports basic environment variables (in addition to command line arguments):

  • RC_IP - IP address to router

  • RC_USER - Login name to router (default: admin)

  • RC_PASSWORD - Password to router (default: admin)

Router operations

Usage: router.pyz router [OPTIONS] COMMAND [ARGS]...

  Direct router operations

Options:
  --help  Show this message and exit.

Commands:
  apply   Apply changes on the router
  export  Print details about router in json
  info    Print details about router

Example:

Command: python router.pyz --ip 192.168.100.1 router info

NAT operations

Usage: router.pyz nat [OPTIONS] COMMAND [ARGS]...

  NAT operations

Options:
  --help  Show this message and exit.

Commands:
  create   Create forwarding rule
  disable  Disable (but not remove) rule
  enable   Enable rule
  info     Print forwarding table
  remove   Remove forwarding rule
  rename   Rename forwarding rule
  update   Update forwarding record

Calls operations

Usage: router.pyz calls [OPTIONS] COMMAND [ARGS]...

  Calls operations

Options:
  --help  Show this message and exit.

Commands:
  export  Print calls history in JSON
  info    Print calls history

Metadata

Release files for rvcm 1.0.8

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

Source distributions (sdists)

Source distribution for rvcm 1.0.8
File Size Uploaded Provenance Actions
rvcm-1.0.8.tar.gz 8.5 kB Without provenance Details for rvcm-1.0.8.tar.gz
rvcm-1.0.8.linux-x86_64.tar.gz 17.1 kB Without provenance Details for rvcm-1.0.8.linux-x86_64.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rvcm 1.0.8
File Interpreter ABI Platform Actions
rvcm-1.0.8-py3.5.egg Legacy Egg format - - Details for rvcm-1.0.8-py3.5.egg

Total release size: 54.4 kB

Release files / rvcm-1.0.8.tar.gz

Download URL rvcm-1.0.8.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4f638f07643462d00add8246b5d46d4d4858b586da36d2d3f8691d8e5e2b62eb
BLAKE2b-256 checksum
How to use checksums
a497b19b8675a7fc3c9675105b43e27ae4c10be824178dd3b7ebb67836c744c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rvcm-1.0.8.linux-x86_64.tar.gz

Download URL rvcm-1.0.8.linux-x86_64.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
39a6c143317387f9fa65ee791d14405adf6117f0407ed3ffe57bde8ed5be749c
BLAKE2b-256 checksum
How to use checksums
8d0da11b174abe8bd680f039d548ff04b7ad018f71b8f67a2445d93780a55bd8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / rvcm-1.0.8-py3.5.egg

Download URL rvcm-1.0.8-py3.5.egg
Size 28.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
7e703f396dd8a6cb73848e3832141a97101ec5de9c91472be079b86552f76b83
BLAKE2b-256 checksum
How to use checksums
13f8b490757ee0df345b13fc4e3931882d28c8ddcbd7c9841fafb3501a4458db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rvcm 1.0.8

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.

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