semvec/pypi-packages huggingface dataset:
fpgrowth-py 1.0.0
Python implementation of FP Growth algorithm
Requires Python: >=3.6

<p align=center>
    <img src="fpgrowth.PNG" width="468" height="303">
</p>

<p align=center>
    <a target="_blank" href="#" title="pip"><img src="https://img.shields.io/pypi/v/fpgrowth_py?color=brightgreen"></a>
    <a target="_blank" href="#" title="language count"><img src="https://img.shields.io/github/languages/count/chonyy/fpgrowth_py"></a>
    <a target="_blank" href="#" title="top language"><img src="https://img.shields.io/github/languages/top/chonyy/fpgrowth_py?color=orange"></a>
    <a target="_blank" href="https://opensource.org/licenses/MIT" title="License: MIT"><img src="https://img.shields.io/badge/License-MIT-blue.svg"></a>
    <a target="_blank" href="#" title="repo size"><img src="https://img.shields.io/github/repo-size/chonyy/fpgrowth_py"></a>
    <a target="_blank" href="http://makeapullrequest.com" title="PRs Welcome"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"></a>
</p>

# How to use

## Install the Pypi package using pip

```
pip install fpgrowth_py
```

Then use it like 

```python
from fpgrowth_py import fpgrowth
itemSetList = [['eggs', 'bacon', 'soup'],
                ['eggs', 'bacon', 'apple'],
                ['soup', 'bacon', 'banana']]
freqItemSet, rules = fpgrowth(itemSetList, minSup=0.5, minConf=0.5)
print(rules)  
# [[{'beer'}, {'rice'}, 0.6666666666666666], [{'rice'}, {'beer'}, 1.0]]
# rules[0] --> rules[1], confidence = rules[2]
```

## Clone the repo

Get a copy of this repo using git clone
```
git clone https://github.com/chonyy/fpgrowth_py.git
```

Run the program with dataset provided and **default** values for *minSupport* = 0.5 and *minConfidence* = 0.5

```
python fpgrowth.py -f dataset.csv
```

Run program with dataset and min support and min confidence  

```
python fpgrowth.py -f dataset.csv -s 0.33 -c 0.77
```
themooch 0.1
Takes in two datetime objects, returns the length of time in scaramuccis

# themooch

## A "Scaramucci" is a unit of time measued by 10 days. Named for the shortest serving White House communications director in U.S. History.  


The function takes in two datetime objects and optionally an integer to round to. 

![code demo](images/codeDemo.png)





_Citations_

Concha, J. (2017). Some White House aides are calling a short period of time a 'Mooch'. Retrieved 25 October 2020, from https://thehill.com/blogs/blog-briefing-room/news/366508-some-white-house-aides-are-calling-a-short-period-of-time-a
pydenver 2.2.0
Denver API for python full-stack development
Requires Python: >=3.8

# denver
Denver API for Python

This API is specifically designed for python developers who want to use
advanced utilities but without coding much. The API requires you to
have minimum Python 3.8

## tools
this is a new package built into denver and now you can use every module inside it as a command line
tool. You can type the following command `python denver.tools` to get a list of available tools.

#### **WARNING**
The tools.cpic_editor is still a work in progress


## colored text (denver.ctext)
Colored console output have been a problem since long but here at denver API, we provide
cross-platform colored console output in almost any console. we also provide emulated
print and input function with extra keyword arguments for coloring and customizing. the
default print and input function of you code can be switched out to these one by
```python
from denver import ctext

print = ctext.print
input = ctext.input

# You can do the same with input
print("Hello", "World in colored", "text", fore="green", back="white", style="bright")
print("Hello", "World in simple", "environment")
```

## Installation
The package can be installed by
```commandline
pip install pydenver
```
and upgraded by
```commandline
pip install --upgrade pydenver
```

## Documentation
Documentation for denver can be found out at [this page](https://xcodz-dot.github.io/denverdocs) (*currently in progress
and may not be visible for some time*).
Also Documentation provided with this project can be used but you will have to install mkdocs
by the following command
```commandline
pip install mkdocs
```
or if you already have then you can upgrade it by following command
```commandline
pip install --upgrade mkdocs
```
After installation cd to `./docs/` and run this command `mkdocs build` or if you want to edit `mkdocs serve` and then 
you can edit any file (any file edited during `mkdocs serve` will be reflected on server every time you save a file)

## Community
This is a community driven project and accepts pull requests
of any kind (read [CONTRIBUTING.md](https://github.com/xcodz-dot/denver/blob/master/.github/CONTRIBUTING.md)), Thanks to all the contributors. Contributions are appreciated 

## Fixed Bugs
### 2.1.0
* `denver.pysetup.find_package_data` function is now fixed so it can include files at root level of a module

## What's New
### 2.1.0
* `denver.tools` package is now added as a standard interface to many modules (Many tools are still work in progress)
mutuazones 0.1.5
Add minimal parameter to pandas profiling

## Objetivo
Permite definir de una forma unificada el acceso a las zonas definidas en la arquitectrura de analítica avanzada de Mutua Tienerfeña.

Se han definido las siguientes zonas de trabajo.

* **lz** - Landing Zone. Son los datos que llegan desde el operacional. Pendiente de ser revisados y formatados para la silver.
* **sz** - Silver Zone. Son los datos limpios, preparados para poder cruzarse utilizarse en los correspondientes modelos.
* **gz** - Golden Zone. Son los datos asociados a los resutlados de los modelos definitivos.

## Forma de uso

En los cuadernos de python, se debe realizar lo siguiente.

Para acceder a los dataframes (pandas) almacenados en una zona<lz>:

```python
from mutuazones import lz

lz.df_names
```

Para guardar nuevos data frames en una zona<sz> 

```python
from mutuazones import sz

df_clientes = sz.load_df('clientes')
 ...
sz.save_df('clientes_con_coche')
```

## Ejecución del los test

Se requiere instalar las librerías dependientes.

```bash
python -m pip install -r requirements.txt
```

Así como conectarse a una BD con la LZ ya creada.

Para ello utilizar e fichero .envrc (con dirp) o suministrar las credenciales en los propios test.

## Publicar nueva versión

Para publicar nueva versión en Pypi ejecutar los siguientes comandos. El primer genera la distribución correspondiente. El segundo sube/actualiza la distribución en Pypi

```bash
python3 setup.py sdist bdist_wheel
python3 -m twine upload  dist/*
```

Posteriormente, donde se use, actualizar la librería:

```bash
sudo -H pip3 install --upgrade mutuazones
```