https://github.com/datadavev/snark
Simply Normalizing ARKs
https://github.com/datadavev/snark
ark identifier
Last synced: about 1 year ago
JSON representation
Simply Normalizing ARKs
- Host: GitHub
- URL: https://github.com/datadavev/snark
- Owner: datadavev
- License: apache-2.0
- Created: 2021-08-07T10:32:42.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-28T23:16:24.000Z (over 3 years ago)
- Last Synced: 2025-02-02T09:27:16.489Z (over 1 year ago)
- Topics: ark, identifier
- Language: Python
- Homepage:
- Size: 94.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SNARK
Simply Normal [ARK](https://datatracker.ietf.org/doc/html/draft-kunze-ark-27)s
**Note: 2021-08-08 Not yet released.** The normalization rules are not verfiied and are subject to change.

[](https://github.com/datadavev/SNARK/workflows?query=workflow%3ACodeQL)
## Installation
Snark can be installed locally using `pipx`, for example:
```bash
pipx install git+https://github.com/datadavev/SNARK.git
```
Snark will then be available from the command line:
```bash
$ snark "https://example.org/ark:12345/x54xz321/s3/f8.05v.tiff"
ark:12345/x54xz321/s3/f8.05v.tiff
```
Snark has a local web UI as well:
```bash
$ snark -W
Snarking at http://localhost:20218/
```
## Development
SNARK uses [poetry](https://python-poetry.org/). To setup a development environment:
```bash
git clone https://github.com/datadavev/SNARK.git
cd SNARK
mkvirtualenv SNARK
poetry install
```
The `mkvirtualenv` step is optional. Without it, `poetry` will make something for you.