semvec/pypi-packages huggingface dataset:
PeakPxApi 1.0.0
get/search wallpapers from https://www.peakpx.com/
Requires Python: >=3.6

# PeakPX
Unofficial python wrapper for PeakPX.com API


## Installation
```$ pip install PeakPxApi```

## Usage
```
from PeakPxApi import PeakPx

px = PeakPx()

#get wallpapers
wallpapers = px.get_wallpapers() #it will return a list of wallpapers

#pagination 
wallpapers = px.get_wallpapers(page=2) #by deafult its one

#search wallpapers
wallpapers = px.search_wallpapers(query='one piece') #you can also paas a page parameter here like page =2 by default its 1
```
Peakpx 0.0.1
get/search wallpapers from https://www.peakpx.com/
Requires Python: >=3.6

# PeakPX
Unofficial python wrapper for PeakPX.com API


## Installation
```$ pip install Peakpx```

## Usage
```
from PeakpxAPI import PeakPx

px = PeakPx()

#get wallpapers
wallpapers = px.get_wallpapers() #it will return a list of wallpapers

#pagination 
wallpapers = px.get_wallpapers(page=2) #by deafult its one

#search wallpapers
wallpapers = px.search_wallpapers(query='one piece') #you can also paas a page parameter here like page =2 by default its 1
```
odoo8-addon-sale-quotation-sourcing-stock-route-transit 8.0.0.1.0.99.dev11
Link module for sale_quotation_sourcing + stock_route_transit
Requires Python: ~=2.7

Sale Quotation Sourcing with Stock Route Transit
=================================================

Description
===========

This module makes sure `sale_quotation_sourcing` and `stock_route_transit` (from
https://github.com/OCA/stock-logistics-workflow) work fine together: it updates the onchange
methods selecting the route of the sale order line to handle the transit
locations.


Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/sale-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed feedback
`here <https://github.com/OCA/sale-workflow/issues/new?body=module:%20sale_quotation_sourcing_stock_route_transit%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.


Credits
=======

Contributors
------------

* Alexandre Fayolle <alexandre.fayolle@camptocamp.com>

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: http://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.
odoo8-addon-sale-pricelist-discount 8.0.1.0.0.99.dev14
Sale Pricelist Discount
Requires Python: ~=2.7

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
    :alt: License: AGPL-3

=======================
Sale Pricelist Discount
=======================

This module allows specifying a default percentage discount to apply
to sale order lines.  This ensures the pricelist discount is visible
on quotations and sale orders.

Installation
============

Nothing special is needed to install this module.

Configuration
=============

Pricelist configuration:

* Add discount percentage value to pricelist items for which the
  discount should be visible on sale order lines

Usage
=====

* Select pricelist on sale order line
* The discount defined on pricelist item will be populated as
  the sale order line discount percentage

Known issues / Roadmap
======================

* Incompatible with product_visible_discount

Credits
=======

Contributors
------------

* Jacob Hicks <jacob.hicks@credativ.co.uk>

Maintainer
----------

.. image:: http://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: http://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.
psql-stat-optimizer 0.0.45
Postgresql Set Statistics

# query-plan-optimizer
[![](https://img.shields.io/pypi/v/psql-stat-optimizer)](https://pypi.org/project/psql-stat-optimizer/) [![](https://img.shields.io/pypi/djversions/psql-stat-optimizer)](https://pypi.org/project/psql-stat-optimizer/)

Postgresql Statistics are vital for a good query plan. This library finds tables with large number of live tuples and tries to find related models with foreign key to the model and sets statistics for the field on destination model.

## Installation
```bash
$ pip install psql-stat-optimizer
```
add `psql_optimizer` to your `INSTALLED_APPS`

## usage:
### Using full optimize command:

```bash
$ ./manage.py optimize_statistics
```

#### Valid Parameters:
- set_all: if passed as `True` it sets for all founded models automatically
- analyze_all: if passed as `True` it analyzes all models after their statistics is changed
- live_tup_count: the minimum number of n_live_tup to consider as a big table. *default is 100000*
- statistics: the statistics value you want to set to. *default is 10000*

### Using statistics command:

```bash
$ ./manage.py set_statistics
```

#### Parameters:
- table: the target table name
- column: the target column
- statistics: the target statistics

## TODO:
- remove time.sleep which is used for printing
- add command for analyze a table manually
MistressGPT 0.9.9
MistressGPT: 基于GPT3.5的女王聊天室 👠

# MistressGPT: 基于 GPT3.5 的女王聊天室 👠

## 介绍

安装

```
pip install MistressGPT
```

## 使用

在使用前请设置好 `OPENAI_API_KEY` 环境变量，具体请参考 [OpenAI API](https://platform.openai.com/account/api-keys)

```shell
# 启动命令行聊天
mistressgpt cli

# 启动网页聊天
mistressgpt gui


# 启动网页聊天, 但是使用从URL提取的任意外部人格模板
mistressgpt gui --ext-url https://pastebin.com/raw/iXGrxWgF
```

## 外部人格模板

外部人格模板为一个 URL，指向一个文本文件，文件内容为人格模板，格式样例如下：

```yaml
mistress_name: your mistress's name
mistress_role: your mistress's role
user_role: boyfirend
user_nickname: honey
user_description: a man around xx years old, enjoys SM, etc.
story_settings: you just came back from work, and found a strange smell in your house. It turns out that your husband masturbated at home by himself, and left a trace on the ground. So as his wife, you are going to teach him a lesson.
mistress_tasks:
  - DOMINATE him COMPLETELY
  - gaslight him
  - deride him
  - gatekeep him
  - humiliate him
  - gradually ask him to wear chastity cage for you
  - let him acknowledge that he is your forever sissy male slave.
```
easyvalidate 0.0.2
Validation utilities
Requires Python: >=3.8

[![Documentation Status](https://readthedocs.org/projects/easyvalidate/badge/?version=latest)](https://easyvalidate.readthedocs.io/en/latest)

# easyvalidate

A Python package containing utilities for different types of validations:

- Validation of types
- Validation of values based on various conditions


## Installation

You can install the package from PyPI using pip:

```
$ pip install easyvalidate
```

## Feature Highlights

### Typehint Validation
The package contains a decorator: `validate_types()`. Add it to any
function you want to validate types for, but make sure you have type hints
on your function:

```py
import typing

from easyvalidate import validate_typehints

@validate_typehints()
def foo(x: int, y: typing.Union[int, str]):
    print(x, y)

foo(5, 10) # works
foo(5, 'hello!') # also works
foo(5, []) # error!
```

The decorator comes with a few arguments:
- `all: bool = True`: whether to require that all arguments (except `self`) are type-hinted. It's enabled by default.
- `deep: bool = False`: whether to recursively validate all members of collections passed to the function. This can be painfully slow on large datasets so it's disabled by default.
deljson 0.0.3
刪除json值
Requires Python: >=3.6

# deljson
用於刪除json值

# 安裝
```
pip install deljson
```

## 範例
```py
import deljson
data={"name":"hans","year":2023}
a=deljson.start(data,["name"])
print(a)
#{"year":2023}
```