semvec/pypi-packages huggingface dataset:
ltck 0.1.1
Lingorithm Text Classification Kit
License: MIT

# Lingorithm Text Classification
This package is the core function for any NLP operation or pacakge used by lingorithm.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install ltck.

```bash
pip install ltck
```

# Usage
### Data 
Input data is a list of tuples 
```Python
data = [
    ("Help me please", "commonQ.assist"),
    ("Is this a bot?", "commonQ.bot"),
    ("Is there a bot chatting to me?", "commonQ.bot")
]
```
```Python
import ltck

tc = ltck('en', data) 

tc.train(epochs=20, batch_size=8, model_name="commonQ_v1")


classified = tc.classify("Help me please")

print(classified)
# [('commonQ.assist', 0.9737932),
#  ('commonQ.not_giving', 0.012769885),
#  ('commonQ.name', 0.0071987235),
#  ('commonQ.how', 0.002869619),
#  ('commonQ.query', 0.0023981368),
#  ('commonQ.bot', 0.000478917),
#  ('faq.bad_service', 0.0003706195),
#  ('faq.aadhaar_missing', 5.4887507e-05),
#  ('faq.apply_register', 3.3203887e-05),
#  ('commonQ.just_details', 1.60179e-05),
#  ('faq.biz_new', 9.965993e-06),
#  ('faq.application_process', 3.101246e-06),
#  ('faq.borrow_limit', 1.6019511e-06),
#  ('faq.borrow_use', 1.4953373e-06),
#  ('commonQ.wait', 2.9794015e-07),
#  ('faq.biz_simpler', 2.6959242e-07),
#  ('contact.contact', 9.587218e-08),
#  ('faq.biz_category_missing', 5.7328425e-08),
#  ('faq.approval_time', 5.5687766e-09),
#  ('faq.banking_option_missing', 1.6084242e-09),
#  ('faq.address_proof', 1.3430994e-09)]

```


## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)
axiomathbf 0.0.4
Multivariable Calculus Aid
License: MIT
Keywords: Python,Multivariable Calculus,Sympy,Latex

<p align="center">
  <img src="https://github.com/AoWangPhilly/axiomathbf/blob/master/axiomathbflogo.png?raw=true"/>
</p>

Axiomathbf is a Mathematical Aid package for Multivariate Calculus, used mainly for Jupyter Notebook due to outputs mainly are in Latex. But users can solve Multivariate Calculus problems using any Python environment. Axiomathbf can find the relative and absolute extrema of a function to calculating the gradient and directional derivative of a function.

I decided to create Axiomathbf when I began Math 200 at Drexel University in the winter. As a freshman, I wanted to implement what I learned from my CS courses. And math was what started my CS journey when I first programmed my TI-84.

## Table of Content

