semvec/pypi-packages huggingface dataset:
Flask-Keepincheck 0.1
Healthchecks for upstream dependencies of a Flask app
License: MIT

# flask-keepincheck
Flask extension that implements healthchecks for application's upstream dependencies

## Usage

```python
from flask import Flask
from flask_sqlalchemy import SQLAlchemy
from flask_keepincheck import HealthCheck

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = ''
db = SQLAlchemy(app)
healthcheck = HealthCheck()
healthcheck.add_db_check(app=app, db=db)

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    username = db.Column(db.String(80), unique=True, nullable=False)
    email = db.Column(db.String(120), unique=True, nullable=False)

    def __repr__(self):
        return '<User %r>' % self.username

@app.route('/')
def hello_world():
    return 'Hello, World!'
```

After this your db's healthcheck can be found at `/dbhealth`
DAnki 1.0.1
Automate deck creation for Anki to learn german
License: MIT
Keywords: anki,flashcards,memorization,german,deutsch

# DAnki: Automate deck creation for Anki to learn german

`DAnki` automate the work of creating decks for Anki to learn german. From the export of your Kindle's notes
or a csv file, DAnki can generate cards with the translation of the word for 8 different languages including
the german pronunciation sound.

*This library and its author(s) are not affiliated/associated with the main Anki project in any way.*

It was created for my german students to develop their vocabular. Using Kindle you can just highlight the
german words or expressions you want to practice, export these notes to your email and use the csv file
with this program. It also create tags for Anki with the page number.

*Note:* Your Kindle's language must be in *portuguese* or *english* .

## How to use

Here is an exemple using a csv file from kindle.

```python
language = 'en'
csv_filepath = r'csv_exemple_files/sherlock_highlights_from_kindle_english.csv'
deck_name = 'sherlock_en'
from_kindle = True

myDanki = DAnki(language, csv_filepath, deck_name, from_kindle)
myDanki.create_translated_deck()
```

Here is an exemple using a csv file with only 2 columns: German Word and Tag.

```python
language = 'ch'
csv_filepath = r'csv_exemple_files/not_from_kindle.csv'
deck_name = 'not_from_kindle'
from_kindle = False

myDanki = DAnki(language, csv_filepath, deck_name, from_kindle)
myDanki.create_translated_deck()
```

*You can find the csv exemple files [HERE](https://github.com/dileivas/DAnki/tree/master/csv_exemple_files).*

## Available languages

DAnki uses [leo.org](leo.org) to find a translation from german, so the available languages are:

('pt' - portuguese) ('en' - english) ('fr' - french) ('es' - spanich) 
('it' - italian) ('ch' - chinese) ('ru' - russian) ('pl' - polish)

## Must

You must add 'de_DE_frami.dic' and 'de_DE_frami.aff' files in 
`C:\Users\user\AppData\Local\Programs\Python\Python38\lib\site-packages\enchant\data\mingw64\share\enchant\hunspell`

Dictionary link:  https://extensions.openoffice.org/en/project/german-de-de-frami-dictionaries

For more information: https://pyenchant.github.io/pyenchant/tutorial.html

## Credits

My thanks to:

[genanki](https://github.com/kerrickstaley/genanki)

[HanTa](https://github.com/wartaal/HanTa) - I don't use this library, but allowed me to understand lemmatization.

[Vorverarbeitung von Texten mit Python und NLTK](http://textmining.wp.hs-hannover.de/Preprocessing.html)

[treetaggerwrapper](https://treetaggerwrapper.readthedocs.io/en/)

[gTTS](https://github.com/pndurette/gTTS)

[LEO GmbH](leo.org)
konduto-sdk 1.0.0
SDK to let the process easier to integrate your application with konduto rest API
License: MIT
Requires Python: >=3.6,<4.0
Keywords: konduto,sdk,api,konduto SDK

<img src="https://user-images.githubusercontent.com/9020828/78465897-9a77b400-76d1-11ea-9551-1a4db4b1a910.png" align="left" width="192px" height="192px"/>
<img align="left" width="0" height="192px" hspace="10"/>

[![codecov](https://codecov.io/gh/alefhsousa/konduto-sdk/branch/master/graph/badge.svg)](https://codecov.io/gh/alefhsousa/konduto-sdk)
![ci](https://github.com/alefhsousa/konduto-sdk/workflows/ci/badge.svg)
[![PyPI - License](https://img.shields.io/pypi/l/konduto-sdk)]("https://github.com/alefhsousa/konduto-sdk/blob/master/LICENSE")
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/57e4534797c7416b86c20c4ec5d53067)](https://www.codacy.com/manual/alefhsousa/konduto-sdk?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=alefhsousa/konduto-sdk&amp;utm_campaign=Badge_Grade)
![PyPI - Status](https://img.shields.io/pypi/status/konduto-sdk)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/konduto-sdk)
![PyPI](https://img.shields.io/pypi/v/konduto-sdk)

A Python SDK for integrating with the [Konduto rest api][1]. Compatible with python 3.6+, this repo not is a official repository from Konduto.
Feel free to contribute with the project.

### Getting Started

Setup a local environment:

I expected that you already python3 installed in your machine

```bash
$ make setup
```

### Running tests
The CI command that setups all requirements and runs tests to assure everything is configured accordingly.

```bash
$ make test
```

### License

Copyright Alefh Sousa 2020.

Distributed under the terms of the [MIT][2] license, konduto-sdk is free and open source software.

[1]: http://docs.konduto.com/en/
[2]: https://github.com/alefhsousa/konduto-sdk/blob/master/LICENSE
Brestart 0.1
restart functions at breakpoint
License: MIT

## Function:
this module make it easy for any python script recorde results after some time-consuming task;
so if some unpredictable errors happened and crashed your script, it can pass the funcs that has already 
successfully finished, just begin from the breakpoint;

## Method:
a.  before run your task,import this module, and at the fist run step --  Brestart.preRunCheck() ;
check if something wrong ,and wether it needs breakpoint restart;    
b.  use @Brestart.logFunc to decorate the functions that cost much time,make it a recorde point;    
c.  finally Brestart.end() at the last run step ,can clear temp log and do not affect next run.