Kimsufi Checker
Tool to check Kimsufi (OVH) availability and execute actions when a plan is available or not available.
Install
To install Kimsufi Checker from PyPI simply run
$ pip3 install -U --user kimsufichecker
$ kimsufi-checker --help
To install it from the git repository, ensure you installed Poetry first:
$ pip3 install -U --user poetry
$ pip3 install --user git+https://github.com/essembeh/kimsufi-checker
$ kimsufi-checker --help
To install it in a virtualenv
$ pip3 install -U --user poetry
$ git clone https://github.com/essembeh/kimsufi-checker
$ cd kimsufi-checker
$ poetry install
$ poetry run kimsufi-checker --help
--or--
$ poetry shell
(.venv) $ kimsufi-checker --help
Usage
$ kimsufi-checker --help
usage: kimsufi-checker [-h] [-s SECONDS] [-z ZONE] [-x COMMAND] [-X COMMAND]
[-1]
[plans [plans ...]]
tool to perform actions when Kimsufi availabilty changes
positional arguments:
plans plans to check, example 1801sk13 or 1801sk14
optional arguments:
-h, --help show this help message and exit
-s SECONDS, --sleep SECONDS
duration (in seconds) between checks, default: 60
-z ZONE, --zone ZONE check availability in specific zones (example: rbx or
gra)
-x COMMAND, --available COMMAND
command to execute when plan becomes available
-X COMMAND, --not-available COMMAND
command to execute when plan is not available anymore
-1, --execute-on-init
execute -x/-X action on first check, by default
actions are run when plan status change
Example
To list all plan identifiers and all zone identifiers, use kimsufi-checker without argument
$ kimsufi-checker
List of plans:
150cagame1
150cagame2
150game1
150game2
1623hardzone1
[...]
List of zones:
bhs
fra
gra
[...]
If you want to be notified by SMS using the Free Mobile SMS API when plans 1801sk13 or 1801sk14 are available in France or Canada by checking every 10 minutes, use this command:
$ kimsufi-checker \
--sleep 600 \
--zone rbx \
--zone gra \
-x 'curl "https://smsapi.free-mobile.fr/sendmsg?user=123456789&pass=MYPASSWORD&msg=Kimsufi%20{plan}%20available"' \
-X 'curl "https://smsapi.free-mobile.fr/sendmsg?user=123456789&pass=MYPASSWORD&msg=Kimsufi%20{plan}%20not%20available"' \
1801sk13 1801sk14
Note: replace
123456789andMYPASSWORDwith your own Free Mobile credentials.
Metadata
Release files for kimsufichecker 1.1.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 | Provenance | |
|---|---|---|---|---|
| kimsufichecker-1.1.0.tar.gz | 8.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kimsufichecker-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.3 kB
Release files / kimsufichecker-1.1.0.tar.gz
| Download URL | kimsufichecker-1.1.0.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e4d37a0c805d7c55ae642996fa081978fc61d3da55be8fc2f05a58671301a31
|
|
BLAKE2b-256 checksum How to use checksums |
b94bad971d5092be2f30f1ce497a68ebf2df1f827f572a4672d2de95b2918315
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.7.3 Linux/5.8.0-0.bpo.2-amd64
|
Release files / kimsufichecker-1.1.0-py3-none-any.whl
| Download URL | kimsufichecker-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51914c4c2d9efc2c00b3524b8c1c52eb644ccceea78ebf268897487a130bdee5
|
|
BLAKE2b-256 checksum How to use checksums |
44215899a16499b097415531f7ebb04bf4784f217c27cf02f9019c350d7f3a5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.4 CPython/3.7.3 Linux/5.8.0-0.bpo.2-amd64
|
Security for kimsufichecker 1.1.0
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.