semvec/pypi-packages huggingface dataset:
radynpy 0.5.0
Analysis tools for Radyn in Python
License: MIT

RadynPy
-------

IMPORTANT NOTE
--------------

This is an early development release of RadynPy, a nascent suite of tools to
allow analysis of Radyn simulations to be performed in Python. It contains a
minimal set of features to perform analysis of Radyn CDF files, and produce
contribution functions.

If you don't know what Radyn is, then this package is probably not aimed at you!

The easiest way to load a CDF file is to use ``radynpy.cdf.LazyRadynData``. An
object can be constructed by passing the path to a Radyn CDF file. Data is
loaded lazily as it is requested. The normal keys of this file can then be
accessed by ``.`` notation (e.g. data.tg1). To look at the indexing convention
and the data layout (which is different to IDL due to handling of the record
time axis), the functions ``index_convention``, and for information on a
specific variable, or set of variables, ``var_info`` can be used. ``var_info``
takes a string or list of strings for the variables of interest (this string
may be '*' to print information on all variables).

The class ``radynpy.cdf.RadynData`` also exists, it takes the path to a CDF
file, and a list of keys to be loaded (or '*' for everything). It performs
similarly to LazyRadynData, but a key that was not requested at construction
will not be loaded.

**NOTE:** By default both ``RadynData`` and ``LazyRadynData`` expect a filename in
the F-CHROMA style (i.e. with the heating parameters), if your filename does
not fit this style then both classes take a ``parseFilenameParams=False``
kwarg.

Contribution functions can be plotted using ``radynpy.matsplotlib.contib_fn``.
See the extensive docstring of this function for more information. Utilities
used in the calculation of the contribution function can be found in
``radynpy.matsplotlib.utils`` and ``radynpy.matsplotlib.opacity``. For the
most part these are very simple functions and classes that mirror the
counterparts in the Radyn software distribution produced by M. Carlsson.
squaddata 0.0.2
squad data
License: MIT
Requires Python: >=3.6, <4

# squaddata
Create datasets and reports from [squad](https://github.com/Linaro/squad)

## Installation
Use [pip](https://pip.pypa.io/en/stable/) to install from [gitlab](https://gitlab.com/Linaro/lkft/reports/squaddata)
```
pip install https://gitlab.com/Linaro/lkft/reports/squaddata/-/archive/master/squaddata-master.tar.gz
```

## Examples
Create a report from a `squad` project
```
squad_report --group=lkft --project=linux-next-master --build=next-20210223 full
```

Create a report that shows build results for all environments
```
squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suites=build full
```

Create a report that shows build results for the `arm64` environment
```
squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suites=build --environments=arm64 full
```

Create a report that shows `kselftest` results
```
squad_report --group=lkft --project=linux-next-master --build=next-20210223 --suite-prefixes=kselftest full
```

## Usage
```
usage: squad_report [-h] [--url URL] [--token TOKEN]
       [--group GROUP] [--project PROJECT] [--build BUILD] [--base-build BASE_BUILD]
       [--environments ENVIRONMENTS | --environment-prefixes ENVIRONMENT_PREFIXES]
       [--output OUTPUT]
       [--suites SUITES | --suite-prefixes SUITE_PREFIXES]
       [--template TEMPLATE]
       [--unfinished]

Create a report using data from SQUAD

positional arguments:
  report                Type of report to create

optional arguments:
  -h, --help            show this help message and exit
  --url URL             URL of the SQUAD service
  --token TOKEN         Authentication token of the SQUAD service
  --group GROUP         SQUAD group
  --project PROJECT     SQUAD project
  --build BUILD         SQUAD build
  --base-build BASE_BUILD
                        SQUAD build to compare to
  --environments ENVIRONMENTS
                        List of SQUAD environments to include
  --environment-prefixes ENVIRONMENT_PREFIXES
                        List of prefixes of SQUAD environments to include
  --output OUTPUT       Write the output to this file
  --suites SUITES       List of SQUAD suites to include
  --suite-prefixes SUITE_PREFIXES
                        List of prefixes of SQUAD suites to include
  --template TEMPLATE   Create the report with this template. Default=report
  --unfinished          Compare with a build that has not finished
```

## Debugging

To turn on debug output, set LOG_LEVEL=DEBUG in the environment.


## Contributing
[CONTRIBUTING.md](https://gitlab.com/Linaro/lkft/reports/squaddata/-/blob/master/CONTRIBUTING.md)

## License
[MIT](https://gitlab.com/Linaro/lkft/reports/squaddata/-/blob/master/LICENSE)