# update: 1.0.3
### changed ssl handling
# 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)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "floofyredpanda",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "socket, ssl, floof, panda, networking, fun",
"author": "shadow113323 ",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/09/b7/e735e34e653d065f982757a2fe3d3db17274f9a6caa0f83069ec64c38189/floofyredpanda-1.0.3.tar.gz",
"platform": null,
"description": "# update: 1.0.3\r\n### changed ssl handling \r\n\r\n\r\n\r\n\r\n# to install\r\n```bash\r\npip install floofyredpanda\r\n```\r\n\r\n# to use\r\n\r\n```python\r\nfrom floofyredpanda import start_floofy_server\r\n\r\ndef handle(conn, addr):\r\n conn.send(b\"bonk\\n\")\r\n conn.close()\r\n\r\nstart_floofy_server(9000, handle)\r\n```\r\n\r\n\r\n## ssl\r\n\r\n```python\r\nfrom floofyredpanda import ParanoidPanda\r\n\r\ndef handle_secure(conn, addr):\r\n conn.send(b\"secure bonk\\n\")\r\n conn.close()\r\n\r\nserver = Paranoid_Panda(port=4443, handler=handle_secure, cert=\"cert.pem\", key=\"key.pem\")\r\nserver.start_paranoid_server()\r\n\r\n\r\n```\r\n\r\n\r\n## client side\r\n\r\n```python\r\nfrom floofyredpanda import tell_the_server\r\n\r\nresponse = tell_the_server(\"localhost\", 9000, \"bonk\")\r\nprint(response)\r\n\r\n```\r\n## ssl\r\n```python\r\nfrom floofyredpanda import secretly_tell_the_server\r\n\r\nresponse = 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\")\r\nprint(response)\r\n\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A delightfully unhinged socket library with SSL support and caveman energy",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://pypi.org/project/floofyredpanda/"
},
"split_keywords": [
"socket",
" ssl",
" floof",
" panda",
" networking",
" fun"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4f0b7d431af1c45e791dd8a7bb0eba4f155db9d678a63a33c4ce0fed91dc1813",
"md5": "a5ca9694042afc1f0a03a0d2346a3f73",
"sha256": "b7c19bd013e9dbd176f819b84a41e850562b839c54c9347711f32da03052d00f"
},
"downloads": -1,
"filename": "floofyredpanda-1.0.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5ca9694042afc1f0a03a0d2346a3f73",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 4804,
"upload_time": "2025-09-05T14:42:54",
"upload_time_iso_8601": "2025-09-05T14:42:54.971245Z",
"url": "https://files.pythonhosted.org/packages/4f/0b/7d431af1c45e791dd8a7bb0eba4f155db9d678a63a33c4ce0fed91dc1813/floofyredpanda-1.0.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "09b7e735e34e653d065f982757a2fe3d3db17274f9a6caa0f83069ec64c38189",
"md5": "02b639d260fd64f8072e2f522afd0b73",
"sha256": "2e8c14e8ce06b79e2324ab3795de075b9d03d0c3c6f7303030b1090562db49f6"
},
"downloads": -1,
"filename": "floofyredpanda-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "02b639d260fd64f8072e2f522afd0b73",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 3878,
"upload_time": "2025-09-05T14:42:55",
"upload_time_iso_8601": "2025-09-05T14:42:55.882963Z",
"url": "https://files.pythonhosted.org/packages/09/b7/e735e34e653d065f982757a2fe3d3db17274f9a6caa0f83069ec64c38189/floofyredpanda-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-05 14:42:55",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "floofyredpanda"
}