semvec/pypi-packages huggingface dataset:
ipasc-tool 0.1.3
Standardised Data Access Tool of IPASC
License: MIT
Requires Python: >=3.7

# DataConversionTool

Dear photoacoustic community,

in this github repository we are currently starting to develop a tool that enables the conversion of vendor-specific
proprietary data formats into a standard format that has a defined structure for the meta data that are given with
the binary data.
A list of meta data information was suggested by the International Photoacoustic Standardisation Consortium (IPASC) 
in early 2020. You can find this list using the following link:

https://www.ipasc.science/documents/20200121_Metadata_list.pdf

Please help IPASC by reporting any missing parameters.

Many thanks,

The IPASC members

## Use case: using the tool to read and write HDF5 files

    from IPASC_DataConversionTool import iohandler as io

    # Loading data from the hard drive
    pa_data = io.load_data("path/to/hdf5file.hdf5")
    numpy_array = pa_data.binary_time_series_data

    # Writing of data to hard drive
    io.write_data("path/to/new/file.hdf5", pa_data)

## Use case: Implement a conversion adapter

    from IPASC_DataConversionTool.api import BaseAdapter

    class DeviceSpecificAdapter(BaseAdapter):

        def generate_binary_data(self) -> np.ndarray:
            # IMPLEMENTATION HERE
            pass

        def generate_meta_data_device(self) -> dict:
            # IMPLEMENTATION HERE
            pass

        def set_metadata_value(self, metadata_tag: MetaDatum) -> object:
            # IMPLEMENTATION HERE
            pass
calculate-vif-rsqauare 1.0.1
This function will use to calculate VIF and adjusted rsquare within featue columns or indipendent variables.
License: MIT
Requires Python: >=3.6

# calculate_vif_rsquare
This function will use to calculate VIF and adjusted
    rsquare within featue columns or indipendent variables. it will
    return dataFrame containing VIF value and adjusted rsquare.

## Installation
```pip install calculate_vif_rsquare```

## How to use it?
vif_rsquare = calculate_vif_rsquare(df)
print(vif_rsquare)

## License

Â© 2021  Neeraj Bafila

This repository is licensed under the MIT license. See LICENSE for details.
dis-cover 1.0.0
Disasemble binaries and recover as much info as possible.
License: MIT
Requires Python: >=3.6.0

# dis-cover
Disassemble binaries and recover as much info as possible

This project was created by [Louis Merlin](https://github.com/louismerlin/) in Spring 2021 as part of his master thesis at [HexHive](https://hexhive.epfl.ch/), with a fellowship from the [armasuisse Cyber-Defense Campus](https://www.ar.admin.ch/en/armasuisse-wissenschaft-und-technologie-w-t/cyber-defence_campus.html).

## How to use

### Run on you binary

To run this tool on your own binary, first you must install dis-cover, as well as elfutils and binutils.

```
pip install dis-cover
apt install elfutils binutils # or whatever your version of this is
```

Then, you can run it to analyze your binary, for example `/bin/gold`.

```
dis-cover /bin/gold
```

This will create a `reconstructed` elf file in your current directory. This binary will contain symbols and dwarf information describing the classes and hierarchies that dis-cover was able to find.

### Command-line

You can install dis-cover by running `pip install dis-cover`.

Here are the CLI options :

```
usage: dis-cover [-h] [-d OUTPUT_DIRECTORY] [-p PICKLE] [-o OUTPUT_FILE] [-l] [-g GRAPH] file

Disasemble binaries and recover as much info as possible

positional arguments:
  file                  ELF file to dis-cover

optional arguments:
  -h, --help            show this help message and exit
  -d OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY
                        Directory where the temporary files are written (default "/tmp")
  -p PICKLE, --pickle PICKLE
                        Output classes in the pickle format into PICKLE.
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        File where the reconstructed binary should be written (default "./reconstructed")
  -l, --list-classes    List the classes found in the binary
  -g GRAPH, --graph GRAPH
                        Place a .dot file (used to create a Graphviz graph) into GRAPH.
```

### Creating a graph from the class hierarchy

With the `-g` option, you can output a ".dot" file.

Using the `graphviz` package, you can then create an SVG graph using the command :

```
dot -Tsvg your_file.dot -o graph.svg
```

## How to use the development version

If you would like to make modifications to this tools and use that modified version, simply clone this repository and run this command in this directory:
```
pip install -e .
```

## Possible extensions of this tool

- Look into .debug-pubtypes section
- Verify objcopy and eu-unstrip outputs (priority: medium)
- Add better error handling and more helpful messages (priority: medium)
- Set NOBIT flag in the section headers (priority: low)
- Find a way to compute the size of the classes (priority: low)