SPARC Dataset Creation
A package to help with creating SPARC datasets. Currently, support is available to create scaffold based SPARC datasets.
Install
SPARC dataset tools can be installed from PyPi.org with the following command:
pip install sparc-dataset-tools
Usage
How to use (can also be found using create-scaffold-dataset -h):
usage: create-scaffold-dataset [-h] dataset_dir mesh_config_file argon_document
Create a Scaffold based SPARC dataset from a scaffold description file and an Argon document.
positional arguments:
dataset_dir |
root directory for new dataset. |
mesh_config_file |
mesh config json file to generate scaffold. |
argon_document |
argon document file to generate webGL files. |
optional arguments:
-h, –help |
show this help message and exit |
Run
To run the application create a virtual environment.
python -m venv venv_sparc
Activate the virtual environment:
source venv_sparc/bin/activate
For bash shells, or:
venv_sparc\Scripts\activate
For a windows cmd prompt.
With the activated virtual environment install the package.
pip install sparc-dataset-tools
Then execute the application to print out the usage information to test the script.
create-scaffold-dataset -h
Examples:
create-scaffold-dataset <dataset_dir> <mesh_config_file> <argon_document>
License
Copyright 2022 University of Auckland
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Metadata
Release files for sparc-dataset-tools 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sparc_dataset_tools-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for sparc_dataset_tools-0.2.5-py3-none-any.whl |
Release files / sparc_dataset_tools-0.2.5-py3-none-any.whl
| Download URL | sparc_dataset_tools-0.2.5-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
374ea5e90fc4a5bc75d55a0520eec99544b42a1e794402103bbe68e3f64e6f2d
|
|
BLAKE2b-256 checksum How to use checksums |
02806f772add885a9e559659dba58be03666cb94286dcd280fd92e663b40b180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for sparc-dataset-tools 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.