cloudsync.registry

The registry maintains a map of provider classes by name.

cloudsync.registry.create_provider(name: str, *args, **kws) → cloudsync.provider.Provider

Construct a provider instance

cloudsync.registry.get_provider(name: str)

Get a provider class with the given name

cloudsync.registry.known_providers() → List[str]

List all known provider names, sorted order.

cloudsync.registry.register_provider(prov: Type[cloudsync.provider.Provider])

Add a provider class to the registry