Working with other file types¶
In addition to packages and notebooks, Anaconda Cloud can be used to store and share data science files of any type.
Uploading other file types¶
You can upload any type of file with the Anaconda Client command line interface (CLI) by using the steps below.
PyPI package files, conda package files and notebook files
are automatically detected. There is no auto-detect for other
types of files, so you must explicitly specify the
In the following example, we upload a spreadsheet named
baby-names in comma separated value (CSV) format.
Use the Terminal window or an Anaconda Prompt to upload the spreadsheet:
Create a new package, which creates a namespace that can hold multiple files:
anaconda login anaconda package --create jsmith/baby-names
Upload the file to the new namespace:
anaconda upload --user jsmith --package baby-names --package-type file --version 1 baby-names1.csv
NOTE: In this example, the user–or organization–name is
the package name is
baby-names, the package type is
the version is
1 and the full filename is
Downloading other file types¶
Files, such as the one created above, are available at:
Anyone can download these files using Client from the Terminal window or an Anaconda Prompt:
anaconda download <USERNAME>/<PACKAGENAME>
<USERNAME> with the desired username, and
<PACKAGENAME> with the desired package name.
If the repository has multiple files with the same name and different
anaconda download will download all of them by default. If you
anaconda-client 1.7 or higher, you can use
anaconda download with
-t to specify only one of these files. This
option can work with the values