semvec/pypi-packages huggingface dataset:
M18K 1.0
Mushroom RGB-D image dataset for object detection and instance segmentation
License: MIT

# M18K: Mushroom Detection Dataset

Welcome to the Mushroom Detection Dataset repository. This dataset is a valuable resource for researchers and practitioners interested in automating agricultural processes, specifically related to mushroom harvesting, growth monitoring, and quality control. It provides a dedicated dataset for button mushroom (Agaricus bisporus) detection, comprising over 18,000 mushroom instances in 423 RGB-D image pairs.

## Overview

The dataset was collected using an Intel RealSense D405 camera, capturing realistic growth environment scenarios with comprehensive annotations. It serves as a benchmark for detection and instance segmentation algorithms in smart mushroom agriculture.

## Dataset Details

- **Mushroom Instances**: Over 18,000
- **Image Pairs**: 423 RGB-D image pairs
- **Camera Used**: Intel RealSense D405
- **Annotations**: Comprehensive annotations for detection and instance segmentation

## Download the Dataset

You can download the dataset directly from the repository using the link below:

[Download Dataset](https://drive.google.com/file/d/1iPANwP1k6tbz1EZRdG2qbst1tqqYsZ_x/view?usp=sharing)

Please refer to the dataset's license file for information about usage and distribution rights.

## Environment Setup

To work with the dataset, you need to set up the environment. You can do this using the following commands:

```bash
!conda create -n m18k python=3.10 -y
!conda activate m18k
```

## Installation

To install the `m18k` package for working with the dataset, use the following command:

```bash
!pip install m18k
```

## Results and Model Zoo

Coming soon.

## References

Coming soon.

---

Thank you for using the Mushroom Detection Dataset. We hope this resource aids your research and development efforts in the field of smart agriculture. If you have any questions or need support, please feel free to reach out to us.
flake8-no-nesting 0.1.2
A flake8 plugin to enforce object calisthenics rule "ONE level of indentation"
License: MIT

- [flake8-no-nesting](#flake8-no-nesting)
  - [Installation](#installation)
  - [Usage](#usage)
  - [Rules Enforced](#rules-enforced)
  - [Configuration](#configuration)
  - [Motivation](#motivation)
  - [Contributing](#contributing)
  - [License](#license)


# flake8-no-nesting

`flake8-no-nesting` is a plugin for Flake8 designed to enhance code readability and maintainability by enforcing the Object Calisthenics rule: "One Level of Indentation per Method." The plugin aims to detect and flag the use of nested control structures such as `try`, `if`, `with`, `while`, and `for` in Python code.

## Installation

Install `flake8-no-nesting` via pip:

```bash
pip install flake8-no-nesting
```

## Usage

After installation, `flake8-no-nesting` integrates seamlessly with Flake8. To run the plugin, execute Flake8 on your project directory:

```bash
flake8 your_project_directory
```

The plugin will analyze your code for any violations related to nested control structures.

## Rules Enforced

- **FNN100** nested `if` found
- **FNN101** nested `for` loop found
- **FNN102** nested `while` loop found
- **FNN103** nested `with` found
- **FNN104** nested `try` found

Each violation will report the specific type of nesting and its location, helping you to refactor your code accordingly.

## Configuration

No specific configuration is required to get started with `flake8-no-nesting`. However, you can customize the behavior of Flake8 via the `.flake8` configuration file to ignore certain files or directories, or to adjust other Flake8 settings.

Example `.flake8` configuration:

```ini
[flake8]
exclude = tests/*
max-line-length = 120
```

## Motivation

This plugin supports the "One Level of Indentation per Method" rule from Object Calisthenics, which advocates for minimal indentation to improve code readability and reduce complexity. Following this rule helps in writing code that is easier to understand, test, and maintain.

## Contributing

We welcome contributions to improve `flake8-no-nesting`. If you have suggestions or encounter bugs, please feel free to open an issue or submit a pull request.

## License

`flake8-no-nesting` is distributed under the MIT License. See the `LICENSE` file for more details.