pg-libphonenumber
pg-libphonenumber copied to clipboard
Still being developed?
Active or dead? This is a great idea. Any progress on this? Going to move it out of Alpha?
I haven't made any progress for a while because my initial reason for starting the project ended, but if there's still interest in making this production-ready, I'd be happy to see the project put to good use. The main tasks needed to get this out of alpha would be to make a proper API design (including docs) and to expand the unit tests accordingly.
I've submitted a patch to libphonenumber docs to get this mentioned. I've also posted on reddit, and dba.stackexchange.com.
Well, I guess we'll see what kind of attention the project gets now. I'll fiddle around with Docker to see if I can get a reproducible test container working. That should make the testing cycle a bit easier.
EDIT: looks like Debian's libphonenumber is broken right now. Might have to fix that before the Docker image will work.
Is it possible to add these function getDescriptionForNumber() getNameForNumber() getNumberType(). Or guide me as how to add it, i will give a try, unable to understand the basics to start.
The libphonenumber API has a getNumberType function as part of PhoneNumberUtil, and that could potentially be integrated with these bindings, but I'm not aware of any functionality that it provides for descriptions or names. It seems like those would require some kind of external data source.
Might make more sense to use https://github.com/whisperfish/rust-phonenumber with https://github.com/pgcentralfoundation/pgrx for build simplicity.
Might make more sense to use https://github.com/whisperfish/rust-phonenumber with https://github.com/pgcentralfoundation/pgrx for build simplicity.
If those had existed when I originally started this project, I probably would have taken that route. It wouldn't have eliminated all memory safety concerns, but it would have helped with both those concerns and overall ergonomics.