Python tool for SAKURA Secure Mobile Connect
What is this
このツールは、 さくらのクラウド のAPIを利用して、 セキュアモバイルコネクト のSIMを管理するためのPythonツールです。
SIMの登録、有効化、無効化、登録解除などができます。
How To use
Install
$ pip install ssmc
Usage
import ssmc
api = ssmc.APIClient(token=_token_, secret=_secret_, zone="is1b")
# List MGWs
mgws, _ = api.list_mgws()
print(mgws)
開発者向けメモ
テストについて
さくらのクラウドのテスト用のゾーン(tk1v) がセキュアモバイルコネクトに対応していないようなので、 ひとまず、プライベートリポジトリで実際のICCIDなどを使ってテストしています。
ドキュメント
$ pip install -r requirements-dev.txt
$ cd docs
$ make html
Metadata
Release files for ssmc 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ssmc-1.3.0.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ssmc-1.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 28.1 kB
Release files / ssmc-1.3.0.tar.gz
| Download URL | ssmc-1.3.0.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b23e4e9da6aa24caf03a5116cfe6b65e84171a50ac778d81781506028d902fe2
|
|
BLAKE2b-256 checksum How to use checksums |
d3a086485cd8fc4b96d8d090d9fbf592d8c3633af20c5a88e89aaf0915483ccd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0
|
Release files / ssmc-1.3.0-py2.py3-none-any.whl
| Download URL | ssmc-1.3.0-py2.py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
732aaf188e7b6f2c1767de29e1350c069399b69173ed3856f455eeb7970a3565
|
|
BLAKE2b-256 checksum How to use checksums |
c190cf2e3884aebc795d1aa061efaca6835b1b55fb1757b7c2bf897795f65258
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.0
|