Skip to content

About

Transform raw data into publishable results using Python (Pandas) Tex to PDF

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data2Paper Generator Python Version

Support

  • Windows & Linux
  • .csv
  • .xls
  • .xlxs
  • .ods
  • .json
  • .jsonc
  • .jsonl
  • .h5
  • .feather
  • .parquet

Ouput

  • .pdf

How to use

Windows (cmd/ps)

Setup:

open this repo with terminal

Directory:

cd doc

Install Chocolatey: (optional: if you already have or download directly from website skip this)

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

Install MiKTeX:

https://miktex.org/download

Or with choco:

choco install miktex

Install Python: (if you already have skip this or download directly from website)

choco install python

Dependencies:

pip install -r requirements.txt

Compiling:

.\compile_report.bat your_data_file.with_extension

Example:

.\compile_report.bat data_ekonomi.csv

Linux (wsl/unix)

Setup:

cd to this repo

Directory:

cd doc

Update:

sudo apt update

Install Tex:

sudo apt install texlive-full biber

Or if you want spesific:

sudo apt install texlive-latex-base texlive-bibtex-extra biber

Install Python: (if you already have skip this)

sudo apt install python3 python3-pip

Install Dependencies:

pip install numpy pandas pyarrow tables odfpy h5py fastparquet openpyxl

Permission:

chmod +x compile_report.sh

Compiling:

./compile_report.sh your_data_file.with_extension

Example:

./compile_report.sh data_ekonomi.csv

For binary data you can make the dummy with:

python ..\src\create_binary_data.py

And you customize your binary data at create_binary_data.py

Data input is located at \data (here is your data source for python process it)

Build output (pdf) is located at \build


Customize:

edit your journal at 'artikel.tex'
edit your references at 'references.bib'

About

Transform raw data into publishable results using Python (Pandas) Tex to PDF

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages