#๐ How to properly install leveldb library in python?
40 messages ยท Page 1 of 1 (latest)
@brave moon
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
properly, as opposed to...?
did pip install leveldb go wrong?
that library looks poorly maintained, just a note
last update was 5 years ago
are you really sure you want to use something like that?
Why not sqlite?
Its built-in
as mentioned, its old and unmaintained. Why do you need leveldb?
(sqlite is not a drop-in replacement for a key-value store which leveldb is)
I'm assuming that OP needs to connect to an existing LevelDB
why not use Valkey then?
do you want a relational database or a key-value store?
if you're starting a new project, I would recommend going with Valkey then
.db doesn't say much
what format are these in?
wait, what?
hah I knew it!
I thought you said you wanted a key-value store
but sqlite is not a key-value store, it's a relational database
two entirely different categories of databases
oh, I see
but you want to move these to... faster databases?
to what end?
you can use the redis library with a Valkey server, or a Redis server of course, but Valkey is the open-source fork of Redis
Settings are just one-off read and only needs to be written once in awhile. Not all the time. Why do you need speed for settings databases to key-value database?
the project itself said it didn't know how to compile itself on Windows
Just use valkey. Looks good
I am wondering if Valkey will get its own Python library as Redis and Valkey start diverging in terms of features
!pip valkey isn't this it?
First real release is in 13/08/2024. So its relatively new
so @brave moon if you use a Valkey server, use the valkey library to connect to it
and not redis which I mentioned earlier
This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.