semvec/pypi-packages huggingface dataset:
ctep 0.0.1
Cayley transform ellipsoid fitting
License: MIT

# Cayley tranform ellispoid fitting (CTEF)

Python implementation of Cayley tranform ellipsoid fitting (CTEF).

The main algorithm is in the ctef.py file.

The main function is ctef in the ctef.py file.

## Basic usage
Given an n-by-p data matrix X with n the number of samples and p the dimension, the ellipsoid fitting is
```python
fit = ctef(X)
```
Expanding ctef with all default arguments explicitly expressed,
```python
fit = ctef(X, k=None, w=0.5, w_axis=10, ellipsoid_dimensions=None, trr_params=None)
```
The ctef function returns the following dictionary.
```python
{'center': avg + V @ c, 'Lambda': V @ R.T @ np.diag(1/a), 'Lambda_inv': np.diag(a) @ R @ V.T, 'result': result}
```
For details see the ctef.py file and/or our paper.

## Simple example
This example is from the ellipsoid_gaussian.py file in the examples folder. See that file for parameter details.
```python
p, tau, axis_ratio, noise_level, n_samples = 2, 2, 3, .01, 50

# generate data from Ellipsoid-Gaussian model
truth = generate_truth(p, tau, axis_ratio)
X = simulate_data(n_samples, noise_level, truth)

# fit ellipsoid to data X
fit = ctef(X)
Lambda = fit['Lambda']
center = fit['center']
```
Lambda and center yield the ellipsoid $\\{\Lambda\eta+c : \lVert\eta\rVert=1\\}$ fitted to X pictured below. Note simulate_data is random, so rerunning this code will produce different data and hence a different ellipsoid of best fit.

![example](https://user-images.githubusercontent.com/85212572/233739931-876fc8b3-467f-4499-815e-ad9f713f2c6d.png)

## Clustering
ctef_clustering.py in the clustering folder implements our ellipsoid clustering algorithm. This algorithm is tested against other clustering algorithms on two toy examples in the compare.py file. Here is its output.

![compare](https://user-images.githubusercontent.com/85212572/233740865-d516c1d9-9d43-4234-8a47-d33a4f67f052.png)
FunnyNumbers 0.1
Evita los numeros chistosos y con rimas.
License: MIT

# Funny Numbers
Evita que tus amigos se rian de ti cuando tu cÃ³digo mencione algun numero chistoso.

## Ejemplos
En el primer ejemplo ponemos a prueba el numero _5_ y con el segundo parametro en `True` para mostrar el mensaje, en caso de que no se quiera mostrar usamos `False`.
```py
import funnyNumber as fn
numero = fn.fn(5, True)
print(numero) # 3 + 2, Cuidado con el Funny Number
```
En este ejemplo veremos el mismo cÃ³digo pero sin mostrar el mensaje.

```py
import funnyNumber as fn
numero = fn.fn(5, False)
print(numero) # 3 + 2
```

## InstalaciÃ³n
Para instalar el paquete lo unico que tienes que hacer es poner en la terminal el siguiente comando:

```bash
pip install funnyNumbers
```
spiel 0.5.1
A framework for building and presenting richly-styled presentations in your terminal using Python.
License: MIT
Requires Python: >=3.10,<4
Keywords: presentation,slides,tui,terminal

# Spiel

[![PyPI](https://img.shields.io/pypi/v/spiel)](https://pypi.org/project/spiel)
[![PyPI - License](https://img.shields.io/pypi/l/spiel)](https://pypi.org/project/spiel)
[![Docs](https://img.shields.io/badge/docs-exist-brightgreen)](https://www.spiel.how)

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/JoshKarpel/spiel/main.svg)](https://results.pre-commit.ci/latest/github/JoshKarpel/spiel/main)
[![codecov](https://codecov.io/gh/JoshKarpel/spiel/branch/main/graph/badge.svg?token=2sjP4V0AfY)](https://codecov.io/gh/JoshKarpel/spiel)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

[![GitHub issues](https://img.shields.io/github/issues/JoshKarpel/spiel)](https://github.com/JoshKarpel/spiel/issues)
[![GitHub pull requests](https://img.shields.io/github/issues-pr/JoshKarpel/spiel)](https://github.com/JoshKarpel/spiel/pulls)

[Spiel](https://dictionary.cambridge.org/us/dictionary/english/spiel) is a framework for building and presenting
[richly-styled](https://github.com/Textualize/rich) presentations in your terminal using Python.

To see what Spiel can do without installing it, you can view the demonstration deck in a container:
```bash
$ docker run -it --rm ghcr.io/joshkarpel/spiel
```
Alternatively, install Spiel (`pip install spiel`) and run this command to view the demonstration deck:
```bash
$ spiel demo present
```

![The first slide of the demo deck](https://raw.githubusercontent.com/JoshKarpel/spiel/main/docs/assets/demo.svg)
![The demo deck in "deck view"](https://raw.githubusercontent.com/JoshKarpel/spiel/main/docs/assets/deck.svg)

## Quick Start

If you want to jump right in,
install Spiel (`pip install spiel`),
create a file called `deck.py`,
and copy this code into it:
```python
from rich.console import RenderableType

from spiel import Deck, present

deck = Deck(name="Your Deck Name")


@deck.slide(title="Slide 1 Title")
def slide_1() -> RenderableType:
    return "Your content here!"


if __name__ == "__main__":
    present(__file__)
```

That is the most basic Spiel presentation you can make.
To present the deck, run `python deck.py`.
You should see:

![Barebones slide](https://raw.githubusercontent.com/JoshKarpel/spiel/main/docs/assets/quickstart_basic.svg)

Check out the [Quick Start tutorial](https://www.spiel.how/quickstart) to continue!

## Documentation

To learn more about Spiel, take a look at the [documentation](https://www.spiel.how).

## Contributing

If you're interested in contributing to Spiel, check out the [Contributing Guide](https://www.spiel.how/contributing/).
marenan 0.0.4
Pacote para simbolizar o amor entre Mari e Renan.
License: MIT
Requires Python: >=3.8

# marenan

Pacote para simbolizar o amor entre Mari e Renan.

## Início

Instalação:

```shell
pip install marenan
```

Execute um dos comandos:

```shell
marenan
python -m marenan
```

Ou importe em um módulo Python:

```python
from marenan import marenanDay

print(marenanDay().strftime("%d/%m/%Y"))
```

## Desenvolvimento

Este pacote foi desenvolvido com o gerenciador de pacotes PDM, assim é necessário instalá-lo:

```shell
pip install pdm
```

Pra fazer as principais operações de desenvolvimento com ele é preciso apenas usar seus comandos:

```shell
pdm install      #Para instalar as dependências
pdm build        #Para gerar a build do projeto
pdm publish      #Para gerar o build e publicar o projeto
```

E para testar o pacote em desenvolvimento, existem as opções:

```shell
pdm cli          #Roda a versão CLI do programa
pdm interactive  #Roda um shell python interativo com o módulo importado
```