semvec/pypi-packages huggingface dataset:
mofid-singular-finder 0.0.5
A simple library for finding words with Second person singular pronouns.
License: MIT

## mofid singular finder

A simple library for finding words with Second person singular pronouns.
for example:
* ماشینم : False
* ماشینت : True
* رفتم : False
* رفتی : True

***
### Installation
### Usage
    from mofid_singular_finder import SingularDetector
    word = SingularDetector()
    word = word.singular_checker("حسابت")
    print(word)
#### input
should be string
#### output
Boolean:

    True, If the word is in the second person singular.
    Flase, otherwise.
cusser 0.1.1
A curses wrapper that understands ANSI escape code sequences
License: MIT
Requires Python: >=3.8,<4.0
Keywords: ansi-escape-codes,ansi,cli,command-line,console,cuia,curses,cusser,ncurses,pdcurses,terminal,tui

[![PyPI](https://img.shields.io/pypi/v/cusser)](https://pypi.org/project/cusser/)
[![Python package](https://github.com/getcuia/cusser/actions/workflows/python-package.yml/badge.svg)](https://github.com/getcuia/cusser/actions/workflows/python-package.yml)
[![PyPI - License](https://img.shields.io/pypi/l/cusser)](https://github.com/getcuia/cusser/blob/main/LICENSE)

# [cusser](https://github.com/getcuia/cusser#readme) 🤬

<div align="center">
    <img class="hero" src="https://github.com/getcuia/cusser/raw/main/banner.jpg" alt="cusser" width="33%" />
</div>

> A curses wrapper that understands ANSI escape code sequences

cusser is a lightweight Python package for teaching
[curses](https://docs.python.org/3/library/curses.html) how to use
[ANSI escape code sequences](https://en.wikipedia.org/wiki/ANSI_escape_code). It
works by wrapping the curses standard window object and intercepting escape code
sequences.

## Features

-   ♻️ Easily integrate with the
    [standard `curses` module](https://docs.python.org/3/library/curses.html)
-   🕹️ Use the same escape code sequences
    [as you would with Colorama](https://github.com/tartley/colorama#recognised-ansi-sequences)
-   🖍️ Only one dependency: [stransi](https://github.com/getcuia/stransi) (for
    actuallly parsing escape code sequences)
-   🐍 Python 3.8+

## Installation

```console
$ pip install cusser
```

## Usage

```python
In [1]: import curses

In [2]: from cusser import Cusser

In [3]: def app(stdscr) -> None:
   ...:     """Start a new application."""
   ...:     if not isinstance(stdscr, Cusser):
   ...:         stdscr = Cusser(stdscr)
   ...:
   ...:     ultra_violet = (100, 83, 148)
   ...:     x, y = 34, 12
   ...:     stdscr.addstr(
   ...:         f"\033[2J\033[{x};{y}H"
   ...:         "\033[1;32mHello "
   ...:         f"\033[;3;38;2;{';'.join(map(str, ultra_violet))}m"
   ...:         "cusser"
   ...:         "\033[m 🤬!"
   ...:     )
   ...:     stdscr.refresh()
   ...:     stdscr.getch()
   ...:

In [4]: curses.wrapper(app)

```

![Screenshot](https://github.com/getcuia/cusser/raw/main/screenshot.png)

## Credits

[Photo](https://github.com/getcuia/cusser/raw/main/banner.jpg) by
[Gwendal Cottin](https://unsplash.com/@gwendal?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)
on
[Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText).
dataclass-property 1.4.1
Add the ability to use properties with dataclasses.
License: MIT
Keywords: dataclasses dataclass property field_property

==================
dataclass_property
==================

Add the ability to use properties with dataclasses.
This allows for better input validation on dataclasses.

Most of the code base is a direct copy from dataclasses with modifications.
Unfortunately, dataclasses were not written in a way where you can extend the functionality easily.
I changed the code to use a class based system, so the functionality could be extended.
It's still not fun to work with the dataclasses library.


Examples
========

.. code-block:: python

    from typing import Union
    from dataclass_property import dataclass

    @dataclass
    class TimeDelta:
        hours: int = 0
        minutes: int = 0
        milliseconds: int = 0

        @property
        def seconds(self) -> int:  # default_factory is set to `int()` from the annotation
            return self._seconds

        @seconds.setter
        def seconds(self, value: Union[int, float]):
            if isinstance(value, float):
                mill = int((value % 1) * 1000)
                if mill:
                    self.milliseconds = mill
            self._seconds = int(value)

    td = TimeDelta(minutes=1)
    td.seconds = 0.5
    assert td.seconds == 0
    assert td.milliseconds == 500

    td = TimeDelta(seconds=0.1)
    assert td.seconds == 0
    assert td.milliseconds == 100


`field_property` example with custom defaults

.. code-block:: python

    from dataclass_property import dataclass, field_property

    @dataclass
    class Point:
        # X
        @field_property(default=1)
        def x(self) -> int:
            return self._x

        @x.setter
        def x(self, value: int):
            self._x = value

        # Y
        y: int = field_property(default=1)

        @y.getter
        def y(self) -> int:
            return self._y

        @y.setter
        def y(self, value: int):
            self._y = value

        # Z
        @field_property
        def z(self) -> int:
            return self._z

        z.default(5)

        @z.default_factory
        @classmethod
        def z(cls):
            return 5

        @z.setter
        def z(self, value: int):
            self._z = value

    p = Point()
    assert p.x == 1
    assert p.y == 1
    assert p.z == 5

    p = Point(x=2, y=2, z=6)
    assert p.x == 2
    assert p.y == 2
    assert p.z == 6
Js2Py-Ext 0.72.2
Forked from Js2py 0.71 (https://github.com/PiotrDabkowski/Js2Py). Optimize Node.js module import and console logging.
License: MIT

Translates JavaScript to Python code. Js2Py is able to translate and execute virtually any JavaScript code.

Js2Py is written in pure python and does not have any dependencies. Basically an implementation of JavaScript core in pure python.


    import js2py

    f = js2py.eval_js( "function $(name) {return name.length}" )

    f("Hello world")

    # returns 11

Now also supports ECMA 6 through js2py.eval_js6(js6_code)!

More examples at: https://github.com/PiotrDabkowski/Js2Py