semvec/pypi-packages huggingface dataset:
searchft 0.0.8
Projeto final da disciplina de Programação Orientada a Objetos II
Requires Python: >=3.6
Keywords: python,web,search

# DescriÃ§Ã£o
A `SearchForThis` Ã© uma biblioteca que efetua pesquisas em motores de busca na web.

# Funcionalidades
* Realizar buscas por conteÃºdos desejados
* Acessar links retornados

# Biblioteca
### InstalaÃ§Ã£o
```python
pip install searchft
```

### ImportaÃ§Ã£o
```python
import searchft
```
### Formas de utilizaÃ§Ã£o
```python
search = searchft.Searchft
```
`Ou`
```python
from searchft import Searchft
``` 

### Acessando mÃ©todos
Uma das formas de acessar os mÃ©todos da classe, Ã© a seguinte:
```python
Searchft.method()
```
Onde `method`, Ã© o nome mÃ©todo que vocÃª deseja utilizar.

### Realizando buscas:
Use o mÃ©todo `buscar` da classe, da seguinte forma:
```python
resultado = Search.buscar(conteÃºdo_da_busca, size)
```
A variÃ¡vel size, armazena a quantidade de links que vocÃª deseja buscar. O conteÃºdo da busca deve ser uma string.

### Visitando links
Use o mÃ©todo `visitarLink`, da seguinte forma:
```python
Searchft.visitarLink(link)
```
O link deve ser uma string.

# Exemplos de uso

### Buscar
<img src="exemplo-busca.png">
<img src="terminal-busca.png">

### VisitarLink
<img src="exemplo-visitarlink.png">
<img src="python-org.png">
DumME 0.1.0
Mixed Effects Dummy Model
Requires Python: >=3.9
Keywords: random forest,machine learning,mixed effects

[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.10588922.svg)](https://doi.org/10.5281/zenodo.10588922)

# DumME: Mixed Effects Dummy Model

This is an adaptation of MERF (https://github.com/manifoldai/merf). The main
difference is that this version is fully compliant with the scikit-learn API.

Other difference include:

- The name: MERF was renamed to the more general MixedEffectsModel
- The default fixed-effects model: dummy model instead of random forest
- The package structure: stripped down to its core and then upgraded to use
  modern standards
- Test suite: using pytest instead of unittest

> [!CAUTION]
> We are currently not maintaining or developing this further. Ideally we would
> contribute our changes to the original version of MERF
> (see https://github.com/manifoldai/merf/issues/68).
> Do reach out if you want to build upon or collaborate with us on this.

## Using this version

Install via github:

```bash
pip install git+https://github.com/phenology/merf
```

Instantiate the dummy model:

```python
from dumme.dumme import MixedEffectsModel
from dumme.utils import DummeDataGenerator

# Get some sample data
dg = DummeDataGenerator(m=0.6, sigma_b=4.5, sigma_e=1)
df, _ = dg.generate_split_samples([1, 3], [3, 2], [1, 1])
y = df.pop("y")
x = df

# Fit a dummy model
# Notice the signature of the `fit` method: first X and y, and the other args are optional.
me_dummy = MixedEffectsModel()
me_dummy.fit(X, y)

# or
me_dummy.fit(X, y, cluster_column="cluster", fixed_effects=["X_0", "X_1", "X_2"], random_effects=["Z"])

# Predict only accepts X as input. It is assumed new data is structured
# in the same way as the original training data.
new_X = X.copy()
me_dummy.predict(new_X)
```

To get the "original" MERF (but still with the new fit signature):

```python
from sklearn.ensemble import RandomForestRegressor

rf = RandomForestRegressor(n_estimators=300, n_jobs=-1)
me_rf = MixedEffectsModel(rf)
me_rf.fit(X, y)
```
snakemakehelpers 0.0.4
A bundle of snakemake helper functions.
Requires Python: >=3.7

# snakemakehelpers

Meant to work with [poetry](https://python-poetry.org/) and [snakemake](https://snakemake.readthedocs.io/en/stable/).

## Installation

Add to an initialized (via `poetry init`) poetry project from PyPI via `poetry add snakemakehelpers`. 

## usage

Run `poetry run snakemake-interact` from a directory with a snakefile to interact with snakemake.

Current options to interact are:

* Process latest snakemake log file:

    Searches the `.snakemake/log` directory for log files and parses the most recent one.
* Select target(s) to make (poetry run snakemake -Fn):

    Generates a list of possible output files via `poetry run snakemake -Fn`, from which the user can choose one or more to make.
* Make target(s) ( poetry run snakemake ... -c):

    Makes user provided targets. 
* Inspect selected snakemake log file (...):

    Inspects the selected log file using `less`. 
* Select a different snakemake log file:

    Select another log file from `.snakemake/log` to process.
* Print internal state of this program