semvec/pypi-packages huggingface dataset:
env-should-be 0.2.7
Ship Secure and Streamlined Multi-Environment Specification.
Requires Python: >=3.11.4
Keywords: python3,pypi,package

![cover](https://raw.githubusercontent.com/wassef911/env_should_be/master/cover.png)

[click to read first article about this package](https://dev.to/wassef911/ship-slightly-better-microservices-4i1m)

[latest version on pypi](https://pypi.org/project/env-should-be/)

a more efficient, automated, and developer-friendly approach, allowing them to define deployment environment requirements using simple JSON or YAML descriptions.

Specify the exact conditions under which a container can run, mitigating compatibility issues and enforcing security standards seamlessly…

This environment description can either be one or multiple files and can also be a combination for each type of environment…

```sh
$ pip install env_should_be

env_should_be -fs --description /path/to/description/db.yml /path/to/description/app.json --env-file /path/to/.env --callback ./notify_admin.bash
```

# examples

a number of example should be available [under this link](https://github.com/wassef911/env_should_be/tree/master/examples)

or just do a

```sh

env_should_be --help

env_should_be [-h] -d DESCRIPTION [DESCRIPTION ...] [-fs FAIL_SILENTLY] [-e ENV_FILE] [-cb CALLBACK]

How should your environment be?

options:
  -d DESCRIPTION [DESCRIPTION ...], --description DESCRIPTION [DESCRIPTION ...]
                        <Required> either one or multiple paths for description files. (json/yml)

  -fs FAIL_SILENTLY, --fail-silently FAIL_SILENTLY
                        <Optional> will return an exit status of 0 even if the description(s) fail to match the current env (still triggers the callback).

  -e ENV_FILE, --env-file ENV_FILE
                        <Optional> not specifying a path to a specific env file to validate description(s) against, environment variables in the current shell will be loaded instead.

  -cb CALLBACK, --callback CALLBACK
                        <Optional> a callback script to be executed an environment fails to match the a description. (still triggered on fail-silently)
```

## full list of possible descriptions:

```py
(
  "boolean",
  "length",
  "min_length",
  "max_length",
  "regex",
  "option",
  "constant",
  "is_int",
  "is_str",
  "is_float",
  "is_number",
  "is_greater_than_eq",
  "is_lower_than_eq",
  "is_http",
  "is_https",
  "is_ipv4",
  "is_ipv6",
  "is_email",
  "is_uuid",
)
```

### TODOs:

- [x] better exceptions
- [x] support required arg
- [x] support callbacks
- [x] example Dockerfiles for different base images (only flask for now)
- [x] a more helpful readme
- [ ] collect/open issues
- [x] support older python versions
- [x] support different/more complex descriptions
- [ ] support setting default values
- [ ] ship a single executable ?
Antiland.py 0.0.4
A package to create bots on Antiland.com
Requires Python: >=3.7

# Antiland.py
## Make Antiland Chaotic Again


Antiland.py is a python package to turn any antiland user into a fully functioning
bot account similar to discord.py

![GitHub](https://img.shields.io/github/license/TheUnsocialEngineer/Anti.py) 
![PyPI - Version](https://img.shields.io/pypi/v/Antiland.py?labelColor=black&color=blue)





## Features

- Log in to an account
- send messages/images/videos 
- change profile settings
- Automate tedious tasks e.g banning/blocking
- It's python so go nuts



## Installation

Dillinger requires Python3 to run.

to install run pip3 install Antiland.py


## Installation

Antiland.py requires Python3 to run.

to install run pip3 install Antiland.py


## Usage/Examples

before you start you need to get the session token, dialogue id and chat url

to get the token and chat ID you use developer consoles network tab to look at any outgoing connection such as a sending a message, the session token is stored in the json payload e.g 

![App Screenshot](https://i.imgur.com/ZkVi80e.png)

to get the chat url you again use the network tab and this time you are looking for a heartbeat ping. once you find one you want to copy the request url as shown below

![App Screenshot](https://i.imgur.com/MaYCXdL.png)

below is a very basic example for logging in and registering a hello command
which when ran will send hello world into the chat

```python
import antiland

session_token="insert_session_token"
dialogue="insert_dialogue_id"
url="insert_chat_url"
prefix="!"

bot = anti.Bot(url,prefix,dialogue,session_token)

@bot.command("hello")
def say_hello():
    bot.send_message("hello world",session_token,dialogue)



if __name__ == "__main__":
    bot.start(session_token)
    
```
autopop 2.7
Auto Populate GDoc tables using LLMs.

## AutoPop: Auto Populate Google Doc Tables using LLMs
### Description
AutoPop is a Python package designed to automatically populate tables in Google Docs using Large Language Models (LLMs). The package leverages the power of LLMs to generate content for various aspects of a Google Doc, making it easier to create comprehensive and informative tables without manual effort.

### Features
Auto-populate tables in Google Docs with data generated by LLMs.
Supports various types of LLMs including GPT-4, Claude, etc.
Easy to use with a simple Python API.
Highly customizable to suit different use-cases.

### Installation
To install the package, run:

pip install autopop

### Dependencies
requests
selenium
openai
 
### Usage
TBD

### Contributing
Contributions are welcome! Please read the contributing guidelines to get started.

### License
This project is licensed under the MIT License. See LICENSE.md for details.

### Contact
For questions and support, please contact david.schwartz@devfactory.com.
cjkfuzz 0.0.4
A Python package for fuzzy matching CJK strings.
Requires Python: >=3.9,<4.0

# CJKfuzz

[![Supported Python Versions](https://img.shields.io/pypi/pyversions/cjkfuzz)](https://pypi.org/project/cjkfuzz/) [![PyPI version](https://badge.fury.io/py/cjkfuzz.svg)](https://badge.fury.io/py/cjkfuzz)

## Prerequisites

- Python 3.9+

## Installation

### From PyPI

```shell
pip install cjkfuzz
```

### From Source

```shell
pip install git+https://github.com/eddielin0926/cjkfuzz.git
```

## Usage

```python
from cjkfuzz import fuzz
fuzz.ratio('你好', '你好嗎?')
```

## License

This project is licensed under the terms of the [MIT License](LICENSE)
importuri 0.0.1
Import python module using uri with importuri
Keywords: import,module,uri,requests


# ImportURI

[![Discord][1]](<https://discord.com/channels/267624335836053506/>)
[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)

Hello, From python discord server

## What is importuri ?

importuri is a python module to import python modules using uri

### Example

```python
import importuri
example_module = importuri.Module (URI)
```

### Documentations

Docs included with markdown format in docs folder

## My profile in python discord server

![AVATAR](https://avatars.githubusercontent.com/u/136630721?v=4)

@Giga Coder

[1]: https://raw.githubusercontent.com/python-discord/branding/main/logos/badge/badge_github.svg