{"id":14437131,"url":"https://github.com/ntoll/microfs","last_synced_at":"2025-09-22T08:50:34.110Z","repository":{"id":46225610,"uuid":"59915607","full_name":"ntoll/microfs","owner":"ntoll","description":"A simple command line tool and module for interacting with the simple filesystem on the BBC micro:bit.","archived":false,"fork":false,"pushed_at":"2023-05-29T18:40:32.000Z","size":124,"stargazers_count":40,"open_issues_count":14,"forks_count":18,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-01T22:15:16.675Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ntoll.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS"}},"created_at":"2016-05-28T21:43:09.000Z","updated_at":"2025-01-15T16:02:23.000Z","dependencies_parsed_at":"2024-01-07T18:07:23.071Z","dependency_job_id":null,"html_url":"https://github.com/ntoll/microfs","commit_stats":{"total_commits":57,"total_committers":4,"mean_commits":14.25,"dds":0.3157894736842105,"last_synced_commit":"3c28361fe85fe294914f5b2e87798b4b4a00e43b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ntoll/microfs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntoll%2Fmicrofs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntoll%2Fmicrofs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntoll%2Fmicrofs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntoll%2Fmicrofs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ntoll","download_url":"https://codeload.github.com/ntoll/microfs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ntoll%2Fmicrofs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259747215,"owners_count":22905310,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-31T08:00:23.889Z","updated_at":"2025-09-22T08:50:29.080Z","avatar_url":"https://github.com/ntoll.png","language":"Python","funding_links":[],"categories":["编程","🐍 Python"],"sub_categories":["Python","🐍 Python Tools"],"readme":"MicroFS\n-------\n\nA simple command line tool and module for interacting with the limited\nfile system provided by MicroPython on the BBC micro:bit.\n\nInstallation\n++++++++++++\n\nTo install simply type::\n\n    $ pip install microfs\n\n...and the package will download from PyPI. If you wish to upgrade to the\nlatest version, use the following command::\n\n    $ pip install --no-cache --upgrade microfs\n\nUsage\n+++++\n\nThere are two ways to use microfs - as a module in your Python code or as a\nstand-alone command to use from your shell (``ufs``).\n\nIn Code\n=======\n\nIn your Python script import the required functions like this::\n\n    from microfs import ls, rm, put, get, get_serial\n\nRead the API documentation below to learn how each of the functions works.\n\nCommand Line\n============\n\nFrom the command line (but not the Python shell) use the \"ufs\" (\"u\" = micro)\ncommand.\n\nTo read the built-in help::\n\n    $ ufs --help\n\nList the files on the device::\n\n    $ ufs ls\n\nYou can also specify a delimiter to separte file names displayed on the output (default is whitespace ' ')::\n\n    # use ';' as a delimiter\n    $ ufs ls ';'\n\nDelete a file on the device::\n\n    $ ufs rm foo.txt\n\nCopy a file onto the device::\n\n    $ ufs put path/to/local.txt\n\nGet a file from the device::\n\n    $ ufs get remote.txt\n\nThe ``put`` and ``get`` commands optionally take a further argument to specify\nthe name of the target file::\n\n    $ ufs put /path/to/local.txt remote.txt\n    $ ufs get remote.txt local.txt\n\nDevelopment\n+++++++++++\n\nThe source code is hosted in GitHub. Please feel free to fork the repository.\nAssuming you have Git installed you can download the code from the canonical\nrepository with the following command::\n\n    $ git clone https://github.com/ntoll/microfs.git\n\nEnsure you have the correct dependencies for development installed by creating\na virtualenv and running::\n\n    $ pip install -r requirements.txt\n\nTo locally install your development version of the module into a virtualenv,\nrun the following command::\n\n    $ python setup.py develop\n\nThere is a Makefile that helps with most of the common workflows associated\nwith development. Typing \"make\" on its own will list the options thus::\n\n    $make\n\n    There is no default Makefile target right now. Try:\n\n    make clean - reset the project and remove auto-generated assets.\n    make pyflakes - run the PyFlakes code checker.\n    make pep8 - run the PEP8 style checker.\n    make test - run the test suite.\n    make coverage - view a report on test coverage.\n    make check - run all the checkers and tests.\n    make package - create a deployable package for the project.\n    make publish - publish the project to PyPI.\n    make docs - run sphinx to create project documentation.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntoll%2Fmicrofs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fntoll%2Fmicrofs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fntoll%2Fmicrofs/lists"}