semvec/pypi-packages huggingface dataset:
fastlbp-baseline-imbg 0.0.7.dev2
A wrapper for Ben's LBP bio pipeline
Requires Python: >=3.8
Keywords: lbp,texture,features,image

# ImageTextureFinder
A project to create an easy-to-use way of finding areas of common patterns and structures within an image. Should work on any image, designed for use on any biological images including DAPI, IMC and H&E.

See `sample_run.sh` for details.

- Branch `baseline` is the most stable. It is ready for pip packaging.
- Branch `pip` is stale at the moment
- Branch `dev` is unstable and for dev purposes only.


## Container
Image tag is `mkrooted/imbg-fastlbp`. Hosted on Docker Hub (https://hub.docker.com/repository/docker/mkrooted/imbg-fastlbp/general).
See https://github.com/imbg-ua/fastLBP-sandbox for details

---

# Guides

## How to build and deploy a pip package

Src: https://packaging.python.org/en/latest/tutorials/packaging-projects/

- Add your access token to `.pypirc`
    ```
    # ~/.pypirc 
    [pypi]
      username = __token__
      password = pypi-TOKEN_FROM_YOUR_PYPI_SETTINGS_GOES_HERE
    ```
- Ensure that your Python is 3.8 because the package targets Python 3.8 and thus requires to be build using this Python version
    ```
    python --version
    # Should show Python 3.8.something
    ```
- Install prerequisites (`twine` and `build`)
    ```
    pip install --upgrade twine build
    ```
- Edit project version in `pyproject.toml`
- Build and upload the project
    ```
    # while in root project directory
    python -m build      # .whl and .gz output will be at ./dist directory
    python3 -m twine upload dist/*   # note that this can accidentally upload unneeded builds
    ```

---

## Algorithm notes

Step 1 performs an LBP and creates histograms for each **method**.

**Method** is a combination of the following parameters:
- image name
- image channel
- LBP radius
- LBP number of points

Every method's result got saved into the separate `.npy` file. There is a correspondence betweeen a method and a computational job.

Step 2 collects all the results and concatenate them along the features dimension.
That means that feature vector of a patch is a concatenation of all LBP codes from all channels and all LBP radii.
pyapks 0.0.5
Apk Downloader is a Python module that allows you to download Android APK files using alternative sources such as Aptoide and ApkPure.

﻿# Apk Downloader Module Documentation
Apk Downloader is a Python module that allows you to download Android APK files using alternative sources such as Aptoide and ApkPure. This documentation serves as a general introduction and may require customization for your specific use case.
## Installation 🚀
You can install Apk Downloader using pip:

    pip install pyapks

## Usage 📦
The Apk Downloader module includes classes for Aptoide and ApkPure, which you can use to download APK files from the source of your choice.
### Using Aptoide 🛒
To download an APK file using the Aptoide class, you can use the following example:

    from pyapks.aptoide import Aptoide
    Downloader = Aptoide()
    Downloader.download_by_package_name(package_name="com.whatsapp", file_name="Whatsapp", version="latest", in_background=False, limit=30)
-   `package_name`: Specifies the package name of the application you want to download.
-   `file_name`: Specifies the name of the downloaded APK file.
-   `version`: Specifies the version you want to download (e.g., you can use "latest" to get the latest version).
-   `in_background`: Specifies whether the download process will run in the background.
-   `limit`: Determines the depth of the search when searching for an application. (The more it is, the slower it becomes.)
### Using ApkPure 🌐
To download an APK file using the ApkPure class, you can use the following example:

    from pyapks.apkpure import ApkPure
    Downloader = ApkPure()
    Downloader.download_by_package_name(package_name="com.whatsapp", file_name="Whatsapp", version="latest", app_ext="xapk", in_background=False)
-   `package_name`: Specifies the package name of the application you want to download.
-   `file_name`: Specifies the name of the downloaded APK file.
-   `version`: Specifies the version you want to download (e.g., you can use "latest" to get the latest version).
-   `app_ext`: Specifies the file extension of the downloaded file (e.g., you can use "xapk").
-   `in_background`: Specifies whether the download process will run in the background.

Note: Entries like `package_name="com.whatsapp"` are just examples. You can change the package name to download other applications.

## Contact and Support 📧

For more information about the Apk Downloader module, questions, or support, please refer to the [GitHub repository](https://github.com/09u2h4n/pyapks).

This documentation provides an overview of the basic usage of the Apk Downloader module.
zenodo-search 0.2.1
Perform Query on Zenodo.
Requires Python: >=3.8

# Zenodo Search

Perform zenodo searches with python.

**Note**: Zenodo updated the backend. This resulted in the searches failing with the old version of this package. For
example, the doi string should not be the full doi anymore, but only the id. Some of the old search strings also don't
work anymore. This is hopefully a temporary issue and will be fixed soon.

## Installation

```bash
pip install zenodo_search
```

## Dependencies

- requests

## Usage

```python
import zenodo_search as zsearch

search_string = 'doi:8357399'
records = zsearch.search(search_string)
```

[![Open Quickstart Notebook](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/matthiasprobst/zenodo_search/blob/main/examples/example.ipynb)

More examples can be found in the [examples](examples/example.ipynb) folder.