Skip to content

Commit

Permalink
Merge branch 'devel' of github.com:dlt-hub/dlt into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
rudolfix committed Sep 20, 2023
2 parents 50b8a12 + 33a4af0 commit 9628630
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions docs/website/docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ Let's get started!
Install dlt using `pip`:

```bash
pip3 install -U dlt
pip install -U dlt
```

Command above installs (or upgrades) library core, in example below we use `duckdb` as a destination so let's add it:

```bash
pip3 install "dlt[duckdb]"
pip install "dlt[duckdb]"
```

:::tip
Expand Down Expand Up @@ -63,7 +63,7 @@ print(load_info)
Save this python script with the name `quick_start_pipeline.py` and run the following command:

```bash
python3 quick_start_pipeline.py
python quick_start_pipeline.py
```

The output should look like:
Expand All @@ -83,7 +83,7 @@ dlt pipeline quick_start show
```
**quick_start** is the name of the pipeline from the script above. If you do not have Streamlit installed yet do:
```bash
pip3 install streamlit
pip install streamlit
```

Now you should see the **users** table:
Expand Down Expand Up @@ -240,7 +240,7 @@ print(load_info)

Have some fun and run this snippet [with progress bar enabled](walkthroughs/run-a-pipeline.md#2-see-the-progress-during-loading) (we like **enlighten** the best, **tqdm** works as well):
```bash
pip3 install enlighten
pip install enlighten
PROGRESS=enlighten python load_from_db.py
```

Expand Down Expand Up @@ -585,7 +585,7 @@ Just before load, the `weaviate_adapter` is used to tell `weaviate` destination
To run this example you need additional dependencies:

```shell
pip3 install PyPDF2 "dlt[weaviate]"
pip install PyPDF2 "dlt[weaviate]"
python pdf_to_weaviate.py
```

Expand Down
4 changes: 2 additions & 2 deletions docs/website/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import snippets from '!!raw-loader!./intro-snippets.py';
`dlt` is an open-source library that you can add to your Python scripts to load data
from various and often messy data sources into well-structured, live datasets. Install it with:
```sh
pip3 install dlt
pip install dlt
```
There's no need to start any backends or containers. Import `dlt` in your Python script and write a simple pipeline like the one below:

Expand Down Expand Up @@ -45,7 +45,7 @@ load_info = pipeline.run(data, table_name='player')

Now copy this snippet to a file or a Notebook cell and run it. If you do not have it yet, install **duckdb** dependency (default `dlt` installation is really minimal):
```sh
pip3 install "dlt[duckdb]"
pip install "dlt[duckdb]"
```

How the script works?: It extracts data from a
Expand Down
12 changes: 6 additions & 6 deletions docs/website/docs/reference/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ keywords: [installation, environment, pip install]
### Make sure you are using **Python 3.8-3.11** and have `pip` installed

```bash
python3 --version
pip3 --version
python --version
pip --version
```

### If not, then please follow the instructions below to install it
Expand Down Expand Up @@ -60,7 +60,7 @@ C:\> pip3 install -U pip
Create a new virtual environment by making a `./env` directory to hold it.

```bash
python3 -m venv ./env
python -m venv ./env
```

Activate the virtual environment:
Expand All @@ -75,7 +75,7 @@ source ./env/bin/activate
Create a new virtual environment by making a `./env` directory to hold it.

```bash
python3 -m venv ./env
python -m venv ./env
```

Activate the virtual environment:
Expand All @@ -90,7 +90,7 @@ source ./env/bin/activate
Create a new virtual environment by making a `./env` directory to hold it.

```bat
C:\> python3 -m venv ./env
C:\> python -m venv ./env
```

Activate the virtual environment:
Expand All @@ -107,5 +107,5 @@ C:\> .\env\Scripts\activate
You can install `dlt` in your virtual environment by running:

```bash
pip3 install -U dlt
pip install -U dlt
```
2 changes: 1 addition & 1 deletion docs/website/docs/walkthroughs/add-a-verified-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Verified source pipedrive was added to your project!
* Read https://dlthub.com/docs/walkthroughs/create-a-pipeline for more information
```

So make sure you install the requirements with `pip3 install -r requirements.txt`. When deploying to
So make sure you install the requirements with `pip install -r requirements.txt`. When deploying to
an online orchestrator, you can install the requirements to it from requirements.txt in the ways
supported by the orchestrator.

Expand Down

0 comments on commit 9628630

Please sign in to comment.