semvec/pypi-packages huggingface dataset:
metabasic 0.5.1
Dead simple client for interacting with the Metabase dataset API
License: MIT
Requires Python: >=3.6.1

[![CircleCI](https://circleci.com/gh/Ben-Hu/metabasic.svg?style=svg)](https://circleci.com/gh/Ben-Hu/metabasic)
[![Actions](https://github.com/Ben-Hu/metabasic/workflows/ci/badge.svg)](https://github.com/Ben-Hu/metabasic/actions)
[![codecov](https://codecov.io/gh/Ben-Hu/metabasic/branch/master/graph/badge.svg)](https://codecov.io/gh/Ben-Hu/metabasic)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/Ben-Hu/metabasic.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/Ben-Hu/metabasic/context:python)
[![License](https://img.shields.io/github/license/Ben-Hu/metabasic)](https://github.com/Ben-Hu/metabasic/blob/master/LICENSE)
[![Tag](https://img.shields.io/github/v/tag/Ben-Hu/metabasic)](https://github.com/Ben-Hu/metabasic/releases)
[![PyPI](https://img.shields.io/pypi/v/metabasic?color=blue)](https://pypi.org/project/metabasic/)


# Metabasic
Dead simple client for interacting with the Metabase dataset API

## Install
```sh
pip install metabasic
```

## Examples
```python
from metabasic import Metabasic
domain = "https://my-metabase-domain.com"

# Authentication with an existing session
db = Metabasic(domain, session_id="foo", database_id=1)
db.query("SELECT * FROM bar")
db.get_dataframe("SELECT * FROM bar")

# Email/Password authentication
ga = Metabasic(domain, database_id=2).authenticate("foo@email.com", "password")
ga_query = {
    "ids": "ga:1234567890",
    "start-date": "30daysAgo",
    "end-date": "today",
    "metrics": "ga:someMetric",
    "dimensions": "ga:someDimension",
    "sort": "ga:someDimension",
    "max-results": 10000
}
ga.query(json.dumps(ga_query))

# Select a database interactively
m = (
  Metabasic(domain)
  .authenticate("foo@email.com", "password")
  .select_database()
)
```
fmc 0.2.0
fmc is a simple cli application for one's own convenience.
License: MIT
Requires Python: >=3.8
Keywords: fmc,shortcut,alias

## Introduction
fmc (For-My-Convenience) is a simple cli application for one's own convenience.

## Usage

### Installation

```sh
# Install from pip
pip install fmc

# Install from source
pip install .
```

### Commands

#### Basic 

```sh
# Check fmc version
fmc --version

# Check help info
fmc -h

# Check environment info
fmc info
```

#### Go - convenient 'cd' with alias 

```sh
# setup path alias
fmc go work -s path_to_my_workspace
# go to workspace
fmc go work
```

#### Secure - file encryption

- You'll have to install gpg first
- Tehn create a private key
- For first run, the gpg_user_id is needed

```sh
# setup alias for a file which needs to be encrypted
fmc secure secret -s path_to_the_file.zip
# encryption or decryption
fmc secure secret
```

### Config File
Configuration file is located at `~/fmc.conf`.

## Developement

```sh
# Run by python3
python3 ./fmc.py *args*

# Smoke test
./smoke.sh
```
py-maia 1.5
Let's code better
License: MIT

maia
======================
1. Tips
 + [About maia](#about-maia)
   
2. Versions
 + [Version 1.5](#version-15)
 + [Version 1.1](#version-11)
 + [Version 1.0](#version-10)

3. Functions
 + [AutoInstaller](#autoinstaller)

## About "maia"
This python module was created to make code clear and easy.<br/>
This page will be updated quite often, like the project itself, so I recommend checking for updates often</br>
You can install this package by using a simple command:
> pip install py-maia

And import this package using
> import maia

## Version 1.5
**19 February 2021**

### switch & case
That just popular method of iterating, which unfortunately was not added to this language
But in this function I tried to add this functionality in Python

    from maia import switch

    x = 10
    for case in switch(x):
        if case(0):
            print('num is 0')
            break
        elif case(10):
            print('num is 10')
            break
        else:
            print('num not in list')
            break

### Loadings & printr
Now you can use loadings in your project!

    from maia import Loading, printr
    import time

    for x in Loading.user_load(['x', 'b', 'c'], desc='Object: %'):
        printr(x)
        time.sleep(1)
    print('All objets done.')

Or you can load a usual one

    from maia import Loading, printr
    import time

    for x in Loading.usual(xrange=range(0, 100)):
        printr(x)
        time.sleep(0.01)

So, what about "printr()" func? This function allows you to edit
last line into new line. It can be helpful in many situations then you need
to work with a console, so use it :)

### Photo
Now you can load photo from wedsite using just a one simple line
> Photo(path).download(link)

I will add some more functions in this class later 

## Version 1.1
### AutoInstaller
That function will help you install packages without using a console command "pip install ..."<br/>
***Example:***

    from maia import AutoInstaller
    try:
        import colorama
    except ImportError:
       AutoInstaller()
    print("Hello, AutoInstaller" + colorama.Fore.GREEN)

## Version 1.0
Just crashed package, so you can just skip it