ATCom
ATCom is a command line tool to make AT command operations easier.
Installation
Use the package manager pip3 to install atcom.
pip3 install atcom
Usage
$ atcom [OPTIONS] AT_COMMAND
Examples
If you run atcom without --port parameter, the tool will scan available ports and select a valid modem if it can find.
$ atcom AT
or
$ atcom --port /dev/ttyUSB2 AT
Configuration File
You can create a configuration file for persist args. ATCom checks current directory first, reads args from config file if you have a configs.yml in ./ (current) directory. Also you can specify the path of configuration file with --config parameter.
The keys, config file can contain:
- port (str)
- baudrate (int)
- timeout (int)
- rts_cts (boolean)
- dsr_dtr (boolean)
- verbose (boolean)
Parameters
| need value | is required | default | description | |
|---|---|---|---|---|
| -p / --port | yes | yes, unless--auto flag | - | PORT of modem |
| -b / --baudrate | yes | no | 115200 | Baudrate of serial communication |
| -t / --timeout | yes | no | 3 | Communication timeout |
| -c / --config | yes | no | ./configs.yaml | Path of configurations file |
| -v / --verbose | no | no | - | Enable full log output |
| --rts-cts | no | no | - | Enable RTS-CTS mode |
| --dsr-dtr | no | no | - | Enable DSR-DTR mode |
License
Metadata
Release files for atcom 0.1.12
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 | |
|---|---|---|---|---|
| atcom-0.1.12.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| atcom-0.1.12-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / atcom-0.1.12.tar.gz
| Download URL | atcom-0.1.12.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fbebace9d1d6e848f9f328a182c4b254a392eb1b7322c3ad9c0fa9a9f7ec1694
|
|
BLAKE2b-256 checksum How to use checksums |
b957892d258f0da1be770b36b43337ed9e5bcacb752e533f90fe0ffb46c34ae3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
|
Release files / atcom-0.1.12-py2.py3-none-any.whl
| Download URL | atcom-0.1.12-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
251813a19c793e57ec39755d7801eefc5f94e4e1f97411f4d5a8cd7bef60c428
|
|
BLAKE2b-256 checksum How to use checksums |
c356967f81aa016775736edcd8f14eac955e24fe0358b6467ecea44576bdfe3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5
|
Security for atcom 0.1.12
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.