semvec/pypi-packages huggingface dataset:
engineering-notation 0.12.0
Easy engineering notation
Requires Python: >=3.11

[![Unit Tests](https://github.com/slightlynybbled/engineering_notation/actions/workflows/unittest.yml/badge.svg)](https://github.com/slightlynybbled/engineering_notation/actions/workflows/unittest.yml)

# Purpose

To easily work with human-readable engineering notation.  I wrote this as a quick tool for my own use.
I found that I was writing the same functionality into multiple packages and would like a quick pip-installable
package to take care of this manipulation for me.  The package should be easily extended for other use cases.
The package is unit-less, so only operates on numeric values.  Unit detection may be added in future versions.

More information may be found at [for(embed)](http://forembed.com/engineering-notation-in-python.html).

# Installation

Install using pip: `pip install engineering_notation`.

# Usage

There are multiple ways of initializing a number to a particular value, but a string is the preferred method:

```
>>> from engineering_notation import EngNumber
>>> EngNumber('10k')
10k
>>> EngNumber('10000')
10k
>>> EngNumber(10000)
10k
>>> EngNumber(10000.0)
10k
>>> EngNumber(1e4)
10k
```

Where decimals are involved, we use a default precision of 2 digits:

```
>>> EngNumber('4.99k')
4.99k
>>> EngNumber('4.9k')
4.90k
```

This behavior can truncate your results in some cases, and cause your number to round.  To specify more or less
digits, simply specify the precision in the declaration:

```
>>> EngNumber('4.999k')
5k
>>> EngNumber('4.999k', precision=3)
4.999k
```

Most operations that you would perform on numeric values are valid, although all operations are not implemented:

```
>>> EngNumber('2.2k') * 2
4.40k
>>> 2 * EngNumber('2.2k')
4.40k
>>> EngNumber(1.2) > EngNumber('3.3k') 
False
>>> EngNumber(1.2) <= EngNumber('3.3k')
True
>>> EngNumber('3.3k') == EngNumber(3300)
True
```

All of the above operations are also possible on the `EngUnit()` class as well.  The only difference is
that units must match for addition/subtraction/comparison operations.  Although multiplication and division
operations will work numerically, they may not always be strictly correct.  This is because EngUnit is not
intended to replace a computer algebra system!

```
>>> EngUnit('2s') / EngUnit('4rotations')
0.5s/rotations
```

Additionally, since there are 'reserved' letters for sizing the number, you must be careful with your units!

```
>>> EngUnit('2mm')
2mm        # <<< this value equivalent to "0.002m"
>>> EngUnit('2meter')
2meter     # <<< this value is equivalent to "0.002eter", the "m" was used to scale the unit!
>>> EngUnit('2', unit='meter')   # <<< this will work better
```

# Contributions

Contributions are welcome.  Feel free to make feature requests in the issues.

## Test Installation

If you are developing, you probably want to perform a local editable installation:

```bash
uv run pip install -e .
```

## Testing

```bash
uv run python -m pytest
```
neutron-vpnaas 25.0.1
OpenStack Networking VPN as a Service
Requires Python: >=3.8

Welcome!
========

This package contains the code for the Neutron VPN as a Service
(VPNaaS) service. This includes third-party drivers. This package
requires Neutron to run.

External Resources:
===================

The homepage for Neutron is: https://launchpad.net/neutron.  Use this
site for asking for help, and filing bugs. We use a single Launchpad
page for all Neutron projects.

Code is available on opendev.org at:
https://opendev.org/openstack/neutron-vpnaas.

Please refer to Neutron documentation for more information:
`Neutron README.rst <https://opendev.org/openstack/neutron/src/branch/master/README.rst>`_

Team and repository tags
========================

.. image:: https://governance.openstack.org/tc/badges/neutron-vpnaas.svg
    :target: https://governance.openstack.org/tc/reference/tags/index.html
nonebot-plugin-osugreek 1.0.9
在图片中央贴上神秘4k希腊字母并添加色散效果的 NoneBot2 插件
Requires Python: >=3.8

# nonebot-plugin-osugreek
<h1 align="center">✨ 4k希腊字母BG生成器 ✨</h1>
<p align="center">
_✨ 在图片上添加osu!mania 4k神秘希腊字母的 NoneBot2 插件，可批量生产练习图BG ✨_
</p>
<p align="center">
  <a href="https://raw.githubusercontent.com/cscs181/QQ-Github-Bot/master/LICENSE">
    <img src="https://img.shields.io/github/license/cscs181/QQ-Github-Bot.svg" alt="license">
  </a>
  <a href="https://pypi.python.org/pypi/nonebot-plugin-analysis-bilibili">
    <img src="https://img.shields.io/pypi/v/nonebot-plugin-analysis-bilibili.svg" alt="pypi">
  </a>
  <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">
</p>


## 介绍

- 在图片中央贴上神秘的4k希腊字母
- 顺便添加色散视觉效果


## 快速安装
<details><summary> 本插件依赖以下库：</summary>
  
```shell  
nonebot2 >= 2.3.0
  
Pillow >= 9.0.0

aiohttp >= 3.8.0

nonebot-plugin-localstore >= 0.3.0
```

</details>

### 使用 nb-cli (暂留空)

```shell
nb plugin install nonebot-plugin-osugreek
```

### 通过 pip 安装

```shell
pip install nonebot-plugin-osugreek
```

### 从 GitHub 安装

```shell
https://github.com/YakumoZn/nonebot-plugin-osugreek.git
```


## 使用

### 基础命令

```shell
/osugreek <希腊字母名称>
```
或
```shell
/希腊字母 <希腊字母名称>
```

### 使用方式
- 回复图片消息并输入：/osugreek <希腊字母名称>

<details> 
<summary><strong>示例</strong></summary>

![](https://i.ibb.co/xTL64vr/228922e3afd8a362ad5612a0645951b7.jpg)
*我得了一种看见希腊字母就会笑的病*
</details>


### 其他


<details><summary><strong>配置</strong></summary>


在 `.env` 文件中可以设置以下配置项：

```env
# 色散强度（范围1-10，默认4）
OSUGREEK_CHROMATIC_INTENSITY=4
```
</details>
<details><summary><strong>图片</strong></summary>

  
- 默认提取 **images/** 目录内的所有PNG格式文件
- 如果需要添加或修改新的希腊字母，只需将 PNG 图片放入 images/ 目录即可

</details>
gemcaplib 0.2.2
Gemtext renderer with state persistence.
Requires Python: >=3.8
Keywords: cgi, gcl, gemcaplib, gemini, gemtext, gmi, hypertext

# Gemini Capsule Library
A Gemtext renderer designed for data persistence! Or something like that.

Includes...
- Automatic form handling and rendering with many input types (multi select, link input, etc.)
- Capsule wide data persistence through global storage (use form data on other pages for example)
- User defined callbacks for page load and page submission.
- Configurable to work with (hopefully) any Gemini server!

Hosted on [SourceHut](https://git.sr.ht/~abraxas/gemini-capsule-library)

## Install via pip
`pip install gemcaplib`

## Documentation
[View on Gemini](gemini://hidden.nexus/gcl/documentation/)

## Demo
You can view the demo in Gemspace! The `content` and `documentation` folders contain pages written with GCL. These are being served on Hidden Nexus.

[View The Demo](gemini://hidden.nexus/gcl/content/demo)

[Hidden Nexus](gemini://hidden.nexus) as a whole was written in a much older, less modular version of GCL. That being said, it's a great example of how far this library can be taken (accounts, settings, captchas).

## Improvement Tracker
[Feel free to request improvements!](https://todo.sr.ht/~abraxas/GCL-Improvements)