Git Product home page Git Product logo

numworksfs's Introduction

NumWorksFS

A FUSE to access the files from your NumWorks calculator right from the explorer

Prerequisite

This program uses upsilon-py, which means it also carries the same requirements. These are:

  • Have a working Node installation with NPM
  • Have upsilon.js installed. You can use the command npm install -g "upsilon.js@^1.4.1" usb

You must also:

  • Install the requirements: pip install -r requirements.txt

Usage

The simplest usage is simply:
python3 ./run.py "/path/to/mount"

Then, when you're done: umount "/path/to/mount"

To see the other options, simply run python ./run.py --help

Issues

Due to how upsilon-py works, it's impossible to setup automatic reconnection. Therefore, the FUSE is automatically closed during the first operation after the calculator is unplugged.

If you're interested as to why it's impossible, it's that the call to numworks.connect() is blocking, and it cannot be threaded or upsilon-py starts breaking down.
It would technically be possible to just wait for numworks.connect(), but that would mean entirely blocking IO as soon as the calculator is disconnected, which will most likely lead to your file explorer freezing until the calculator is plugged back in.

Licence

GNU General Public License version 2 (or later, at your option)

numworksfs's People

Contributors

matthieu-laurent39 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.