Expandable module of statistical data utilities
Reason this release was yanked:
minor errors in code
Project description
DATAU - Batch Statistical Data Utilities
Cross-platform batch runner for statistical and numerical files.
Installation
pip install pydatau
Quick example
python:
from datau import autorun
autorun(path_data="my_project/data", pattern='master', log_limit=1)
bash:
datau --path "my_project/data" --pattern "master" --log-limit 1
Supported Extensions and Execution Method
| Extension | Language/Tool | Method |
|---|---|---|
.ipynb |
Jupyter Notebook | papermill |
.R |
R | rpy2.robjects |
.do |
Stata | Stata batch mode |
.jl |
Julia | julia (must be in PATH) |
.gms |
GAMS | gams (must be in PATH) |
.run |
AMPL | ampl (must be in PATH) |
.m |
MATLAB/Octave | matlab.engine or Oct2Py |
User Reference
autorun(path_data='...', pattern='...', *args, **kwargs)
Automatically runs matching statistical scripts in the given directory. Generates a number of .log files with outputs for each executed file.
Parameters:
path_data : str, default = current working directory
Path to the directory with input files.
pattern : str, optional
Regex pattern to match filenames (not paths), such as 'master'. Case-insensitive.
date_fmt : str, default = '%Y%m%d_%H%M%S'
Datetime format for .log filenames.
log_limit : int, optional
If set, limits the number of log files per script. Older logs beyond this limit will be deleted. Please note that you can turn off logging by setting log_limit to 0.
use_powershell : bool, default = False
If True, redirects via PowerShell on Windows. Ignored on POSIX.
License
MIT License — see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydatau-1.0.2.tar.gz.
File metadata
- Download URL: pydatau-1.0.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cba479ee867b0623eeabf56415008e720ead679185a59a552a97d619c7075754
|
|
| MD5 |
b484aedb2462b11b6da40eb9d3262062
|
|
| BLAKE2b-256 |
9201e8e14370757bcec59b53e9380657e0d0c1d94c1a468637df05773dc7f06a
|
File details
Details for the file pydatau-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pydatau-1.0.2-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1f75923ae3fdbb70843275b12f47716ddad816a819dfa8ccd1f5556b2b51b0b
|
|
| MD5 |
7b9dede5979c4c57ec620d5dc6a34956
|
|
| BLAKE2b-256 |
9c207ea73ae37ddbdd03f51f92579c2130f9b3345aad26bf8ba0b22fd3ec32c9
|