semvec/pypi-packages huggingface dataset:
dharun 1.3
Some Optimization Problems for Machine Learning


# Optimization Techniques

**Optimization Techniques** is a Python package that includes eight powerful algorithms for optimization tasks, including Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Optimization, Gray Wolf Optimization, and more. This package is designed to help users experiment with different optimization approaches for a wide variety of continuous and discrete problems.

## Table of Contents

1. [Installation](#installation)
2. [Usage](#usage)
3. [Available Programs Variables](#available-algorithms)
4. [Contributing](#contributing)
5. [License](#license)

---

## Installation

You can install the `optimization_techniques` package directly from PyPI:

```bash
pip install dharun
```

## Usage

Once installed, you can import the package and start using any of the algorithms. Hereâ€™s a general example of how to import and use a variable from this package:

```python
from programs import continuous_optimization
from programs import binary_optimization


# Define your objective function
print(continuous_optimization.continuous_optimization)
print(binary_optimization.binary_optimization)

#It will print the full code
```

## Available Programs Variables

The following algorithms are available in the `programs` package:

1. `continuous_optimization`
   - continuous_optimization

2. `binary_optimization`
    - binary_optimization

3. `simulated_annealing`
   - simulated_annealing

4. `ant_colony_algorithm`
   - ant_colony_algorithm

5. `particle_swarn_optimization`
   - particle_swarn_optimization

6. `gray_wolf_optimization`
   - gray_wolf_optimization

7. `tabu_search`
   - tabu_search

8. `shuffuled_frog_optimization`
   - shuffuled_frog_optimization

9. `tsp`
   - tsp


## Contributing

We welcome contributions! If youâ€™d like to contribute, please fork the repository, make your changes, and submit a pull request. 

## License

This project is licensed under the MIT License. See the `LICENSE` file for details.
pytest-flake8 1.3.0
pytest plugin to check FLAKE8 requirements
Requires Python: >=3.9

.. image:: https://img.shields.io/pypi/v/pytest-flake8.svg
   :target: https://pypi.org/project/pytest-flake8

.. image:: https://img.shields.io/pypi/pyversions/pytest-flake8.svg

.. image:: https://github.com/coherent-oss/pytest-flake8/actions/workflows/main.yml/badge.svg
   :target: https://github.com/coherent-oss/pytest-flake8/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://readthedocs.org/projects/pytest-flake8/badge/?version=latest
   :target: https://pytest-flake8.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2024-informational
   :target: https://blog.jaraco.com/skeleton


pytest plugin for efficiently checking PEP8 compliance 
======================================================

Usage
-----

Install it into a test environment, then run tests with the option.

.. code-block:: bash

    pytest --flake8

Every file ending in ``.py`` will be discovered and checked with
flake8.

.. note::

    If optional flake8 plugins are installed, those will
    be used automatically. No provisions have been made for
    configuring these via `pytest`_.

.. warning::

    Running flake8 tests on your project is likely to cause a number 
    of issues. The plugin allows one to configure on a per-project and
    per-file basis which errors or warnings to ignore, see
    flake8-ignore_.

.. _flake8-ignore:

Configuring Flake8
------------------

See the Flake8
`docs on configuring <https://flake8.pycqa.org/en/latest/user/configuration.html>`_.

FAQs
-----

All the Flake8 tests are skipping!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

By design, results are cached and only changed files are checked.

To bypass this caching mechanism, run the following command:

.. code-block:: bash

    pytest --cache-clear --flake8

Run tests with [tox](https://tox.wiki) (e.g. `pipx run tox`).

For more information, take a look at the `skeleton <https://blog.jaraco.com/skeleton/>`_.


Notes
-----

For more info on `pytest`_ see http://pytest.org

The code is partially based on Ronny Pfannschmidt's `pytest-codecheckers`_ plugin.

.. _`pytest`: http://pytest.org
.. _`flake8`: https://pypi.python.org/pypi/flake8
.. _`pycodestyle`: https://pypi.python.org/pypi/pycodestyle
.. _`pytest-codecheckers`: https://pypi.python.org/pypi/pytest-codecheckers