semvec/pypi-packages huggingface dataset:
wshuyi-nb2pdf 0.1.1
将Jupyter Notebook转换为优化的PDF格式，确保代码完整显示且不被截断
Requires Python: >=3.7

# wshuyi-nb2pdf

将Jupyter Notebook转换为优化的PDF格式，特别关注：
- 确保代码不会在右侧被截断
- 使用合适的字体大小
- 优化分页和布局
- 支持中文和其他非拉丁字符

## 安装

```bash
# 从PyPI安装
pip install wshuyi-nb2pdf

# 安装Playwright浏览器依赖
playwright install chromium
```

## 使用方法

### 命令行使用

```bash
# 基本用法
wshuyi-nb2pdf notebook.ipynb

# 指定输出文件
wshuyi-nb2pdf notebook.ipynb output.pdf

# 使用纵向布局
wshuyi-nb2pdf --portrait notebook.ipynb

# 调整缩放比例
wshuyi-nb2pdf --scale 0.9 notebook.ipynb

# 使用不同纸张大小
wshuyi-nb2pdf --paper-size A4 notebook.ipynb

# 查看所有选项
wshuyi-nb2pdf --help
```

### Python中使用

```python
from wshuyi_nb2pdf import convert_notebook

# 基本用法
convert_notebook('notebook.ipynb')

# 指定输出文件
convert_notebook('notebook.ipynb', 'output.pdf')

# 自定义选项
options = {
    'landscape': True,
    'scale': 0.95,
    'format': 'Letter',
    'margin': {"top": "0.5in", "right": "0.5in", "bottom": "0.5in", "left": "0.5in"},
    'wait_time': 2000,
}
convert_notebook('notebook.ipynb', 'output.pdf', options=options)
```

## 主要特性

1. **智能代码换行**：自动对长代码行进行换行，而不是截断
2. **优化的字体大小**：使用合适的字体大小，确保代码可读性
3. **防止代码块分割**：确保代码块不会在页面之间被分割
4. **横向布局**：默认使用横向布局以提供更多水平空间
5. **语法高亮保留**：在PDF中保留代码的语法高亮
6. **适合中文环境**：完全支持中文和其他非拉丁字符

## 要求

- Python 3.7+
- Jupyter Notebook
- nbconvert 6.0+
- Playwright

## 常见问题

### 安装问题

1. **安装Playwright失败**

   ```bash
   # 尝试单独安装
   pip install playwright
   playwright install chromium
   ```

2. **nbconvert依赖问题**

   确保您的环境中已安装了完整的Jupyter套件：
   
   ```bash
   pip install jupyter nbconvert
   ```

### 使用问题

1. **PDF生成为空白或代码缺失**

   尝试增加等待时间：
   
   ```python
   options = {'wait_time': 5000}  # 5秒
   convert_notebook('notebook.ipynb', options=options)
   ```

2. **中文字符显示为方块**

   确保您的环境中已安装了中文字体，或者尝试使用不同的字体。

## 版本历史

### 0.1.1 (2025-03-10)
- 修复：解决代码单元格在转换过程中丢失的问题
- 改进：确保输入单元格（代码段）在HTML和PDF中正确显示

### 0.1.0
- 初始版本
- 实现基本的Jupyter Notebook转PDF功能
- 支持自定义CSS样式和页面设置

## 许可证

MIT

## 作者

WSY
package-desafio-DIO 0.0.2
estudo de criação de pacotes
Requires Python: >=3.8

# package_desafio_DIO

Description. 
The package package_desafio_DIO is used to:
	- Processing:
		- Histrogram matching
		- Structural similarity
		- Reseze image
	- Utils:
		- Read image
		- Save image
		- Plot image
		- Plot result
		- Plot histrogram

## Installation

