semvec/pypi-packages huggingface dataset:
ankilol 0.1.0
A system for parsing and creating Anki flashcards from your existing documents
License: MIT
Requires Python: >=3.10,<4.0

# Anki Card Knowledge Syncer

## The Problem
I like to ask lots of questions, but I can't always immediately find out the answers to those questions. So I store them in a google doc. When I do figure out the answers, I add them. Now, I would like to take that question/answer pair and create an Anki flashcard, so that I can store it in my long-term memory. However, copy-pasting these questions and answers into anki is a time-consuming process, and one which can be fully automated. 

## The solution
This project takes a formatted set of questions and answers stored as a cloud document, creates flashcards from those question/answer pairs, adds them to an Anki deck, and syncs that local deck with AnkiWeb. 

## Example usage with locally-downloaded HTML files
```
python -m card_parser input_file.html
```

## Example usage with locally-downloaded text files
```
python -m card_parser input_file.txt
```

## Example usage with files stored on google drive
### Prerequisites
#. Sign up for a google cloud account
#. Create a new project and service account for that project
#. Share the document with the service account's e-mail
#. Download the service account's .json credentials and place in `service_account.json` file in `card_parser` directory
#. Setup config.ini to point to the appropriate google doc ID

Then, just run the following command:
```
python -m card_parser
```

Your document should have been uploaded in-place.

## Disclaimer
NOTE: This package is currently under development, and has not yet been published to pip. The only current way to install it is through cloning this repository.
schemaser 1.0.1
Converts a Python class or method to a JSON schema.
License: MIT
Requires Python: >=3.6
Keywords: json,jsonschema,schema,class,method

# schemaser
Converts a Python class or method to a JSON schema.

## Install
```
pip install schemaser
```

## Example
```py
import schemaser

class MyClass():
    def __init__(self, string:str=None, integer:int=None, float:float=None):
        pass

    # Custom magic method for custom schemas
    # def __schema__(self):
    #     return {}

def MyMethod(value:str, **kw:cls):
    pass

def func1(string:str, integer:int, float:float, tuple:list[str,int], array:list[str|int], object:MyClass, func:MyMethod):
    pass

# Convert func1 method to JSON Schema.
dat = schemaser.to_schema(func1)
print(dat)
```