Commit graph

10 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
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
Anant Shrivastava
78645522ee Slideshare test case 2016-04-14 14:35:22 +05:30
Tanner Netterville
87bbf8fc90 Release 0.2.0
- Merged improvements from Wenzil's fork. Thanks Wenzil!
- Update for new version of Markdown breaks backwards compatability.
- Dropped test support for Python 2.6
- Fixed test suite (including Travis CI config)
2016-02-16 05:04:24 -06:00
J. Tanner Netterville
1a7c62fb93 Fixing tests, still needs work on auto protocol 2014-07-22 17:12:30 -05:00
J. Tanner Netterville
3b29ca3252 version bump 2014-07-22 16:00:58 -05:00
J. Tanner Netterville
0b2b234fb5 updated tests 2013-10-21 17:37:56 -05:00
J. Tanner Netterville
2f56c1c11a allow configuring which endpoints to allow 2012-11-13 17:28:04 -06:00
J. Tanner Netterville
e4ec8a72fb initial commit
Functional beta
2012-11-13 15:28:10 -06:00