Cosmos Automated Data Exchange Tool 👩‍🚀
Перейти к файлу
Hannah K 48dc8daad7
Update to remove pkg-resources (#16)
To resolve a lingering issue.
2023-01-01 02:16:57 -05:00
.github Initial feature-set docs and starter code (#2) 2019-01-04 16:45:05 -05:00
package Bump py from 1.9.0 to 1.11.0 in /package (#25) 2023-01-01 02:00:27 -05:00
src Update to remove pkg-resources (#16) 2023-01-01 02:16:57 -05:00
.gitignore Initial feature-set docs and starter code (#2) 2019-01-04 16:45:05 -05:00
CONTRIBUTING.md Upgrading PyInstaller to Appease Dependabot (#14) 2020-07-26 17:28:46 -04:00
LICENSE Initial commit 2019-01-04 10:45:09 -08:00
README.md Removes a space from the build status image. (#8) 2019-01-30 10:57:31 -05:00
SECURITY.md Microsoft mandatory file (#21) 2022-09-12 10:34:36 -04:00
azure-pipelines.yml Hotfix: Progressbar/Time Remaining More Accurate During Import (#11) 2019-02-05 13:54:55 -05:00

README.md

cadet-cli

Build Status

Cosmos Automated Data Exchange Tool - A cross-platform utility to synchronize data with a DocumentDB-backed Azure Cosmos DB instance. 👩‍🚀

Cadet-cli branded logo of a rocketship

You can install the latest version of cadet from the Releases page, right here on GitHub.

How it works

Note: at this time, cadet does not support downloading data from Azure Cosmos DB.

Cadet is designed to make it simple to exchange data with Azure Cosmos DB instances that are using the DocumentDB backing store. It is a cross-platform python CLI that leverages the Azure Cosmos DB python SDK under the hood. Here are some common things you can do using cadet:

Import data from csv

The following command will import a comma-separated values file into the Azure Cosmos DB server located at your-server-connection-string into the collection your-collection-name on database your-database-name. It will read the data from path/to/csv.csv, and will output progress as data uploads.

cadet import --type csv --connection-string "your-server-connection-string" --database "your-database-name" --collection "your-collection-name" path/to/csv.csv

Import data from tsv

The following command will import a tab-separated values file into the Azure Cosmos DB server located at your-server-connection-string into the collection your-collection-name on database your-database-name. It will read the data from path/to/tsv.tsv, and will output progress as data uploads.

cadet import --type tsv --connection-string "your-server-connection-string" --database "your-database-name" --collection "your-collection-name" path/to/tsv.tsv

Contributing

For more information - including how to get started - see the CONTRIBUTING document.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.