semvec/pypi-packages huggingface dataset:
remove-backticks 0.1.0
Remove segments enclosed by triple backticks from text.
License: MIT
Requires Python: >=3.6

[![PyPI version](https://badge.fury.io/py/remove_backticks.svg)](https://badge.fury.io/py/remove_backticks)
[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Downloads](https://static.pepy.tech/badge/remove_backticks)](https://pepy.tech/project/remove_backticks)
[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)

# remove_backticks

`remove_backticks` is a Python package that removes all segments enclosed by triple backticks (\`\`\`), including the delimiters, from a given text. It operates deterministically using a simple state machine and relies solely on the standard library.

## Installation

To install `remove_backticks`, run:

```bash
pip install remove_backticks
```

## Usage

Using `remove_backticks` is simple. Here's an example:

```python
from remove_backticks import remove_backticks

text = '''
This is some text.
```python
print("Hello, World!")
```
More text here.
'''

cleaned_text = remove_backticks(text)
print(cleaned_text)
# Output:
# This is some text.
# 
# More text here.
```

This function is useful for cleaning up Markdown content by removing code blocks enclosed within triple backticks.

## Features

- Removes all code blocks enclosed by triple backticks.
- Preserves non-code text.
- Simple API with one function.
- Works with multi-line code blocks.

## Contributing

Contributions, issues, and feature requests are welcome! Feel free to visit the [issues page](https://github.com/chigwell/remove_backticks).

## License

This project is licensed under the MIT License. See the [License](https://opensource.org/licenses/MIT) for details.

## Author

Eugene Evstafev - [LinkedIn](https://www.linkedin.com/in/eugene-evstafev-716669181/)
floofyredpanda 1.0.7
A delightfully unhinged socket library with SSL support and caveman energy
License: MIT
Requires Python: >=3.7
Keywords: socket, ssl, floof, panda, networking, fun

# update: 1.0.7
### fixed alot of things and added secure bool to the client



# to install
```bash
pip install floofyredpanda
```

# to use

```python
from floofyredpanda import start_floofy_server

def handle(conn, addr):
    conn.send(b"bonk\n")
    conn.close()

start_floofy_server(9000, handle)
```


## ssl

```python
from floofyredpanda import ParanoidPanda

def handle_secure(conn, addr):
    conn.send(b"secure bonk\n")
    conn.close()

server = Paranoid_Panda(port=4443, handler=handle_secure, cert="cert.pem", key="key.pem")
server.start_paranoid_server()


```


## client side

```python
from floofyredpanda import tell_the_server

response = tell_the_server("localhost", 9000, "bonk")
print(response)

```
## ssl
```python
from floofyredpanda import secretly_tell_the_server

response = secretly_tell_the_server("localhost", 9000, "secret bonk") # ca is required to load selfsigned stuff response = secretly_tell_the_server("localhost", 9000, "secret bonk" ca = "the content of the ca.pem here")
print(response)

```
## requesttobyte
```python
from floofyredpanda import RedPandaClient, requesttobyte

s = RedPandaClient("www.example.com",443) #https is default now
x = requesttobyte("/",host = "www.example.com",method = "get")
s.send(x.decode()) # you need to decode again because im stupid and encode everything that is in that queue
print(next(s.recv()))
```