semvec/pypi-packages huggingface dataset:
mnx-math 0.1.0
A method numerical analysis package
License: MIT
Keywords: numerical,analysis,math,methods

# MNx: A Numeric Methods Library

`MNx` is a robust and efficient Python library designed to solve complex numerical problems. It provides a wide range of methods for solving linear systems, including the Gauss and Gauss-Jordan methods. The library is designed with flexibility in mind, allowing for the input of single arrays or lists of arrays.

## Features

- **Gauss Method**: Solve linear systems using the Gauss method.
- **Gauss-Jordan Method**: Solve linear systems using the Gauss-Jordan method.
- **Optimization**: Choose the best method for solving a system based on the given input.
- **Flexibility**: Accepts both single arrays and lists of arrays as input.

## Installation

You can install `mnx` using pip:

```bash
pip install mnx
```

## Usage

Here's a simple example of how to use `mnx`:

```python
import numpy as np
from mnx.sel.Solver import LinearSolver

# Define the system
A = np.array([[3, 2], [1, 2]])
b = np.array([2, 1])

# Create a GaussMethod instance
mnx = LinearSolver(A, b)

# Solve the system
print(mnx)
```

## License

`mnx` is licensed under the [MIT License](LICENSE).

## Contact

If you have any questions or feedback, please feel free to [contact us](mailto:juancamilogallego70@icloud.com).
terrajinja-sbp-generic 0.1.0
Terrajinja extension for automation using cdktf
License: MIT

# terrajinja-sbp-generic

python helper functions for other terrajinja resources

### human_read_to_megabyte
converts human readable numbers (e.g. "10TB") to a size in MB (int)
    
    def human_read_to_megabyte(size: str) -> int:
        Convert human formatted size to megabytes value.

        Args:
            size: string of human formatted size

        Returns:
            megabytes represented in the initial human format

### placement policies
various commands to control the placement policy of a vm

        # create a placement polict based on placements and strategy
        placement_policy = SbpGenericVmPlacementPolicy(strategy=placement_strategy, placements=placements)
        # create a vm iteration that combines placement policy and naming policy
        vms = SbpGenericVm(placement_policy=placement_policy, name=name, count=count, first_digit=first_digit,
                           formatting=naming_format, ip_addresses=ip_addresses)

        # list all vm's in policy
        for vm in vms:
            print(f'- host: {vm.name} in zone: {vm.zone_name} ip: {vm.ip}')

            # return the placement policy id for the creation of the vm in the correct place
            placement_policy_id = SbpDataVcdVmPlacementPolicy(scope=scope, id_='', name=vms.placement_policy.name,
                                                              urn=vdc_urn).id


History
-------

0.0.1 (14-03-2024)
---------------------

* First code creation
latexml-html-cleaner 0.0.4
Utility to clean up an html file generated by LaTeXML
License: MIT

====================
latexml_html_cleaner
====================

Clear html files that are generated by latexml

Description
===========

This tool can be used to postprocess html files generated by LaTeXml.

The purpose it to remove all lxt tags and hyperrefs such that the html file can be imported into external software.

Installation
============

Install the tool by running::

    pip install latex_html_cleaner


Usage
=====

This tool can be used to clean html file generated by the tex to html converter LaTeXML_. You can run it by:

.. code-block:: text

    htmlcleaner.exe filename.html

A new file with the suffix *_clean.html* will be created with the cleaned html.

Details
=======

For all the details, do::

    htmlcleaner.exe --help

giving the output:

.. code-block:: text

    usage: htmlcleaner [-h] [--version] [--output_filename STR] [-v] [-vv] [-w]
                       [-f [PATH ...]] [--clear_find_and_replace_defaults]
                       STR [STR ...]

    Cleans html files and removes hyperrefs

    positional arguments:
      STR                   File name of html input

    options:
      -h, --help            show this help message and exit
      --version             show program's version number and exit
      --output_filename STR
                            File name of output html file
      -v, --verbose         set loglevel to INFO
      -vv, --very-verbose, --debug
                            set loglevel to DEBUG
      -w, --overwrite       Overwrite the input html. Default = False, which means
                            a new html is created withthe suffix _clean
      -f [PATH ...], --find_and_replace [PATH ...]
                        Define a list of key=value pairs to define string
                        patterns you want to replace
      --clear_find_and_replace_defaults
                            Clear the predefined find and replace patterns


Note
====

This project has been set up using PyScaffold 4.0.2. For details and usage
information on PyScaffold see https://pyscaffold.org/.

.. _LaTeXML: https://math.nist.gov/~BMiller/LaTeXML