Ancestors

Toot

Written by Fabien LOISON (FLOZz) on 2025-01-19 at 09:15

Erf je me fais avoir à chaque fois ! 😅

SQLite sur ma machine est compilé avec le support des fonctions mathématiques donc mon code fonctionne chez moi... Puis quand je le mets sur mon serveur ça marche plus par ce que le SQLite n'a pas les fonctions...

[#]SQLite #Python

=> View attached media

=> More informations about this toot | More toots from FLOZz@mastodon.social

Descendants

Written by Fabien LOISON (FLOZz) on 2025-01-19 at 09:17

Heureusement on peut vérifier la présence d'une fonction et si elle manque on peut la binder sur la fonction Python correspondante ! 😁️

[#]SQLite #Python

=> View attached media | View attached media

=> More informations about this toot | More toots from FLOZz@mastodon.social

Written by Fabien LOISON (FLOZz) on 2025-01-19 at 09:17

Voilà, c'est corrigé sur la branche master \o/

→ https://github.com/flozz/daily-mix/commit/fbd1d53234da913ffb3e405b81ca20030a4a81bf

=> More informations about this toot | More toots from FLOZz@mastodon.social

Written by Kees N ✅ on 2025-01-19 at 16:14

@FLOZz

Alternatively, you could use Roger Binns' APSW, so you can use a self-compiled SQLite library.

The blurbs: "APSW glues together the complete SQLite C API and Python’s C API, staying up to date with both SQLite and Python.". "Use APSW when you want to use SQLite fully, and have an improved developer experience. See more about the differences between APSW and sqlite3."

https://rogerbinns.github.io/apsw/about.html#apsw-and-sqlite-versions

=> More informations about this toot | More toots from knu@toot.community

Written by Fabien LOISON (FLOZz) on 2025-01-19 at 16:40

@knu

FLOZz Daily Mix, the project I am currently working on, has no dependency (in the exception of Python itself) and I think it is better to keep it dependency-free.

But it is good to know that APSW exists, it may be useful to me on some other projects :D

=> More informations about this toot | More toots from FLOZz@mastodon.social

Written by Kees N ✅ on 2025-01-19 at 19:26

@FLOZz

👍

=> More informations about this toot | More toots from knu@toot.community

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113854261076058024
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
325.425682 milliseconds
Gemini-to-HTML Time
1.602025 milliseconds

This content has been proxied by September (ba2dc).