OTDR .sor reader/converter
CLI per convertire file .sor da strumenti OTDR in .json o plot .html.
Installazione
Per installare il pacchetto, da terminale nella cartella che contiene il file wheel:
pip install \otdr_reader-0.2.8-py3-none-any.whl
modificando opportunamente la versione nel nome del file.
Attenzione che, per qualche motivo, non sempre funziona da PowerShell mentre sembra funzionare normalmente da command prompt.
Opzionalmente, da terminale PowerShell:
otdr_reader --install-completion
Command line interface
I comandi disponibili da command prompt sono:
otdr-reader fileotdr-reader folder
Di seguito le descrizioni dei singoli comandi.
otdr-reader file
Utilizzo:
$ otdr-reader [OPTIONS] FILE
Argomenti:
FILE: [required]
Opzioni:
--output TEXT. Default:html. Valori ammessi:html,json.--smooth INT. Default:0. Numero di campioni per la finestra della media mobile. Utilizzato solo per il plot.--logo / --no-logo. Default:--logo. Aggiunge logo Cohaerentia nel grafico.
Descrizione:
Comando per convertire un file .sor di un OTDR in un plot html o un file json. Il file verrà creato con stesso nome del .sor e nella stessa cartella.
otdr-reader folder
Utilizzo:
$ otdr-reader convert-folder [OPTIONS]
Opzioni:
--folder TEXT. Default: current folder.--output TEXT. Default:html. Valori ammessi:html,json.--target-folder TEXT. Default: sottocartellaconverted.--target-filename TEXT--smooth INT. Default:0. Numero di campioni per la finestra della media mobile. Utilizzato solo per il plot.--logo / --no-logo. Default:--logo. Aggiunge logo Cohaerentia nel grafico.
Descrizione:
Comando per convertire tutti i files .sor di un OTDR contenuti nella cartella FOLDER. Possono essere convertiti in files json (un file per ogni .sor) o in un singolo plot html.
Metadata
Release files for otdr-reader 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 | Provenance | Actions |
|---|---|---|---|---|
| otdr_reader-1.3.0.tar.gz | 388.5 kB | Without provenance | Details for otdr_reader-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| otdr_reader-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for otdr_reader-1.3.0-py3-none-any.whl |
Total release size: 777.7 kB
Release files / otdr_reader-1.3.0.tar.gz
| Download URL | otdr_reader-1.3.0.tar.gz |
|---|---|
| Size | 388.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ed01d1dde299ebe024c1ce2c4c94a19863428f95f4e137dbe966d8afd1f48226
|
|
BLAKE2b-256 checksum How to use checksums |
4a294300ac42da96d3f3905dcac17c80c8b2da8295337ccb052cfc838ddcd9c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.9 Windows/11
|
Release files / otdr_reader-1.3.0-py3-none-any.whl
| Download URL | otdr_reader-1.3.0-py3-none-any.whl |
|---|---|
| Size | 389.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b40525c0435d00f72085d6f2b9470aad3f75eb59b5348a23903f20e5f81205b
|
|
BLAKE2b-256 checksum How to use checksums |
cdc35e27ce1a36ecde0092fa7902f6f734fde75d76d14096eaa7e1b51b1cd2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.2 CPython/3.12.9 Windows/11
|
Security for otdr-reader 1.3.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.