semvec/pypi-packages huggingface dataset:
stinky-noodle 0.0.10
Stinky noodle is a Python-based OpenAPI spec linter compatible with spectral rulesets

# Stinky noodle

Stiny noodle is a Python OpenAPI spec linter that can read `spectral` (https://github.com/stoplightio/spectral) rule sets. This project is very early stage and not stable at all. The main reason for creating this project is to make it much easier to use with Python projects.

## Getting started

Run `pip install stinky-noodle` and then run `noodle <path-to-spec-file>` to start linting.

## Rule sets

Stinky noodle fully relies on rule sets as defined in the `spectral` docs and does not have its own syntax:
https://meta.stoplight.io/docs/spectral/e5b9616d6d50c-rulesets

You can use a rule set by adding the following argument:

```bash
noodle -s <path-to-ruleset>[ -d <dir-containing-custom-module>][ -m <cusom-module-name>] <path-to-spec-file>
```

## Caveats

- Spectral linting rules can make use of custom functions written in js. There is currently no way of automatically converting those functions in python built into Stink noodle. Functions always have to be manually converted. See the `Custom callables` section on how to do that.

- Spectral's builtin `unreferencedReusableObjects`, named `unreferenced_reusable_objects` in `stinky-noodle`, has not yet been implemented due to its complexity (e.g. it depends on a dependency graph of the API spec document). It will be implemented in the near future.

## Custom callables

TODO

## Using stinky-noodle in pre-commit

TODO
open-parser 0.0.7
Open parser for all.
Requires Python: <3.13,>=3.8

# 🌊 OpenParse

OpenParse provides an API to accurately extract your unstructured data (e.g. PDF, images, charts) into structured format.

## :seedling: Set up your OpenParser API key

OpenParse is still in private beta. If you are interested in testing our document models, please reach out at info@cambioml.com for a FREE API key.


To set up your API key `CAMBIO_API_KEY`, you will need to :

1. create a `.env` file in your root folder;
2. add the following one line to your `.env file:
    ```
    CAMBIO_API_KEY=17b************************
    ```

## :computer: Installation

```
conda create -n openparse python=3.10 -y
conda activate openparse
pip3 install open_parser
```

## :bashfile usage
To use OpenParse via `curl` requests, you can run the following bash command from the root folder of this repository:
```
bash parse.sh <your apiKey> <file path> <prompt for parse (optional, default="")>
```

For example, to extract a table from a PDF file, you can run the following command:
```
bash parse.sh gl**************************************  /path/to/your/file.pdf "Return the table in a JSON format with each box's key and value."
```

## :scroll:  Examples

OpenParse can extract text, numbers and symbols from PDF, images, etc. Check out each notebook below to run OpenParse within 10 lines of code!

### [Prompt to Extract Key-values into JSON from W2 (PDF)](https://github.com/CambioML/open-parser/blob/main/examples/prompt_to_extract_table_from_pdf_to_json.ipynb)
Do you want to extract key-values from a W2 PDF into JSON format? Check out this notebook (3-min read)!

### [Extract a Table from an Image into Markdown Format](https://github.com/CambioML/open-parser/blob/main/examples/extract_table_from_image_to_markdown.ipynb)
Are you a financial analyst who need to extract ACCURATE number from a table in an image or a PDF. Check out this notebook (3-min read)!
PixCrypt 1.1.0
Library for encrypting text into an image
Requires Python: >=3.10
Keywords: pixcrypt pillow image encryption python

# <p align="center">PixCrypt</p>
### <p align="center">Library for encrypting text into an image</p>

## Usage
### Encrypting text to image
```py
from pixcrypt import PixImage

src = 'Hello World!'
pix = PixImage(text=src)
img = pix.getimage()

img.save('hello_world.png')
```
If you will be decrypting the image, save the file in PNG format. You can also specify a maximum width for the image:
```py
img = pix.getimage(max_width=12)
```
### Decrypting image into text
```py
from pixcrypt import PixImage

pix = PixImage('hello_world.png')
text = pix.getstr()

print(text) # Hello World!
```
```PixImage``` can take an Image class object from Pillow as an argument:
```py
pix = PixImage(text='some info')
pix2 = PixImage(pix.getimage())
text = pix2.getstr()

print(text) # some info
```
bcmapi 1.0.1
集成编程猫的API
Keywords: python, 编程猫, codemao, api


# bcmapi

## 作者

![阿兹卡班毕业生](https://camo.githubusercontent.com/6c7f3fa09735e1f0b342a1ed8be26153629beedafce894d425e8b7812103c5e3/68747470733a2f2f6769746875622d726561646d652d73746174732e76657263656c2e6170702f6170693f757365726e616d653d617a6b626279732673686f775f69636f6e733d74727565267468656d653d746f6b796f6e69676874 "阿兹卡班毕业生")

[阿兹卡班毕业生](https://shequ.codemao.cn/user/11952313)

## 说明

集成[编程猫](https://shequ.codemao.cn)的API，用简单的代码，实现编程猫和python连接！

## 更新日志

`1.0.1`md文档更新

`1.0.0`基础功能

## 教程

### 登录

```python

from bcmapi import Account


# 实例化一个用户

user = Account(cookie='your_cookie')



# 获取用户信息

print(user.getnickname())

print(user.getid())

print(user.getusergold())

print(user.getrealname())

print(user.getrealsex())

print(user.getusername())

print(user.getusername())

print(user.getbirthday())

print(user.getdescription())

print(user.getphone())

print(user.getlevel())

```

### 获取其它用户信息

```python

from bcmapi import OtherAccount



# 实例化一个用户

user = OtherAccount(id=123456)



# 获取用户信息

print(user.getid())

print(user.getnickname())

print(user.getavatarurl())

print(user.getdescription())

print(user.getlevel())

print(user.getworkshopname())

print(user.getworkshoplevel())

print(user.getviewtimes())

print(user.getfanstotal())

print(user.getcollectedtotal())

print(user.getcollecttimes())

print(user.getlikedtotal())

print(user.getattentiontotal())

print(user.getdoing())

print(user.getotherinfo('doing'))

```

### 获取其它工作室信息

```python

from bcmapi import OtherWorkShop



# 实例化一个工作室

workshop = OtherWorkShop(id=123456)



# 获取工作室信息

print(workshop.getid())

print(workshop.getname())

print(workshop.getdescription())

print(workshop.getlevel())

print(workshop.getpreviewurl())

print(workshop.getcreatedtime())

print(workshop.getotherinfo('name'))

```

### 更新自己的工作室信息

```python

from bcmapi import WorkShop



# 实例化一个工作室

workshop = WorkShop(cookie='your_cookie')



# 更新工作室信息

print(workshop.update_workshop(123456, name='new_name', preview_url='new_preview_url', description='new_description'))

```
deadpad 0.2.3
A customizeable lightweight CLI/TUI text editor made without curses or any TUI framework.
Requires Python: >=3.10

# DeadPad Text Editor

Install:
```
pip install deadpad
```

Run:

```
deadpad <filename>
```

> A command line text editor made without curses or any other TUI library.

![](https://github.com/FrewtyPebbles/DeadPad-CLI-Text-Editor/blob/main/preview/deadpad2.gif)