This part of the documentation covers the installation of PyUploadcare.


In order to install pyuploadcare, simply run:

$ pip install pyuploadcare

or, if you prefer it the old way:

$ easy_install pyuploadcare

To use in Django project install with extra dependencies:

$ pip install pyuploadcare[django]

Get the Code

PyUploadcare is developed on GitHub. You can clone the public repository:

$ git clone git://

After that you can install it:

$ pip install .

Update to version 2.0

Some caveats about migration process from version 1.x to 2.x.

A version 2.0 contains the next breaking changes:

  • Now, you should import Django models’ fields (e.g ImageField) directly from the module.
  • Changed initializing for the FileList and GroupList classes. The since and until parameters have been removed. Use combination of starting_point and ordering instead.
  • The ucare list CLI command has been renamed to ucare list_files. And, according to the previous change, the since and until parameters have been removed. The starting_point and ordering parameters added.

These last two changes are necessary for working with version 0.5 of REST API. So that means you can’t use these classes correctly with versions prior 0.5 (but that should not be an issue :)

Also, note that Django configuration option UPLOADCARE['widget_variant'] now is deprecated and it will be removed in next major release. Use UPLOADCARE['widget_build'] instead.

Update to version 3.0

Some caveats about migration process from version 2.x to 3.x.

A version 3.0 contains the next breaking changes:

  • Resource attributes can be accessed now as properies, not methods. In 2.x version use file.is_stored(), in 3.x verisons use file.is_stored.

  • Uploadcare client should be initialized to access API. Refer to the documentation to see examples of using Uploadcare client:

    uploadcare = Uploadcare(
        public_key='<your public key>',
        secret_key='<your private key>',
  • File, FileGroup, FileList and GroupList resources cannot be initialized directly. uploadcare.file, uploadcare.file_group, uploadcare.list_files, uploadcare.list_file_groups client methods should be used instead:

    file: File = uploadcare.file('a771f854-c2cb-408a-8c36-71af77811f3b')
    file_group: FileGroup = uploadcare.file_group('0513dda0-582f-447d-846f-096e5df9e2bb~2')
    file_groups: GroupList = uploadcare.list_file_groups()
    files: FileList = uploadcare.list_files(stored=True)
  • pyuploadcare.conf package still can be used for configuration, but it is more preferable to pass configuration options to Uploadcare client on initialization. pyuploadcare.conf provides default values for the client.

Update to version 4.0

A version 4.0 uses REST API 0.7 and contains the next breaking changes:

  • For * File information doesn’t return image_info and video_info fields anymore, they were moved into field content_info that includes mime-type, image (dimensions, format, etc), video information (duration, format, bitrate, etc), audio information, etc. * Removed rekognition_info in favor of appdata.
  • For file_list method of FileList: * Removed the option of sorting the file list by file size.
  • For File: * Removed method copy in favor of local_copy and remote_copy methods. * Files to upload must be opened in a binary mode.