Metadata-Version: 2.1
Name: pybashutils
Version: 0.6.1
Summary: Cross-platform utilities for computer maintenance
Home-page: https://github.com/scivison/pybashutils
Author: Michael Hirsch, Ph.D.
License: UNKNOWN
Description: [![Zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.1252220.svg)](https://zenodo.org/record/1252220)
        [![Travis-CI](https://travis-ci.org/scivision/pybashutils.svg?branch=master)](https://travis-ci.org/scivision/pybashutils)
        [![Coverage](https://coveralls.io/repos/github/scivision/pybashutils/badge.svg?branch=master)](https://coveralls.io/github/scivision/pybashutils?branch=master)
        [![Maintainability](https://api.codeclimate.com/v1/badges/530575d7d1a47e7f3fa1/maintainability)](https://codeclimate.com/github/scivision/pybashutils/maintainability)
        [![pypi versions](https://img.shields.io/pypi/pyversions/pybashutils.svg)](https://pypi.python.org/pypi/pybashutils)
        [![pypi format](https://img.shields.io/pypi/format/pybashutils.svg)](https://pypi.python.org/pypi/pybashutils)
        [![PyPi Download stats](http://pepy.tech/badge/pybashutils)](http://pepy.tech/project/pybashutils)
        
        
        # Python-bash-matlab-octave-utils
        
        Collection of Bash and Python scripts I've made that may be generally
        useful
        
          function          description
          ----------------- -----------------------------------------------------------------------------
          h5tester.py       test HDF5 files for corruption--if the variable(s) have Fletcher 32 enabled
          cupd              update conda packages (well, the ones I use)
          checkIP           Sends you an email automatically if your IP address changes
          getIP.py          gets your public IP address (not the internal NAT address)
          findtext          find text inside files matching pattern.
          mx                mount network share example using SSHFS
          memfree.m         Estimates available RAM for Matlab/Octave under Windows, Mac, Linux
          checkRAM.m        check if a proposed N-D array with fit in available RAM (w/o swap)
          setup\_cmake.sh   setup latest CMake from source (without sudo)
        
        ## Prereq
        
            apt install sshfs g++ libncurses-dev make
        
        ## Install
        
            python -m pip install -e .
        
        ## Usage
        
        ### SSHFS mount/unmount
        
        1.  Mounting the "U" network drive at Boston University over SSHFS
            (slight modifications to the script allow using this anywhere)
        
            one time setup:
        
                mkdir ~/U
        
        2.  mount U drive to your PC, like "mounting a network drive" in
            Windows, here we assume the BU username is `jdoe`:
        
                mU jdoe
        
        and your network drive is available as \~/U
        
        3.  Unmounting the "U" drive. When done for the day, suggest unmounting
            in case to help mitigate security risks:
        
                uU
        
        Note: if you have any files open (like say a spreadsheet on the `~/U`
        drive), `~/U` will stay connected until you close that file(s).
        
        ### Get Public IP address
        
            getIP.py
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: tests
Provides-Extra: io
