semvec/pypi-packages huggingface dataset:
ordinal-number 0.2
A package to use OrdinnalNumber
License: MIT

This package is for ordinal numbers. Ordered numbers are a concept from set theory that extends the natural numbers to compare the "length" of aligned sets. This library implements ordered numbers: sum, difference (left-hand inverse), product, quotient (left-hand inverse), truncation, division, remainder, comparison of sizes, square root, etc. If I have enough power, I will also create "log", "n-square root" and "factorial". If requested, I will make others. (my Email:alphagameplayerpro$gmail.com (please replace $ to @))
And,
```
omega = ordinal_number.OMEGA
```
at the beginning of the program. That way, it is intuitive and the output of repr() can be executed as is.


References
http://www.behounek.online/logic/papers/ordcalc/index.html
https://proofwiki.org/wiki/Division_Theorem_for_Ordinals#Existence_of_%7F'%22%60UNIQ-MathJax-9-QINU%60%22'%7F_and_%7F'%22%60UNIQ- MathJax-10-QINU%60%22'%7F
https://manabitimes.jp/math/1318 (Japanese site)

examples

improt ordinal-number as ord

omega = ord.OMEGA

#__add__
omega+1+omega+omega+1
#>>> omega*2+1

#__sub__  A-B := (X such that B+X=A) if not exists, return None
(omrga**2*2+omega*2+1)-omega**2
#>>> omega**2+omega*2+1
(omega*2+1)-omega**2
#>>> None

#__mul__
(omega+1)*(omega+1)
#>>> omega**2+omega+1

#__truediv__  A/B := (X such that B*X=A) if not exists, return None
(omega**2+omega+1)/(omega+1)
#>>> omega+1
(omega**2+omega+1)/omega
#>>> None

#__floordiv__  A//B := (X such that B*X+Y=A ,0<=Y<B)
(omega**2+omega+1)//(omega+1)
#>>> omega+1
(omega**2+omega+1)//omega
#>>> omega+1

#__truediv__  A%B := (Y such that B*X+Y=A ,0<=Y<B)
(omega**2+omega+1)%(omega+1)
#>>> 0
(omega**2+omega+1)%omega
#>>> 1

#__pow__
(omega+1)**2
#>>> omega**2+omega+1
2**omega
#>>> omega
omega**2
#>>> omega

#sqrt(self)
(omega**2+omega+1).sqrt()
#>>> omega+1
mkjsfiddle 1.0.1
An MkDocs plugin that lets you edit code fences in JSFiddle.
License: MIT
Requires Python: >=3.8, <4
Keywords: mkdocs jsfiddle plugin

# MkDocs JSFiddle Plugin

A plugin for [MkDocs](https://www.mkdocs.org/) that lets you
augment your code fences with an "Try it in JSFiddle" button.

## Installation

This package can be installed via pip.

```
pip install mkjsfiddle
```

Then, add `jsfiddle` to the `plugins` section of your `mkdocs.yml`
file.

```yaml
plugins:
  - jsfiddle
```

## Usage

Code fences will be left alone by default, as many code blocks may not
form a coherent block for a user to edit. To opt in for a given code fence,
add `jsfiddle-` to your fence language declaration, like so.

~~~markdown
```jsfiddle-html
<!DOCTYPE html>
<!-- Some content here -->
```
~~~

The `html` above will be preserved for syntax highlighting, and the
`jsfiddle-` will be dropped. Other languages are theoretically
supported, but will have no impact besides code highlighting.

The default behavior is for a simple HTML parser to extract the inline JS
and CSS elements and put their contents in the appropriate JSFiddle panels.
More specifically, if you have a `script` tag with the attribute `type=text/javascript`
AND not having the `src` attribute, or if you have a `style` tag with the attribute
`type=text/css`, it will be extracted to the appropriate panel. If you have multiple
of these, they will all be extracted and concatenated with some newlines thrown in as
breaks.

If you prefer to opt out of this behavior and just dump everything as-is into
the HTML box, you can add `-htmlonly` to the language string (for a full string that
looks something like `jsfiddle-html-htmlonly`).

## Known limitations

We attempt to keep formatting as-is, but make no guarantees in the default mode. The
`-htmlonly` option however should preserve formatting (if it does not, please submit
a bug report). This has been developed and tested with [Material for MkDocs](https://github.com/squidfunk/mkdocs-material),
and has not been tested extensively with additional styles. Pull requests to improve styling
are welcome.