Skip to main content

Sandia Injury Biomechanics Laboratory (SIBL)

Purpose

The Sandia Injury Biomechanics Laboratory analyzes injury due to blast, ballistics, and blunt trauma to help the nation protect the U.S. warfighter. Our contributions to the science of injury causation and prevention aim to significantly reduce the U.S. warfighter's exposure to serious, severe, and fatal injuries.

For more information, see our website.

Library

python license pypi CI coverage Code style: black

Prerequisites

  • Git
  • Conda

Workflow Choice

There are two workflows: Client and Developer

Client Developer
"I just want to use the library, I don't want to develop the library." "I want to use the library and develop the library."
Follow the Client Workflow Follow the Developer Workflow

Client Workflow

Setup with conda environment

Historical setup, with pip, now deprecated

Install from a terminal:

$ pip install xyfigure

If your computer does not have a network connection, install the WHL file (a Python package saved in Wheel format), which must can be obtained from Chad directly, or from here. Then

$ pip install --user xyfigure-0.0.n-py3-non-any.whl  # where n is the version number
$ pip install --user xyfigure-0.0.5-py3-non-any.whl  # version 5, for example

Verify installation: check that xyfigure is contained in the list generated by

$ pip list

Developer Workflow

For an overview, read the guide from GitHub.

Get a local copy of the repository using git clone with SSH

$ cd ~  # Starting from the home directory is optional, but recommended.
$ git clone git@github.com:sandialabs/sibl.git

Development Cycle

  • pull code
  • implement
  • unit test (active now, both local manual testing and automated testing on push to repository)
  • Black code style
  • coverage (to come)
  • push code
$ (base) [~]$ cd ~/sibl
$ (base) [~/sibl]$ conda activate siblenv
$ (siblenv) [~/sibl]$ # development in python
$ (siblenv) [~/sibl]$ python -m unittest # unit tests must pass prior to push to repository
$ (siblenv) [~/sibl]$ python -m unittest -v # for more verbose unittest output
$ (siblenv) [~/sibl] black some_specific_file.py
$ (siblenv) [~/sibl] black some_folder/
$ (siblenv) [~/sibl]

Push to repository

If you update the codebase, and wish to have the modifications merged into the main repository, you will need to either push to the repository if you are a collaborator (information below), or create a pull request if you have forked the repo (information to come).

In the ~/sibl/.git/config file, add the following:

[user]
    name = James Bond  # your first and last name
    email = jb007@company.com  # your email address

Configure ssh keys between your local and the repo. This assumes to you have an existing public key file in ~/.ssh/id_rsa/id_rsa.pub. See this to create a public key. See this for troubleshooting.

Copy the entire public key to the GitHub site under Settings > SSH and GPG keys.

From within the repo ~/sibl/, set the username and email on a per-repo basis:

$ git config user.name "James Bond"  # your first and last name in quotations
$ git config user.email "jb007@company.com"  # your email address in quotations

Contact

License

Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International, Inc., for the U.S. Department of Energy's National Nuclear Security Administration under contract DE-NA-0003525.

Copyright

Copyright 2020 National Technology and Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

Notice

For five (5) years from the United States Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this data to reproduce, prepare derivative works, and perform publicly and display publicly, by or on behalf of the Government. There is provision for the possible extension of the term of this license. Subsequent to that period or any extension granted, the United States Government is granted for itself and others acting on its behalf a paid-up, nonexclusive, irrevocable worldwide license in this data to reproduce, prepare derivative works, distribute copies to the public, perform publicly and display publicly, and to permit others to do so. The specific term of the license can be identified by inquiry made to National Technology and Engineering Solutions of Sandia, LLC or DOE.

NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT OF ENERGY, NOR NATIONAL TECHNOLOGY AND ENGINEERING SOLUTIONS OF SANDIA, LLC, NOR ANY OF THEIR EMPLOYEES, MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS.

Any licensee of this software has the obligation and responsibility to abide by the applicable export control laws, regulations, and general prohibitions relating to the export of technical data. Failure to obtain an export control license or other authority from the Government may result in criminal liability under U.S. laws.

Metadata

Release files for xyfigure 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xyfigure 0.0.6
File Size Uploaded Provenance Actions
xyfigure-0.0.6.tar.gz 32.1 kB Without provenance Details for xyfigure-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xyfigure 0.0.6
File Interpreter ABI Platform Actions
xyfigure-0.0.6-py3-none-any.whl Python 3 none any Details for xyfigure-0.0.6-py3-none-any.whl

Total release size: 86.8 kB

Release files / xyfigure-0.0.6.tar.gz

Download URL xyfigure-0.0.6.tar.gz
Size 32.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2b77c831009cf40382dfa20a5f01486acd490741226ed79ef46788642655818b
BLAKE2b-256 checksum
How to use checksums
a359f818bca2a7f6820bef8b73878457275f1bc90e74fa674d2c0f03ad3ab8b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Release files / xyfigure-0.0.6-py3-none-any.whl

Download URL xyfigure-0.0.6-py3-none-any.whl
Size 54.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ee33a092014004e34a02206ee9eb04c949f3291530ff4053420052674017ece
BLAKE2b-256 checksum
How to use checksums
feecd3e8b85b3b2d772e8cdaa7b56967cc96d69c1c636a8676bb550a590b0783
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

Security for xyfigure 0.0.6

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page