feat: complete Python and Node.js bindings for all namespaces #36
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Complete implementation of missing Python and Node.js bindings for all namespace extensions.
Phase 1: Python Bindings
New types:
GeoLocation(geo_type, coordinates, srs_name)MediaThumbnail(url, width, height)MediaContent(url, type, filesize, width, height, duration)PodcastChapters(url, type)PodcastSoundbite(start_time, duration, title)PodcastEntryMeta(transcript, chapters, soundbite, person)New Entry getters:
geo,dc_creator,dc_date,dc_date_parsed,dc_rights,dc_subjectmedia_thumbnails,media_content,podcastNew FeedMeta getters:
geoQuality:
__repr__and__eq__implementationsPhase 2: Node.js Type Definitions
New types (14 total):
GeoLocation(geoType, coordinates, crs)MediaThumbnail,MediaContentItunesFeedMeta,ItunesOwner,ItunesCategoryPodcastMeta,PodcastFunding,PodcastEntryMetaPodcastChapters,PodcastSoundbitePodcastValue,PodcastValueRecipientPhase 3: Node.js Field Bindings
FeedMeta new fields:
geo,itunes,podcastEntry new fields:
geo,dcCreator,dcDate,dcSubject,dcRightsmediaThumbnails,mediaContentpodcast,itunesImprovements:
ItunesEntryMetatype (duration, episode, season, episodeType, etc.)Statistics
Test plan
cargo test- All Rust tests passcargo clippy -- -D warnings- No warningspytest- 59 Python tests passnpm test- 72 Node.js tests pass