Experience RDEToolKit
Purpose
This tutorial will guide you through creating and running your first RDE structured processing project using RDEToolKit. You can experience the basic structured processing workflow in approximately 15 minutes.
Prerequisites
- Python 3.9 or higher
- Basic Python programming knowledge
- Basic understanding of command-line operations
1. Initialize the Project
Create a new RDE structured processing project:
1 |
|
1 |
|
This command creates the following directory structure:
1 2 3 4 5 6 7 8 9 10 11 |
|
Description of Generated Files
- requirements.txt: Python dependencies for your structured processing
- modules/: Directory for custom processing modules
- main.py: Entry point for the structured processing program
- data/inputdata/: Place input data files here
- data/invoice/: Contains invoice.json (required for local execution)
- data/tasksupport/: Schema and metadata definition files
File Overwriting
Existing files will not be overwritten. You can run this command safely.
2. Implement Custom Processing
Edit the main.py
file to implement your custom structured processing function:
main.py | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
|
3. Add Input Data
Place your data files in the data/inputdata/
directory:
Example: Copy Data File | |
---|---|
1 2 |
|
4. Execute Structured Processing
Run the structured processing:
1 2 |
|
1 2 |
|
During execution, you will see output similar to:
1 2 |
|
5. Verify Results
After successful execution, the following output structure will be generated:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
Output Directory Descriptions
- raw/: Copy of input data
- structured/: Processed data
- meta/: Metadata files
- logs/: Execution logs
Congratulations!
You have successfully completed your first structured processing project using RDEToolKit. You have achieved the following:
- ✅ Project initialization
- ✅ Custom processing function implementation
- ✅ Structured processing execution
- ✅ Result verification
Next Steps
Now that you have experienced basic structured processing, learn about the following topics:
- Understand Structured Processing Concepts
- Explore Configuration Options
- Learn about Processing Modes
- Check CLI Reference for advanced commands