Skip to content

Add shared provider core - #15

Open
j0rd1s3rr4n0 wants to merge 1 commit into
feature/interfaces-basefrom
feature/provider-core
Open

j0rd1s3rr4n0 wants to merge 1 commit into
feature/interfaces-basefrom
feature/provider-core

Conversation

@j0rd1s3rr4n0

Copy link
Copy Markdown
Owner

Summary

  • Adds a shared fileuploader provider core with normalized provider metadata, upload results, and provider errors.
  • Registers GoFile, AnonFilesNew, JSONBin, AnonFiles, and BayFiles behind a common interface.
  • Keeps deprecated providers available while surfacing clear normalized errors.
  • Adds provider-core unit tests with mocked HTTP clients and no network dependency.

Validation

  • python -m unittest tests.test_provider_core tests.test_gofile_encryption tests.test_jsonbin_uploader
  • python -m py_compile fileuploader\__init__.py fileuploader\models.py fileuploader\core.py fileuploader\registry.py fileuploader\providers.py tests\test_provider_core.py

Closes #10.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant