Skip to main content

A lib that makes socket easy to coding. High-speed, simple networking for Python developers. (CC BY-ND 4.0 license).

Project description

This is a lib that makes socket easy to coding.

Version: version = bestsockett.__version__

Why bestsockett?

Standard Python sockets require many lines of code for simple tasks. bestsockett simplifies this process, allowing you to focus on your logic, not the connection details.

What's new in this version:

  • Faster connections 🏃‍➡️
  • ✨ Quick_ACK support 🏃‍➡️
  • World Wide Web (WWW) access (HTTP GET) 🌍
  • ✨ Bug fixes ✨

How to use Bestsockett:

  • import bestsockett
  • bestsockett.waitdata(PORT)

What is bestsockett in turkish language:

🚀 Bestsockett v1.0.9

Bestsockett, Python ağ programlamasını (socket) çocuk oyuncağına dönüştüren, yüksek hızlı ve hafif bir kütüphanedir. Karmaşık döngülerle uğraşmak yerine, tek satırda veri gönderip almana odaklanır.

✨ Öne Çıkan Özellikler

  • waitdata(): Tek seferlik veri alımı için pusuya yatar. ehe = waitdata() kadar basittir. 🌭
  • fastsend(): TCP_NODELAY kullanarak veriyi bekletmeden fırlatır. Gecikme (lag) düşmanıdır! ⚡
  • encrypt_send(): Veriyi şifreler ve Base64 zırhıyla kaplar. Ağda 'aıkoldjf' gibi görünür. 🔐
  • smart_receive(): Gelen veriyi koklar; şifreliyse çözer, düzse olduğu gibi verir. 🧠
  • find_server(): Ağdaki Beacon sinyallerini tarar ve sunucuyu çat diye bulur. 📡

🛠️ Quick Start

1. Receiver

import bestsockett as bs

# Wait until data comes
data = bs.waitdata(port=5050)
print(f"Data: {data}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bestsockett-1.0.9.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bestsockett-1.0.9-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file bestsockett-1.0.9.tar.gz.

File metadata

  • Download URL: bestsockett-1.0.9.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for bestsockett-1.0.9.tar.gz
Algorithm Hash digest
SHA256 c44f8cb59e9c1c744579c97ce2f30f66dcb77f1f57ef43401d723061707947ce
MD5 0b310c25b55869adca9daa2329a15720
BLAKE2b-256 e526847f0dc9508d44e5e7c286f010e542b7f405a3759ed0fe24389b30ea80bf

See more details on using hashes here.

File details

Details for the file bestsockett-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: bestsockett-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.0

File hashes

Hashes for bestsockett-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 fbca97a2b5df9570bf7ad7e159d7b522c13b39b9bf671251b4db7194309eb918
MD5 89127206fecaa7f83ec213ff55d7efe4
BLAKE2b-256 9203cad5070dbfc36c01278ade8412bec88c373e637e4e7368de1a25f09e21c0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page