montecarlodata-0.90.1
0.90.1
0.90.0
0.9.2
0.9.1
0.9.0
0.81.5
0.81.4
0.81.3
0.81.2
0.81.1
0.81.0
0.80.2
0.80.1
0.80.0
0.8.1
0.8.0
0.72.3
0.72.2
0.72.1
0.72.0
0.71.3
0.71.2
0.71.1
0.71.0
0.70.6
0.70.5
0.70.4
0.70.3
0.70.2
0.70.1
0.70.0
0.7.0
0.69.2
0.69.1
0.69.0
0.68.0
0.67.0
0.66.0
0.65.0
0.64.0
0.63.3
0.63.2
0.63.1
0.63.0
0.62.0
0.61.3
0.61.2
0.61.1
0.61.0
0.60.0
0.6.0
0.59.0
0.58.0
0.56.0
0.55.3
0.55.2
0.55.1
0.55.0
0.54.4
0.54.3
0.54.2
0.54.1
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.5.1
0.5.0
0.48.0
0.47.0
0.46.1
0.46.0
0.45.1
0.45.0
0.44.0
0.43.0
0.42.0
0.41.3
0.41.1
0.41.0
0.40.2
0.40.1
0.40.0
0.4.0
0.39.2
0.39.1
0.39.0
0.38.0
0.37.0
0.36.0
0.35.1
0.35.0
0.34.2
0.34.1
0.34.0
0.33.0
0.32.0
0.31.0
0.30.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.29.0
0.28.1
0.28.0
0.27.0
0.26.7
0.26.6
0.26.5
0.26.4
0.26.3
0.26.2
0.26.1
0.26.0
0.25.5
0.25.4
0.25.3
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.0
0.22.0
0.21.0
0.20.3
0.20.2
0.20.1
0.20.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2
0.19.6
0.19.5
0.19.4
0.19.3
0.19.2
0.19.1
0.19.0
0.18.0
0.17.0
0.16.0
0.157.0
0.156.0
0.155.0
0.154.0
0.153.0
0.152.0
0.151.0
0.150.0
0.15.1
0.15.0
0.149.0
0.148.0
0.147.0
0.146.0
0.145.0
0.144.0
0.143.0
0.142.0
0.141.4
0.141.3
0.141.2
0.141.1
0.141.0
0.140.0
0.14.2
0.14.1
0.14.0
0.139.0
0.138.0
0.137.0
0.136.0
0.135.0
0.134.0
0.133.0
0.132.0
0.131.0
0.130.0
0.13.2
0.13.1
0.13.0
0.129.0
0.128.0
0.127.0
0.126.0
0.125.0
0.124.0
0.123.0
0.122.0
0.121.0
0.120.0
0.12.3
0.12.2
0.12.1
0.12.0
0.119.0
0.118.0
0.117.0
0.116.0
0.115.0
0.114.0
0.113.1
0.113.0
0.112.0
0.111.0
0.110.0
0.11.3
0.11.2
0.11.1
0.11.0
0.109.0
0.108.0
0.107.0
0.106.0
0.105.3
0.105.2
0.105.1
0.104.1
0.104.0
0.103.0
0.102.0
0.101.0
0.100.2
0.100.1
0.100.0
0.10.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.90.1
0.90.0
0.9.2
0.9.1
0.9.0
0.81.5
0.81.4
0.81.3
0.81.2
0.81.1
0.81.0
0.80.2
0.80.1
0.80.0
0.8.1
0.8.0
0.72.3
0.72.2
0.72.1
0.72.0
0.71.3
0.71.2
0.71.1
0.71.0
0.70.6
0.70.5
0.70.4
0.70.3
0.70.2
0.70.1
0.70.0
0.7.0
0.69.2
0.69.1
0.69.0
0.68.0
0.67.0
0.66.0
0.65.0
0.64.0
0.63.3
0.63.2
0.63.1
0.63.0
0.62.0
0.61.3
0.61.2
0.61.1
0.61.0
0.60.0
0.6.0
0.59.0
0.58.0
0.56.0
0.55.3
0.55.2
0.55.1
0.55.0
0.54.4
0.54.3
0.54.2
0.54.1
0.54.0
0.53.0
0.52.0
0.51.0
0.50.0
0.5.1
0.5.0
0.48.0
0.47.0
0.46.1
0.46.0
0.45.1
0.45.0
0.44.0
0.43.0
0.42.0
0.41.3
0.41.1
0.41.0
0.40.2
0.40.1
0.40.0
0.4.0
0.39.2
0.39.1
0.39.0
0.38.0
0.37.0
0.36.0
0.35.1
0.35.0
0.34.2
0.34.1
0.34.0
0.33.0
0.32.0
0.31.0
0.30.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.29.0
0.28.1
0.28.0
0.27.0
0.26.7
0.26.6
0.26.5
0.26.4
0.26.3
0.26.2
0.26.1
0.26.0
0.25.5
0.25.4
0.25.3
0.25.2
0.25.1
0.25.0
0.24.1
0.24.0
0.23.0
0.22.0
0.21.0
0.20.3
0.20.2
0.20.1
0.20.0
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2
0.19.6
0.19.5
0.19.4
0.19.3
0.19.2
0.19.1
0.19.0
0.18.0
0.17.0
0.16.0
0.157.0
0.156.0
0.155.0
0.154.0
0.153.0
0.152.0
0.151.0
0.150.0
0.15.1
0.15.0
0.149.0
0.148.0
0.147.0
0.146.0
0.145.0
0.144.0
0.143.0
0.142.0
0.141.4
0.141.3
0.141.2
0.141.1
0.141.0
0.140.0
0.14.2
0.14.1
0.14.0
0.139.0
0.138.0
0.137.0
0.136.0
0.135.0
0.134.0
0.133.0
0.132.0
0.131.0
0.130.0
0.13.2
0.13.1
0.13.0
0.129.0
0.128.0
0.127.0
0.126.0
0.125.0
0.124.0
0.123.0
0.122.0
0.121.0
0.120.0
0.12.3
0.12.2
0.12.1
0.12.0
0.119.0
0.118.0
0.117.0
0.116.0
0.115.0
0.114.0
0.113.1
0.113.0
0.112.0
0.111.0
0.110.0
0.11.3
0.11.2
0.11.1
0.11.0
0.109.0
0.108.0
0.107.0
0.106.0
0.105.3
0.105.2
0.105.1
0.104.1
0.104.0
0.103.0
0.102.0
0.101.0
0.100.2
0.100.1
0.100.0
0.10.0
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
توضیحات
Monte Carlo's CLI
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | montecarlodata-0.90.1 |
| نام | montecarlodata |
| نسخه کتابخانه | 0.90.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Monte Carlo Data, Inc |
| ایمیل نویسنده | info@montecarlodata.com |
| آدرس صفحه اصلی | https://www.montecarlodata.com/ |
| آدرس اینترنتی | https://pypi.org/project/montecarlodata/ |
| مجوز | Apache Software License (Apache 2.0) |
# Monte Carlo CLI
Monte Carlo's Alpha CLI!
## Installation
Requires Python 3.9 or greater. Normally you can install and update using `pip`. For instance:
```shell
pip install virtualenv
virtualenv venv
. venv/bin/activate
pip install -U montecarlodata
```
Developers of the CLI can use:
```shell
pip install virtualenv
make install
. venv/bin/activate
pre-commit install
```
Either way confirm the installation by running:
```shell
montecarlo --version
```
If the Python requirement does not work for you please reach out to `support@montecarlodata.com`. Docker is an option.
## Quick start
First time users can configure the tool by following the onscreen prompts:
```shell
montecarlo configure
```
MCD tokens can be generated from the [dashboard](https://getmontecarlo.com/get-token).
Use the `--help` flag for details on any advanced options (e.g. creating multiple montecarlo profiles) or
see docs [here][cli-docs].
That's it! You can always validate your connection with:
```shell
montecarlo validate
```
## User settings
Any configuration set by `montecarlo configure` can be found in `~/.mcd/` by default.
The MCD ID and Token can be overwritten, or even set, by the environment:
- `MCD_DEFAULT_API_ID`
- `MCD_DEFAULT_API_TOKEN`
These two are required either as part of `configure` or as environment variables.
The following values can also be set by the environment:
- `MCD_API_ENDPOINT` - Overwrite the default API endpoint
- `MCD_VERBOSE_ERRORS` - Enable verbose logging on errors (default=false)
## Help
Documentation for commands, options, and arguments can be found [here][cli-docs].
You can also use `montecarlo help` to echo all help text or use the `--help` flag on any command.
## Examples
### Using Docker from a local installation
```shell
docker build -t montecarlo .
docker run -e MCD_DEFAULT_API_ID='<ID>' -e MCD_DEFAULT_API_TOKEN='<TOKEN>' montecarlo --version
```
Replace `--version` with any sub-commands or options. If interacting with files those directories will probably need to be mounted too.
### Configure a named profile with custom config-path
```shell
$ montecarlo configure --profile-name zeus --config-path .
Key ID: 1234
Secret:
$ cat ./profiles.ini
[zeus]
mcd_id = 1234
mcd_token = 5678
```
### List active integrations
```shell
$ montecarlo integrations list
╒══════════════════╤══════════════════════════════════════╤══════════════════════════════════╕
│ Integration │ ID │ Created on (UTC) │
╞══════════════════╪══════════════════════════════════════╪══════════════════════════════════╡
│ Odin │ 58005657-2914-4701-9a11-260ac425b14e │ 2021-01-02T01:30:52.806602+00:00 │
├──────────────────┼──────────────────────────────────────┼──────────────────────────────────┤
│ Thor │ 926816bd-ab17-4f95-a953-fa14482c59de │ 2021-01-02T01:31:19.892205+00:00 │
├──────────────────┼──────────────────────────────────────┼──────────────────────────────────┤
│ Loki │ 1cf1dc0d-d8ec-4c85-8e64-57ab2ad8e023 │ 2021-01-02T01:32:37.709747+00:00 │
╘══════════════════╧══════════════════════════════════════╧══════════════════════════════════╛
```
### Apply monitors configuration
```shell
$ montecarlo monitors apply --namespace my-monitors
Gathering monitor configuration files.
- models/customer_success/schema.yml - Embedded monitor configuration found.
- models/customer_success/schema.yml - Monitor configuration found.
- models/lineage/schema.yml - Embedded monitor configuration found.
Modifications:
- ResourceModificationType.UPDATE - Monitor: type=stats, table=analytics:prod.customer_360
- ResourceModificationType.UPDATE - Monitor: type=categories, table=analytics:prod.customer_360
- ResourceModificationType.UPDATE - Monitor: type=stats, table=analytics:prod_lineage.lineage_nodes
- ResourceModificationType.UPDATE - Freshness SLI: table=analytics:prod.customer_360, freshness_threshold=30
```
### Import DBT manifest
```shell
$ montecarlo import dbt-manifest --dbt-manifest-file target/manifest.json
Importing DBT objects into Monte Carlo catalog. please wait...
Imported a total of 51 DBT objects into Monte Carlo catalog.
```
## Tests and Releases
Locally `make test` will run all tests. CircleCI manages all testing for deployment.
To publish a new release, navigate to [Releases](https://github.com/monte-carlo-data/cli/releases) in the GitHub repo and then:
- Click "Draft a new release"
- In the "Choose a tag" dropdown, type the new version number, for example `v1.2.3` and click "Create a new tag"
- Follow the format from previous releases for the description
- Leave "Set as the latest release" checked
- Click "Publish release"
- CircleCI will take care of publishing a new package to [PyPI](https://pypi.org/project/montecarlodata/) and generating documentation.
## License
Apache 2.0 - See the [LICENSE](http://www.apache.org/licenses/LICENSE-2.0) for more information.
[cli-docs]: https://clidocs.getmontecarlo.com/
نیازمندی
| مقدار | نام |
|---|---|
| - | boto3>=1.19.4 |
| - | click-config-file==0.6.0 |
| - | click>=8.1.3 |
| - | dataclasses-json>=0.6.7 |
| - | Jinja2>=3.1.6 |
| - | pycarlo<1.0.0,>=0.11.7 |
| - | python-box>=6.0.0 |
| - | PyYAML>=5.4.1 |
| - | questionary==1.10.0 |
| - | requests<=3.0.0,>=2.0.0 |
| - | retry==0.9.2 |
| - | tabulate>=0.8.7 |
| ython_versio | setuptools>=72.2.0; |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl montecarlodata-0.90.1:
pip install montecarlodata-0.90.1.whl
نصب پکیج tar.gz montecarlodata-0.90.1:
pip install montecarlodata-0.90.1.tar.gz