Skip to content

Python script which allows to import CSV file to Obsidian DataLoom format.

License

Notifications You must be signed in to change notification settings

qf3l3k/obsidian-dataloom-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

CSV to JSON Transformation Script

This is a Python script to convert CSV files into LOOM format that matches a given structure. The script takes an input CSV file and an output file name (.loom extension will be added if not provided) and produces the transformed LOOM file.

Requirements

  • Python 3.7 or higher

Setup

  1. Clone this repository or download the script.
  2. Set up a Python virtual environment:
    • Install the virtual environment package if it's not installed: pip install virtualenv
    • Create a new virtual environment: virtualenv venv
    • Activate the virtual environment:
      • On Windows: .\venv\Scripts\activate
      • On Linux/Mac: source venv/bin/activate
  3. Install the necessary Python packages with pip: pip install uuid

Usage

Run the script with the -i or --input parameter for the input CSV file and the -o or --output parameter for the output LOOM file.

Example:

python csv2loom.py -i input.csv -o output

This will create a file named output.loom in the same directory as the script.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Python script which allows to import CSV file to Obsidian DataLoom format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages