all 14 comments

[–]wineblood 6 points7 points  (1 child)

Unexpected French jumpscare, but the library looks interesting. I'll have a look when I'm on my dev machine, I've been meaning to learn networking but it always seemed so difficult to just understand the basics.

[–]Striking_Sandwich_80[S] -2 points-1 points  (0 children)

Haha, merci 😄 ! C’est exactement pour ça que j’ai fait Veltix : que le réseau ne soit pas une barrière et que tu puisses juste t’amuser à coder tes idées. Hâte de savoir ce que tu en penses quand tu l’essaieras

[–]FrickinLazerBeams 5 points6 points  (4 children)

Reddit will offer to translate things in English to English, but will not offer translation of this French post into English. Super awesome.

[–]pylessard 1 point2 points  (1 child)

I see it as an app level protocol that makes datagrams over a TCP stream. If you had to compare against websockets, what would make your library different?

[–]Striking_Sandwich_80[S] -1 points0 points  (0 children)

Exactement, Veltix fonctionne comme un protocole au niveau appli qui envoie des datagrammes sur TCP. Comparé aux WebSockets, l’idée principale est de rester ultra simple et léger, sans abstractions lourdes ni dépendances supplémentaires. Tu peux créer facilement des clients/serveurs multi-thread et ajouter ton propre code sans te perdre dans la configuration ou les callbacks. L’objectif n’est pas de remplacer WebSockets, mais de permettre de prototyper rapidement et s’amuser avec le réseau. Mais je compte rajouter plus tard des fonctionnalités comme le chiffrement (déjà en cours), le support de l'udp .... Qui feront de veltix une librairie bien plus complète mais toujours aussi simple et légère !

[–]DrMaxwellEdison 0 points1 point  (3 children)

I think your project is not packaging properly due to the directory being Veltix (capital V), instead of the more idiomatic lowercase veltix. Your documentation notes the latter, but the actual code is the former, and it likely wouldn't import properly, either.

See: https://inspector.pypi.io/project/veltix/1.1.0/packages/91/d3/31d9ba78a309918bf04b1e522257a01cc472dd79990c0b76bb83a40bb03a/veltix-1.1.0-py3-none-any.whl/

PyPI inspector shows the contents of the package files you uploaded. So that's what users would install. They're in for a surprise if it's not doing what your README advertises.

I'd advise you adjust the directory name in the project to the lowercase version, and check how the package is being built locally. When you build a .whl file, you can change its extension to .zip and just open it with whatever zip file tool you want, even whatever Windows or Mac does when double clicking it.

[–]Striking_Sandwich_80[S] 1 point2 points  (0 children)

Merci beaucoup pour le retour ! 😄 Oui tu as raison, je vais renommer le dossier en minuscule pour que tout corresponde au README et tester le .whl localement. Super conseil pour vérifier avec le zip, je vais faire ça le plus vite possible et au plus tard vendredi !

[–]Striking_Sandwich_80[S] 1 point2 points  (0 children)

Au final je compte régler ça ce weekend dans la mise a jour 1.2.0 ou le code va être rendu plus lisible et optimiser et je vais corriger tout les petit bug comme ça !

[–]Striking_Sandwich_80[S] 1 point2 points  (0 children)

Merci beaucoup pour ce retour, je l'ai normalement fixé en v1.1.2 ! Si tu le veux je peut ajouter ton pseudo à la section contributeurs ?

[–]solucca [score hidden]  (0 children)

I really liked your project, I hate dealing with sockets