-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a complete rewrite of the library to use xmltodict and pydantic Notable changes: - Ditched bs4 - Now using xmltodict and pydantic - Removed limit option - Parser now uses classmethods * 6cc67f9 Uncomment ci stuff * fb139f0 Add better Tag docs * 9b14325 Fix tests after refactor * e0b6a3a Rewrite Parser to classmethods, add basic docs * 7708c77 Update Tag docstring and run doctests in ci.yml * 3130ca1 Rename RSSFeed->RSS, RSSBaseModel->XMLBaseModel * 8f763d5 Scarp all of the wrap/unwrap work Improve conftest fixutes Add support for self-closing tags Set every field to be a Tag Add json/dict_plain and tests for it Ignore unused imports for all inits * e9e841a Update sample jsons * fc02cf1 Add wrap/unwrap population tests * e02a007 Add tests for wrap/unwrap chaining (renamed from with/without) * c436ce4 Add autogenerated dunder methods to Tag * c88388c Fix windows charmap for tests * 329765a Fix datetime tests * 2147f9a Remove push rule from ci until V2 is done * 1e44298 Add with/without_tags factory to all schemas * bd31f3c Fix tests with item, add apology_line tests * d5a80f4 Add items to channel [WIP] * 49db408 Add datetime comparison tests Refactor CI a bit Allow schema object mutation Add current and future todos Ad d IPython to dev deps Clean up README a bit [WIP] Add more rss samples for test * 5a2fcb4 Remove 3.10 syntax * a07aa9c bump setup python to v4 * 955b1ff Fix 3.12 version * b9d64c6 Replace flake8 with ruff * 908d2b0 Fix ci.yml * dd75c66 Update cron * 461eb82 Add no category attr test, remove unused file * c99b985 More updates to V2 * 1a1d20e Backup before os reinstall * 2cad195 Temp commit, reword later * e96faba Intermediate commit, added models, fixing linting and them
- Loading branch information
Showing
35 changed files
with
3,308 additions
and
323 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
name: Publish Package to PyPI with poetry | ||
name: Publish to PyPI | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
- "v*" | ||
# TODO: Only on CI success | ||
|
||
jobs: | ||
build-and-test-publish: | ||
|
@@ -13,4 +14,4 @@ jobs: | |
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
with: | ||
pypi_token: ${{ secrets.pypi_password }} | ||
pypi_token: ${{ secrets.pypi_password }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,4 +113,4 @@ venv.bak/ | |
.mypy_cache/ | ||
|
||
.rss-parser | ||
poetry.lock | ||
.ruff_cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.