* [Technologies Used](#tech)
* [Installation](#install)
* [How Does it Work?](#how)
* [User Manual](#user)
* [Further Goals](#goals)
* [License](#license)

## <div id="tech"> Technologies Used </div>

* Python
* [Sympy](https://www.sympy.org/en/index.html) - A computer algebra system written in pure Python
* [Jupyter Notebook](https://jupyter.org/) - an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text

##  <div id="install"> Installation </div>

``` bash
git clone git@github.com:ow-wow-wang/axiomathbf.git
```

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

##  <div id="how"> How Does it Work? </div>

* For each module, I created a class related to the topic of the chapters, like creating the VectorFunction class to solve vector-related problems in chapters 11-12 in the Calculus Early Transcendentals textbook, which talk about Three-Dimensions Space, Vectors, and Vector-Valued Functions.
* I mainly used Sympy to derive, integrate, and other operations to solve these problems
* I also used OOP-design, as it allows me to write more clean code

##  <div id="user"> Documentation </div>

Find the documentation at [https://aowangphilly.github.io/axiomathbf](https://aowangphilly.github.io/axiomathbf/) to learn how to use Axiomathbf

##  <div id="goals"> Further Goals </div>

* I hope to create a Flask web application, so people who aren't familiar with programming can still solve MV problems
* I also want to create an mobile app that solves Linear Algebra problems using Sympy and OpenCV

##  <div id="license">  License </div>

  + [MIT](https://choosealicense.com/licenses/mit/)
lektor-thumbnail-generator 0.5.0
This plugin automatically generates thumbnails for any images in your Lektor content. The difference between this plugin and the `thumbnail` filter is that this is geared towards content, i.e. you don't need to have any references to the images in your templates at all.
License: MIT

Lektor Thumbnail Generator
==========================

This plugin automatically generates thumbnails for any images in your Lektor
content. The difference between this plugin and the `thumbnail` filter is that
this is geared towards content, i.e. you don't need to have any references to
the images in your templates at all.


Usage
-----

Use this plugin if you want to be able to link to full-size images in your
content, but still want thumbnails to be generated for the link itself. For
example, you may have an image called `cat.jpg`, and to link to it in the
*content* (not the template), but also show a thumbnail.

You can do that like so:

~~~
<a href="cat.jpg"><img src="cat-small.jpg" /></a>
~~~


Installation
------------

To install the plugin, just add `lektor-thumbnail-generator` to your plugins
from the command line:

~~~
lektor plugins add lektor-thumbnail-generator
~~~

If you have trouble, see the [plugin
installation](https://www.getlektor.com/docs/plugins/) section of the Lektor
documentation.

Then, create a config file called `configs/thumbnail-generator.ini` and add
a few sections for images. The section names can be whatever you want, the
final images will be called `imagename-sectionname.ext`. For example, this
config file:

~~~
[small]
max_width = 30

[medium]
max_width = 400
max_height = 400

[woowee]
max_width = 2000
~~~

Will take a file called `cat.jpg` and create the files `cat-small.jpg`,
`cat-medium.jpg` and `cat-woowee.jpg`. All the files will be created, regardless
of whether the original file is smaller, so you can link without worrying
whether a file will exist or not. If the original file is smaller than the width
you have specified, the file will only be copied, and will not be resized.
The `max_width`/`max_height` parameters work like for the [Lektor
thumbnail](https://www.getlektor.com/docs/api/db/record/thumbnail/) command.
pandacell 2020.9.19
IPython wrapper to more easily manipulate Pandas dataframes.
License: MIT
Keywords: pandas

# pandacell

Author: Eirik B. Stavestrand

Introduces a `%df` (or `%%df`) magic which can be used in Jupyter notebooks and the IPython console.

The magic executes the contents of a cell on a Pandas DataFrame.

## Description
Pandas is great and all, but writing Pandas code can be tedious. For example when simply making summing two columns:

```python
    In [1]: df["a"] + df["b"]
```

It might not look like such a big deal, but all those brackets and quotation marks add up.
Using *pandacell*, the above syntax can be written as:

```python
    In [2]: %df a + b
```

Under the hoods, this is accomplished simply by passing the cell contents as a string to Pandas' [`df.eval`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.eval.html) function.
This isn't very complex, but it does provide a fair deal of functionality and adds a whole lot of readability.

If you wish to store the results to a new column, use regular assignment along with the `-i` (or `--inplace`) flag:

```python
    In [3]: %df -i c = a + b
```
It also works with multiple assignments:

```python
    In [4]: %%df -i
       ...: c = a + b
       ...: f = c - a
```
You can use Pandas' various accessors and series method calls:

```python
    In [5]: %%df -i
       ...: name_upper = name.str.upper()
       ...: yr = timestamp.dt.year
       ...: lower_cased = species.where(cond=species.str[0].str.islower(), other=None)
```

Since variable names are assumed to be columns in the dataframe, regular variables in the local/global namespace can be accessed by prefixing with `@`

```python
    In [6]: a = 1
       ...: %df a = @a + 1

    In [7]: def myfunc(row):
        ...:     return row + 43
        ...: %df b = a.apply(@myfunc)
```

By default, pandacell operates on any dataframe named `df`. This can be overridden with the `-n` (or `--name`) flag:

```python
    In [8]: %df -n=df_in c = a + b
```

You can also print subset a dataframe with the `-q` (or `--query`) flag:

```python
    In [9]: %df -q species == "setosa"
    Out[9]:
        sepal_length  sepal_width  petal_length  petal_width species  a
    0            5.1          3.5           1.4          0.2  setosa  0
    1            4.9          3.0           1.4          0.2  setosa  0


    In [10]: %df -q species.isna() #check for missing values
    Out[10]:
    Empty DataFrame
    Columns: [sepal_length, sepal_width, petal_length, petal_width, species]
    Index: []
```

This can be combined with the `-i` flag to subset the dataframe in-place:

```python
    In [10]: %df -q -i species == "setosa"
```

Pandacell even supports comments

```python
    In [11]: %%df -i
       ...: # Line comment
       ...: c = a + b # Comment at end of line
```


## Inspired by
https://github.com/catherinedevlin/ipython-sql


## Development
https://github.com/eirki/pandacell
django-json-error-response 0.1
Json Response for http error codes
License: MIT
Keywords: Django,HttpResponse,Response

# Django Error Response In Json

[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://github.com/subodh358/django_status_response)

django_json_error_response is ready to use library for django to show response in customized JsonResponse.

# New Features!
  - Easy to use response than generic JsonResopnse.
  - Support django-3+ version (Self Tested)


You can also:
  - Contribute (https://github.com/subodh358/django_status_response)

### Use:
```sh
from django_json_error_response.http import (
        Http400Response,
        Http403Response,
        Http404Response,
        Http500Response,
        SuccessResponse,
        ErrorResponse
    )
#code lines
def my_view(request):
    if my_condition :
        #your code
        return SuccessResponse(message=my_message)  #default status is 200 for this response
    else:
        return ErrorResponse(message=my_message, status=status_code) #status_code can be anything that you want to respond with.
        
def my_custom_view(request):
    if condition:
        #your code
        return SuccessResponse(message=my_message)
    else:
        Http404Response(message=my_message)

```
### For ErrorResponse()
> ErrorResponse take two arguments 
~ message
~ status (for error except 404,403,400,500)

### Exra information
>You can also pass json data insted of message or both at same time in every Resonse.


License
----
MIT

**Free Software, Hell Yeah!**
django-status-response 0.1
Json Response for http error codes
License: MIT
Keywords: Django,HttpResponse,Response

# Django Error Response In Json

[![Build Status](https://travis-ci.org/joemccann/dillinger.svg?branch=master)](https://github.com/subodh358/django_status_response)

django-status-response is ready to use library for django to show response in customized JsonResponse.

# New Features!
  - Easy to use response than generic JsonResopnse.
  - Support django-3+ version (Self Tested)


You can also:
  - Contribute (https://github.com/subodh358/django_status_response)

### Use:
```sh
from django_status_response.http import (
        Http400Response,
        Http403Response,
        Http404Response,
        Http500Response,
        SuccessResponse,
        ErrorResponse
    )
#code lines
def my_view(request):
    if my_condition :
        #your code
        return SuccessResponse(message=my_message)  #default status is 200 for this response
    else:
        return ErrorResponse(message=my_message, status=status_code) #status_code can be anything that you want to respond with.

def my_custom_view(request):
    if condition:
        #your code
        return SuccessResponse(message=my_message)
    else:
        Http404Response(message=my_message)

```
### For ErrorResponse()
> ErrorResponse take two arguments 
~ message
~ status (for error except 404,403,400,500)

### Exra information
>You can also pass json data insted of message or both at same time in every Resonse.


License
----
MIT

**Free Software, Hell Yeah!**
llck 0.1.2
Lingorithm Language Core Kit
License: MIT

# Lingorithm Language Core Kit
This package is the core function for any NLP operation or pacakge used by lingorithm.

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to install llck.

```bash
pip install llck
```

# Usage
```Python
import llck

nlp = llck('ar', {'tokenize': 'tokenize' }) 

processed = nlp.process('منشار أرضيتم بالحيوة الدنيا من الأخرة')

print(processed.sentences[0].tokens)
# [منشار, أرضيتم, ب, الحيوة, الدنيا, من, الأخرة]
```


## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)
easy-differ 0.2.1
Compare Text line by line. See different text and their lines
License: MIT
Keywords: DIFFER,COMPARE,TEXT COMPARE,ARRAY COMPARE

# Differ

Compare Texts with easy_differ

let's assume you're working with big files and you have one expected output file and you need to make your output is same but you're noticing  some lines have diferent places in file even it's same.

Beyond compare is displaying diference but when you check manually, you can notice your code changed place of lines (example creating xml file in runtime)
Normally text will same but you are displaying difference.

Easy to use and easy to see missing lines.

# Functions

## text_diff

Input Type = str
text_diff(left_text, right_text, get_line=False, prettier=True)

## list_diff

Input type = List
list_diff(left_lines, right_lines) 


### [Easy Differ](https://pypi.org/project/easy-differ/)