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.8

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.8.tar.gz (14.3 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.8-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bestsockett-1.0.8.tar.gz
  • Upload date:
  • Size: 14.3 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.8.tar.gz
Algorithm Hash digest
SHA256 af7718c514c4a738e906f15858eb89b60be44678a4ab353b4de5b0d550bf1875
MD5 84d391c71bdb5b391417f5273daf52d0
BLAKE2b-256 f6bd0b8a32108ec9afbad89fc205e732e344e7230abaa0979996a2da7d310cfc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bestsockett-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 13.6 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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 2b482470e8267ab5218083efb82b193948999761d16a6763281fba3de8bad41d
MD5 30e66b0c473007dc3b71a2b4a7d42972
BLAKE2b-256 8d432073fde30fc04679526c152c252bce6947271486ba7e62ca23927bddc7f5

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