semvec/pypi-packages huggingface dataset:
rawtools 0.5.0
Utility library for consuming and manipulating x-ray data in RAW format
Requires Python: >=3.10
Keywords: rawtools


RAW Tools
=========

Utility library for consuming and manipulating x-ray volume data in ``.raw`` format.

Features
--------


* Convert float32, uint16, and uint8 versions of ``.raw`` XRT volume data
* Extract image slices from ``.raw`` files
* Read, parse, and generate metadata files (\ ``.dat``\ ) for XRT data
* Convert proprietary ``.nsihdr`` files into ``.raw`` format (Windows only). Batch conversion supported as CLI and minimal GUI.
* Generate previews of XRT volumes for quality control (e.g., maximum density projections, midslice extraction, etc.)

Planned Features
----------------


* Generate dummy ``.raw`` files for testing downstream pipelines
* Batch conversion of ``.nsihdr`` on Linux systems
* Density adjustment (similar to automated adjustment MATLAB scripts for ``rootseg``\ )

Related Projects
----------------


* `xrcap <https://github.com/Topp-Roots-Lab/3d-root-crown-analysis-pipeline>`_\ : root crown image analysis pipeline
* `DynamicRoots <https://github.com/Topp-Roots-Lab/DynamicRoots>`_\ : tool for reconstructing and analyzing the growth of a plant root system
* `TopoRoot <https://github.com/danzeng8/TopoRoot>`_\ : high-throughput computational method that computes fine-grained architectural traits from 3D CT images of excavated maize root crowns
* `rootseg <https://github.com/Topp-Roots-Lab/rootseg>`_\ : ML-based segmentation for soil rich samples
* `xrt-dmt <https://github.com/Topp-Roots-Lab/xrt-dmt>`_\ : data management tool for tracking and archiving XRT (meta)data

Credits
-------

This package was created with `Cookiecutter <https://github.com/audreyr/cookiecutter-pypackage>`_ and the `audreyr/cookiecutter-pypackage <https://github.com/audreyr/cookiecutter-pypackage>`_ project template.


=======
History
=======

------------------
0.3.0 (2021-07-18)
------------------

Added
^^^^^

* License
* Basic tests on core functionality for scaling data

Changed
^^^^^^^

* Updated URL for any references to GitHub repo
* Updated docstring header for `raw2img` module
* Updated README to be more descriptive


0.2.0 (2021-01-04)
------------------

* Added efX-SDK library
* Added module to export/convert `nsihdr` files to uint `raw` files using the efX-SDK (Windows only)
* Tentatively implemented a GUI for the nsihdr2raw export tool
* Tweaked logging path for log files generated relative to input data for `nsihdr2raw`

0.1.4 (2020-10-27)
------------------

* Code clean up, remove unnecessary transposing of data, improved debug statements and logging

0.1.3 (2020-10-26)
------------------

* Fixed font file missing when installing via pip

0.1.2 (2020-09-25)
------------------

* Fix typo in log messages when checking expected file size to actual file size (.raw)

0.1.0 (2020-06-19)
------------------

* Initial version
image-sketcher 0.0.2
Convert images into sketches
Requires Python: >=3.6

# Image Sketcher

Convert Images to Sketches

# Installation

```bash
pip install image-sketcher
```

# Get Started

```bash
image-sketcher --image <image_path> --output <output_path>
```

Note: The `--image` and `--output` flags are optional.

- The CLI will prompt for input image path until supplied.
- The output will be placed in the Pictures directory within the user's home directory by default.

For help, run:

```bash
image-sketcher --help
```
scrapy-xls 0.0.1
Scrapy spider for parsing XLS files.
Requires Python: >=3.6

# XLS Scrapy Spider 
Scrapy spider for parsing XLS files. It receives a XLS file in a response; iterates through each of its rows, and calls `parse_row` with a dict containing each field's data and the sheet name. Inspired in the builtin CSV feed scrapy spider.

This is built on top of openpyxl and pandas libs, you can set some options regarding the XLS file, such as the sheet names and number of rows to be skiped.
If sheets are not provided, it'll returns all sheets available.


## Installation

`pip install scrapy_xls`



## How to use

```
from scrapy_xls import XLSSpider


def SuperMarketCatalogSpider(XLSSpider):

    start_urls = [
        'https://www.supermarket.com/files/catalog-oct-22.xlsx',
        'https://www.supermarket.com/files/catalog-set-22.xlsx',
    ]

    skip_rows = 3 # Assuming that the sheet headers starts at the 4th row
    sheets = ['FRUITS', 'BEVERAGES']

    def parse_row(self, response, sheet, row):
        item = {}
        item['department'] = sheet
        item['product'] = row['NAME']
        item['price'] = row['PRICE']
        item['brand'] = row['BRAND']
        yield item

```


## Contributing

Feel free to contribute with the project. [Git repository](https://github.com/kennyaires/scrapy-xls).

<a href="https://www.buymeacoffee.com/kennyaires" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;" ></a>
arghonaut 1.5.0
Interactive Interpreter for Argh!

# Arghonaut

Arghonaut is an interactive interpreter, visualizer, and debugger for [Argh! and Aargh!](https://esolangs.org/wiki/Argh!), which are [Befunge](https://esolangs.org/wiki/Befunge)-like esoteric programming languages designed by Sascha Wilde.
Arghonaut is written in Python and includes an ncurses interface.

Arghonaut was created by [Aaron Friesen](https://frie.dev) for FOSS Jam 2021, a hackathon hosted by the [UNL Operating Systems and Open Source Group](https://os2g.unl.edu).

## Installation

```sh
pip install arghonaut
```

To use the UI, make sure you have ncurses or a suitable equivalent installed.

## Usage

To run Arghonaut interactively, execute the following command, where `src.agh` is an Argh! or Aargh! source code file:

```sh
arghonaut src.agh
```

For more detailed usage information, run:

```sh
arghonaut --help
```

### Keybindings

Arghonaut supports the following keybindings:

- `.` or Enter: step through execution
- Space: automatically step through execution (0.1 second delay) or pause
- `c`: continue until next input
- `hjkl`: move the editing cursor
- `b`: return the cursor to the instruction pointer
- `g`: jump the instruction pointer to the cursor
- `i`: enter insert mode (the next character you type will be written into the code at the cursor position)
- `o`: open a new line
- `r`: reset state (excluding unsaved code changes)
- `n`: reset program (including unsaved code changes)
- `s`: save current code changes to program state (does not modify source file)
- `q` or Escape: quit

### Batch Mode

Arghonaut can be run in batch mode by adding the `--batch` flag.
In this mode, the curses interface will not be displayed, and input and output will be performed via standard input and standard output.
Programs can be run interactively with standard input from the keyboard, or with redirected or piped input.

## Examples

This repository includes some example Argh! and Aargh! programs written by Aaron Friesen.
For more examples, refer to the [Argh! Mercurial repository](http://hg.intevation.org/argh/file/tip/examples).

## Contributing

To run Arghonaut from source:

```sh
python -m arghonaut src.agh
```

If you want to submit a patch, please follow these guidelines:

- Run the project on some of the examples to test for bugs.
- Run some Python linters to check for and fix any coding style issues.

## License

Arghonaut is licensed under the [GNU General Public License Version 3](https://www.gnu.org/licenses/gpl-3.0.en.html).
Argh! is licensed under the [GNU General Public License Version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html), and permits the use of later versions of the license.