semvec/pypi-packages huggingface dataset:
parsetabtolatex 0.0.3
A parsetab.py parser that generates .tex file
Requires Python: >=3.5
Keywords: ply grammar LaTeX parser

*parsetabtolatex* parses an output file of [ply](https://www.dabeaz.com/ply/) and extracts the grammar into a .tex file using the grammar environment provided by the [syntax](http://texdoc.net/texmf-dist/doc/latex/mdwtools/syntax.pdf) LaTeX package.

|               Author |     License | Homepage                                                      |
|----------------------|-------------|---------------------------------------------------------------|
Maria Climent-Pommeret | MIT Licence | https://gitlab.climent-pommeret.red/Chopopope/parsetabtolatex |


Installation
------------

Please run the following command in a virtual environment using Python3.5

    pip install parsetabtolatex

Usage example
-------------

    In[1]: from parsetabtolatex import parsetabtolatex as pl

    In[2]: pl.ParseTabToLatatex("/tmp/partetab.py", "/tmp/grammar.tex").generate_latex()
hivehoney 1.0.4
Client-less data retrieval from Hive.

# hivehoney
Extract data from remote Hive to local Windows OS (without Hadoop client).

The most difficult part was figuring out expect+pbrun.

Because there are 2 interactive questions I had to pause after password.

 

Mode expect+pbrun details are here: https://github.com/hive-scripts/hivehoney/blob/master/expect_pbrun_howto.md

 
 

## Data access path.
```
Windows desktop->
               SSH->
                  Linux login->
                       pbrun service login->
                                           kinit
                                           beeline->
                                                   SQL->
                                                       save echo on Windows
                                
```
 

 

## Run it like this:

 
```
set PROXY_HOST=your_bastion_host

set SERVICE_USER=you_func_user

set LINUX_USER=your_SOID

set LINUX_PWD=your_pwd

python hh.py --query_file=query.sql
```
 

### query.sql

select * from gfocnnsg_work.pytest LIMIT  1000000;  
 

## Result:

 

      TOTAL BYTES:    60000127

      Elaplsed: 79.637 s

      exit status:  0

      0

      []

      TOTAL Elaplsed: 99.060 s

 

### data_dump.csv

 

      c:\tmp>dir data_dump.csv



      Directory of c:\tmp

      09/04/2018  12:53 PM        60,000,075 data_dump.csv

                     1 File(s)     60,000,075 bytes

                     0 Dir(s)     321,822,720 bytes free