
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
RDEToolKit is a fundamental Python package for creating workflows of RDE-structured programs. By utilizing various modules provided by RDEToolKit, you can easily build processes for registering research and experimental data into RDE. Additionally, by combining RDEToolKit with Python modules used in your research or experiments, you can achieve a wide range of tasks, from data registration to processing and visualization.
See the documentation for more details.
If you wish to make changes, please read the following document first:
To install, run the following command:
pip install rdetoolkit
Below is an example of building an RDE-structured program.
First, prepare the necessary files for the RDE-structured program. Run the following command in your terminal or shell:
python3 -m rdetoolkit init
If the command runs successfully, the following files and directories will be generated.
In this example, development proceeds within a directory named container
.
pip install
as needed.container
โโโ data
โ โโโ inputdata
โ โโโ invoice
โ โ โโโ invoice.json
โ โโโ tasksupport
โ โโโ invoice.schema.json
โ โโโ metadata-def.json
โโโ main.py
โโโ modules
โโโ requirements.txt
You can process input data (e.g., data transformation, visualization, creation of CSV files for machine learning) and register the results into RDE. By following the format below, you can incorporate your own processing into the RDE structured workflow.
The dataset()
function should accept the following two arguments:
def dataset(srcpaths: RdeInputDirPaths, resource_paths: RdeOutputResourcePath):
...
In this example, we define a dummy function display_messsage()
under modules
to demonstrate how to implement custom structured processing. Create a file named modules/modules.py
as follows:
# modules/modules.py
def display_messsage(path_list):
print(f"Test Message!: {path_list}")
def dataset(srcpaths, resource_paths):
display_messsage(srcpaths)
display_messsage(resource_paths)
Next, use rdetoolkit.workflow.run()
to define the entry point. The main tasks performed in the entry point are:
import rdetoolkit
from modules.modules import dataset # User-defined structured processing function
# Pass the user-defined structured processing function as an argument
rdetoolkit.workflows.run(custom_dataset_function=dataset)
If you do not wish to pass a custom structured processing function, define as follows:
import rdetoolkit
rdetoolkit.workflows.run()
To debug or test the RDE structured process in your local environment, simply add the necessary input data to the data
directory. As long as the data
directory is placed at the same level as main.py
, it will work as shown below:
container/
โโโ main.py
โโโ requirements.txt
โโโ modules/
โ โโโ modules.py
โโโ data/
โโโ inputdata/
โ โโโ <experimental data to process>
โโโ invoice/
โ โโโ invoice.json
โโโ tasksupport/
โโโ metadata-def.json
โโโ invoice.schema.json
FAQs
A module that supports the workflow of the RDE dataset construction program
We found that rdetoolkit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.ย It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.