Commit graph

5 commits

Author SHA1 Message Date
Benedikt Willi
9e48edcfdf Refactor and Update python-markdown-oembed-extension
- **Removed legacy build files**:
  - Deleted obsolete `.travis.yml`, `flake.lock`, and `flake.nix` files that were no longer needed for the current build and dependency management setup.

- **Updated versioning**:
  - Incremented the package version from `0.4.0` to `0.5.0` in `version.py` and made adjustments in `pyproject.toml` to reflect the new versioning mechanism.

- **Refined package structure**:
  - Moved source files from `src/python_markdown_oembed_extension` to `mdx_oembed` and renamed references accordingly for better clarity and organization of the codebase.

- **Enhanced OEmbed functionality**:
  - Added dedicated endpoint handling in the new `endpoints.py`.
  - Refactored the `oembed.py` file to implement a minimal oEmbed consumer, replacing the earlier dependency on `python-oembed`.

- **Improved test coverage**:
  - Transitioned tests from `unittest` to `pytest` framework for better maintainability.
  - Expanded unit tests, including better error handling and validation for various media types.

- **Updated dependency requirements**:
  - Raised minimum Python version from `3.9` to `3.12` in `pyproject.toml`.
  - Removed non-essential dependencies and restructured the dependency declarations to streamline package management.

These changes focus on modernizing the codebase, improving adherence to current Python standards, and enhancing overall functionality and maintainability.
2026-03-03 14:26:52 +01:00
Benedikt Willi
6864af69fb Reorder authors in pyproject.toml to place Benedikt Willi first 2026-03-03 10:46:03 +01:00
Benedikt Willi
428883fd99 Rename project to "python-markdown-oembed-extension" and update homepage URL 2026-03-03 09:25:20 +01:00
Benedikt Willi
7e41514005 Bump version to 0.4.0 and update changelog; clean up tests 2026-03-02 17:44:08 +01:00
Benedikt Willi
20f2880e07 Refactor and modernize codebase. 2026-03-02 17:25:43 +01:00