-
Notifications
You must be signed in to change notification settings - Fork 0
SFJohnson24/rule_operator_CLI
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
`git clone` this repo to a directory on your machine using the green <code> button and copying the url that is presented
To run this script, in the command terminal, first set up python virtual environment
(python 3.12.5 was used for this, I have not tested for older version compatibility)
set up python virtual environment
`python -m venv myenv`
Then active the virtual environment:
windows: `myenv\Scripts\activate`
linux/mac: `source myenv/bin/activate`
Then install dependencies:
`pip install PyYAML openpyxl`
To run the script:
navigate to https://rule-editor.cdisc.org/ and export all rules
create a folder `Rules` in the git repo root directory and put the rule yml files into the Rules folder of this repo
run command `python CLI.py -f ./Rules` in the CLI (ensure you have activated the virtual environment prior to this)
gitAbout
A small python script to scrape and consolidate exported CDISC rules for their operator and rule type into an excel document
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published