metadata_parser
metadata_parser copied to clipboard
python library for getting metadata
Add support for 304 HTTP Response, for ETag/If-None-Match caching. You can find more about the concept here: https://books.google.co.il/books?id=j-6iDwAAQBAJ&pg=PA232&lpg=PA232&dq=python+If-None-Match+etag+requests&source=bl&ots=J8JYT3JdG4&sig=ACfU3U1dpTbN6Lc9OhAhBneEomyCQhoZgA&hl=en&sa=X&ved=2ahUKEwi-ye6_lenpAhUOyqQKHSpUBCMQ6AEwBnoECAgQAQ#v=onepage&q=python%20If-None-Match%20etag%20requests&f=false Right now, HTTP 304 throws a NotParsableFetchError(), instead, if the 'If-None-Match' header...
the test suite uses httpbin, which at one point needed werkzeug. i am unsure if it still does. werkzeug is pinned to an early release which is affected by a...
After installing this package in a clean virtual environment, I'm receiving a number of warnings related to BeautifulSoup, which isn't pinned to any particular version: ``` tests/integration/studio/test_studio_get_metadata.py::test_successful_request_empty[auth] tests/integration/studio/test_studio_get_metadata.py::test_successful_request_empty[auth-disabled] tests/integration/studio/test_studio_get_metadata.py::test_successful_request[auth] tests/integration/studio/test_studio_get_metadata.py::test_successful_request[auth-disabled]...
Importing metadata_parser in Python 3.13 runtime raises: ``` 2024-11-06 14:14:26 import metadata_parser 2024-11-06 14:14:26 File "/usr/local/lib/python3.13/site-packages/metadata_parser/__init__.py", line 4, in 2024-11-06 14:14:26 import cgi # noqa: I100,I201 2024-11-06 14:14:26 ^^^^^^^^^^ 2024-11-06...
Actually Python 3.13 isn't supported because cgi module is missing. in PR #44 (issue #43 ) I fix it by adding package `legacy-cgi` In this PR I entirely remove cgi...