Use the package manager [pip](https://pip.pypa.io/en/stable/) to installpackage_desafio_DIO

```bash
pip install package_desafio_DIO
```

## Author
Henrique Blumer

## License
[MIT](https://choosealicense.com/licenses/mit/)
TornadoObj 0.0.13
Tornado

# Tornado
Just a small lib implementing obj for a tasks.

## Usage
```python
import asyncio
from tornado_obj import Tornado


async def callback(value):
    print(f"Its my value {value} that I am getting 1 time per second")


async def main():
    tornado = Tornado(callback=callback, length=1000, per_one=1)
    await tornado.add_item(0)
    await tornado.del_item(0)
    
    await tornado.add_item({"id": 1})
    
    while True:
        await asyncio.sleep(1)


if __name__ == '__main__':
    loop = asyncio.new_event_loop()
    loop.run_until_complete(main())
```
dj-paypal 0.16.1
Django / Paypal integration (based on dj-stripe)
Requires Python: <4.0,>=3.8
Keywords: django, paypal, payments

# dj-paypal

[![CI](https://github.com/HearthSim/dj-paypal/actions/workflows/ci.yml/badge.svg)](https://github.com/HearthSim/dj-paypal/actions/workflows/ci.yml)
[![PyPI](https://img.shields.io/pypi/v/dj-paypal.svg)](https://pypi.org/project/dj-paypal/)


A Paypal integration for Django, inspired by [dj-stripe](https://github.com/dj-stripe/dj-stripe).

Currently only supports subscriptions.


## Requirements

- Python 3.6+
- Django 3.1+
- Postgres 9.6+ (Non-postgres engines not supported)


## Installation

1. Install dj-paypal with `pip install dj-paypal`
2. Add `djpaypal` to django `INSTALLED_APPS` setting
3. Get a client ID and client secret from paypal and add them to the settings
   `PAYPAL_CLIENT_ID` and `PAYPAL_CLIENT_SECRET`
4. Set `PAYPAL_MODE = "sandbox"` (or `"live"`) in the settings
5. Install your Billing Plans (see below)


### Setting up billing plans

#### Download already-created billing plans from Paypal

Run `manage.py djpaypal_download_plans` to sync all plans already created upstream
into the local database.

This will create `djpaypal.models.BillingPlan` objects, which can be listed from
the Django admin.


#### Creating new Paypal billing plans

The `manage.py djpaypal_upload_plans` management command creates billing plans using
the Paypal API. An extra `PAYPAL_PLANS` setting must be set, which will contain a dict
of Paypal billing plans to create.

See `example_settings.py` for an example of plans to create.


## Webhooks

The `djpaypal.views.ProcessWebhookView` view should be hooked up to an URL endpoint
which you then set up in Paypal as a webhook endpoint (https://developer.paypal.com).

In order to verify webhooks being transmitted to your app, dj-paypal needs to know the
ID of the webhook that is expected at that URL. Set it in the setting `PAYPAL_WEBHOOK_ID`.


## Sandbox vs. Live

All models have a `livemode` boolean attribute. That attribute is set to `True` if created
in Live (production) mode, `False` otherwise (sandbox mode).
Sandbox and Live data can co-exist without issues. Once you are done testing in Sandbox
mode, use the `manage.py djpaypal_delete_all_test_data` management command to (locally)
clear all the test data. This command has no impact on the upstream data.


## Data considerations

Most of the models defined in dj-paypal are copies of the upstream Paypal model data.
Deleting or editing objects (be it from the admin or in the database) does not actually
change any of the upstream Paypal data.


## License and Sponsorship

This project was designed and developed by [HearthSim](https://hearthsim.net). It is
licensed under the MIT license. The full license text is available in the LICENSE file.
jax-bigvgan 0.0.8
JAX Implementation BigVGAN
Requires Python: >=3.8

# Nvidia Big-VGAN jax version 
## This version is working perfectly fine. 😀 
### Original https://github.com/NVIDIA/BigVGAN
# Example
```
from jax_bigvgan import load_model
bigvgan_model,bigvgan_params = load_model(model_type="24khz")
rng = {'params': jax.random.PRNGKey(0), 'dropout': jax.random.PRNGKey(0)}
res = jax.jit(bigvgan_model.apply)({"params":bigvgan_params},out[:,ref_len:],rngs=rng)
import soundfile as sf
sf.write("output.wav",res[0,0],samplerate=24000)
```
shrijuu 0.1.0
A fun Python module representing a girlfriend character with interactive features.
Requires Python: >=3.6

# Shrijuu

A fun Python module representing a girlfriend character with interactive features.

## Installation

```
pip install shrijuu
```

## Usage

```python
from shrijuu import Shrijuu

# Initialize your girlfriend
shrijuu = Shrijuu(name="Shrijuu")

# Express love
print(shrijuu.express_love())

# Plan dates
print(shrijuu.plan_date())

# Add memories
shrijuu.add_memory("Our first date")
print(shrijuu.share_memories())

# Set important dates
shrijuu.set_birthday("1998-06-15")
shrijuu.set_anniversary("2022-09-22")

# And many more features!
```

## Features

* Express love and affection
* Plan dates
* Store and share memories
* Track important dates
* Gift recommendations
* Mood system
* Virtual hugs and kisses
* Inside jokes
* Wishlist management
* Relationship milestones
* Pet names
* Relationship status tracking
* Activity suggestions

## License

MIT License