Skip to content

Stand-alone GUI for converting NumPy .npy files to MATLAB .mat files and Comma-Separated Values .csv files.

License

Notifications You must be signed in to change notification settings

pipx2/npyConverter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npyConverter

A simple GUI tool for converting NumPy .npy files to:

  • MATLAB .mat files, and
  • Comma-Separated Values .csv files.

Features

  • Batch Conversion: Convert all .npy files in a directory to either .mat or .csv format in one go.
  • Logging: Keep track of conversion processes and errors in the console.

Usage

GUI

Download the GUI executable file here: https://nppd.se/npyConverter/npyConverter.exe

GUI

  • Browse and select the input directory containing the .npy files.
  • Browse and select the target output directory.
  • Choose output file format, either .mat or .csv.
  • Click the Convert button to start the conversion process.
  • Click the Cancel button to close the application.
  • Click the Contact Info button to view the creator's contact information.

When the conversion is finalized, the console will look something like this:

Console

Commande Line Interface

  1. Clone the repository:
git clone https://github.com/ekvll/npyConverter.git
cd npyConverter
  1. Run the application:
python npyconverter/main.py

From here, follow the steps detailed under the GUI section.

Requirements

You can install the required packages using the following command:

pip install -r requirements.txt

Build Executable

To build the executable yourself, run:

pyinstaller npyconverter.spec

This assumes that you have the necessary requirements installed.

Contribute

Contributions are welcome! If you would like to contribute to this project, please follow these steps:

  1. Fork the Repository:

    Click the "Fork" button at the top right corner of this repository to create a copy of the repository in your GitHub account.

  2. Clone Your Fork:

    Clone your forked repository to your local machine:

    git clone https://github.com/ekvll/npyConverter.git
    cd npyConverter
  3. Create a Branch:

    Create a new branch for your feature or bug fix:

    git checkout -b feature-or-bugfix-name
  4. Make Your Changes:

    Make the necessary changes to the codebase.

  5. Commit Your Changes:

    Commit your changes with a descriptive commit message:

    git add .
    git commit -m "Description of the changes made"
  6. Push to Your Fork:

    Push your changes to your forked repository:

    git push origin feature-or-bugfix-name
  7. Create a Pull Request:

    Go to the original repository on GitHub and click the "New Pull Request" button. Select your branch from the "compare" dropdown and submit the pull request.

Contact

For any questions or support, please contact:

Erik Lindvall

Email: [email protected]

About

Stand-alone GUI for converting NumPy .npy files to MATLAB .mat files and Comma-Separated Values .csv files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages