You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
In V1 we had the following workflow:
Convert a file to dict
use pydantic to convert the dict to our custom types
I cannot fine a clear get_entry_dict() replacement.
Describe the solution you'd like
Convert a .bib file to a dict object.
Use cases
The library seemingly aims at providing the information of a .bib-file to the python program but our use-case is to simply forward the information in a different format.
Just a quick note: v1 was converting all input attribute keys (except "ID" and "ENTRYTYPE") to lowercase. v2 seems to respect the case given in the .bib-file. I think this is fine, it was just a breaking change for us I wanted to note here.
Activity
✨ Support dict(entry) by adding Entry.keys() and __iter__ (#631)
MiWeiss commentedon Oct 2, 2026
Thanks for the report! It led to v2.1.0, released today, where
dict(entry)now works (#631). The migration guide covers this too (#630):Note that field values depend on your middleware, so they aren't necessarily strings.
SlowMo24 commentedon Oct 5, 2026
thanks for fixing this so quickly.
Just a quick note: v1 was converting all input attribute keys (except "ID" and "ENTRYTYPE") to lowercase. v2 seems to respect the case given in the .bib-file. I think this is fine, it was just a breaking change for us I wanted to note here.
📝 Note field key case change in migration guide (#634)