{"id":30699920,"url":"https://github.com/econcz/pydatau","last_synced_at":"2025-12-30T21:32:13.245Z","repository":{"id":311277785,"uuid":"496626691","full_name":"econcz/pydatau","owner":"econcz","description":"Expandable module of statistical data utilities","archived":false,"fork":false,"pushed_at":"2025-08-23T17:16:33.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-23T19:46:44.851Z","etag":null,"topics":["ampl","gams","julia","jupyter","matlab","octave","pypi","python3","r","stata","statistical-data","utilities"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/econcz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-05-26T13:14:41.000Z","updated_at":"2025-08-23T17:16:37.000Z","dependencies_parsed_at":"2025-08-23T19:46:46.751Z","dependency_job_id":"0b1b7d43-e199-4d1b-b393-eadff23ea02f","html_url":"https://github.com/econcz/pydatau","commit_stats":null,"previous_names":["econcz/pydatau"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/econcz/pydatau","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/econcz%2Fpydatau","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/econcz%2Fpydatau/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/econcz%2Fpydatau/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/econcz%2Fpydatau/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/econcz","download_url":"https://codeload.github.com/econcz/pydatau/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/econcz%2Fpydatau/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273279791,"owners_count":25077318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ampl","gams","julia","jupyter","matlab","octave","pypi","python3","r","stata","statistical-data","utilities"],"created_at":"2025-09-02T11:43:12.391Z","updated_at":"2025-12-30T21:32:13.218Z","avatar_url":"https://github.com/econcz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DATAU - Batch Statistical Data Utilities\n\nCross-platform batch runner for statistical and numerical files.\n\n## Installation\n\n```bash\npip install pydatau\n```\n\n## Quick example\npython:  \n```python\nfrom datau import autorun\n\nautorun(path_data=\"my_project/data\", pattern='master', log_limit=1)\n```\nbash:  \n```bash\ndatau \"my_project/data\" -p \"master\" -l 1\n```\n\n## Supported Extensions and Execution Method\n\n| Extension | Language/Tool    | Method                      |\n|-----------|------------------|-----------------------------|\n| `.ipynb`  | Jupyter Notebook | `papermill`                 |\n| `.R`      | R                | `rpy2.robjects`             |\n| `.do`     | Stata            | Stata batch mode            |\n| `.jl`     | Julia            | `julia` (must be in PATH)   |\n| `.gms`    | GAMS             | `gams` (must be in PATH)    |\n| `.run`    | AMPL             | `ampl` (must be in PATH)    |\n| `.m`      | MATLAB/Octave    | `matlab.engine` or `Oct2Py` |\n\n## User Reference\n\n```python\nautorun(path_data='...', pattern='...', *args, **kwargs)\n```\n\nAutomatically runs matching statistical scripts in the given directory. Generates a number of `.log` files with outputs for each executed file.\n\n**Parameters:**  \n\n`path_data` : *str*, default = *current working directory*  \nPath to the directory with input files.\n\n`pattern` : *str*, optional  \nRegex pattern to match filenames (not paths), such as *'master'*. Case-insensitive.\n\n`date_fmt` : *str*, default = *'%Y%m%d_%H%M%S'*  \nDatetime format for *.log* filenames.\n\n`log_limit` : *int*, optional  \nIf 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*.\n\n`use_powershell` : *bool*, default = *False*  \nIf *True*, redirects via PowerShell on Windows. Ignored on POSIX.\n\n## License\n\nMIT License — see the [LICENSE](LICENSE) file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feconcz%2Fpydatau","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feconcz%2Fpydatau","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feconcz%2Fpydatau/lists"}