The ragtime-projects
repo contains projects built using Ragtime 🎹.
Make sure you have already installed the Ragtime 🎹 package. If not, just run:
pip install ragtime
If you want to modify the ragtime-package
then you will want to install it as an editable version. In this case, go to the base folder of ragtime-package
and run in the shell:
pip install -e .
(don't forget the last dot).
If you have an error (A "pyproject.toml" file was found, but editable mode currently requires a setup.py based build.)
, upgrade pip
.
Edit PROJECT_NAME
in the main.py
file and run it.
This will create a subfolder named according to PROJECT_NAME
containing:
- folder
expe
: contains 4 sub-folders containing the data which will be created at each step of your experiments - folder
logs
: the logs associated with your project - folder
res
: contains templates for the file exports classes.py
: your classes to define the Prompter and Retrievers you may usemain.py
: the file containing themain
function for your projectLICENSE
: MIT by default - don't forget to add you name / company in itREADME.md
: your project's doc.gitignore
At this point, don't forget to set PROJECT_NAME
in the main.py
in your project folder.
Several examples are given to illustrate how to use Ragtime 🎹:
Glad you wish to contribute! More details here.
If you are looking for the package, not the examples, it is here.
In this case, just call `ragtime.config.init_win_env' as detailed here