Skip to main content

Tools and wrappers to interface with PT-104 PicoLog® Data Loggers and files.

Project description

📑 Welcome to Pycotech!

pycotech offers tools and wrappers to interface with PT-104 PicoLog® Data Loggers and files, allowing you to easily build an end-to-end data processing pipeline in pure python.

This work would not have been possible without Martin Schröder's amazing wrapper around the usbpt104 C library for the Pico PT-104A RTD Data Acquisition Module. Don't hesitate to head over to his PT_104 Github repo to check out the original project and to drop a star! 🌟

🔥 Features

pycotech's suite of utility functions provides seamless integration of .PLW and .TXT files generated by traditional PicoTechnology® software - allowing you to handle, visualise, and convert between data-formats at will.

Pycotech also provides python command line alternatives to most of the principal PicoLog® software components. Namely, pycotech's plw-recorder allows you to bypass the PLW Recorder® data acquisition software and gather data directly from a number of PT-104 Data Loggers. Pycotech's plw-player substitutes instead the PicoLog® Player software, allowing you to read, convert, and extract data from existing .PLW files.


🚀 Quick Start

  1. 📚 Install pycotech like any other python package, using pip to download it from PyPI:

    python -m pip install pycotech
    
  2. 🐍 Now test your installation running the following minimal script:

    import pycotech
    
    df = pycotech.utils.read_plw("my_plw_file.PLW")
    
    print(df)
    
  3. 🎉 If everything went well you should now be properly set-up to use pycotech! Enjoy!

📟 CLI Tools

To use pycotech's command line tools, install pycotech as described above and then run any of the following:

  1. plw-player: converts .PLW files to .TXT

    plw-player -plw "my_plw_file.PLW"
    
    usage: plw-player [-h] -plw PLW [-txt TXT]
    
    optional arguments:
     -h, --help  show this help message and exit
     -plw PLW    input .PLW file
     -txt TXT    output .TXT file
    
  2. plw-recorder: continuous data acquisition from connected PT-104 Loggers:

    plw-recorder
    
    usage: plw-recorder [-h] [-dir DIR] [-r R]
    
    optional arguments:
    -h, --help  show this help message and exit
    -dir DIR    output logs directory
    -r R        logging rate (hours)
    

📚 Documentation

To learn more about the package head over to the official documentation !

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycotech-0.2.0.tar.gz (325.2 kB view details)

Uploaded Source

Built Distribution

pycotech-0.2.0-py3-none-any.whl (337.9 kB view details)

Uploaded Python 3

File details

Details for the file pycotech-0.2.0.tar.gz.

File metadata

  • Download URL: pycotech-0.2.0.tar.gz
  • Upload date:
  • Size: 325.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for pycotech-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7e178d3ef97ed3eb0608f942534559036519a42c6e9536554772570fc57845b4
MD5 40b420acb77afd96ec5a490b76c48795
BLAKE2b-256 c3d927c41b4af4b5a9a7f5b174da793d124c881e52182a01c91efe675d83c6e7

See more details on using hashes here.

File details

Details for the file pycotech-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pycotech-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 337.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for pycotech-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6ca274f3f7491a1651350a85e01c7ae7024ba121d7f48fd01526c6dc2890f968
MD5 508025025802be599500548af1e83b9b
BLAKE2b-256 bad4161db1469b1d108d62dc22b0d4c84ee92ab9aa62a496d605da126402b4be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page