diff --git a/README.md b/README.md index ec29c53..8e22f26 100644 --- a/README.md +++ b/README.md @@ -322,3 +322,11 @@ This package is essentially a wrapper for `venv` and `pip`. When entering the context, a temporary folder is created using the [tempfile](https://docs.python.org/3/library/tempfile.html) library. Then it is added to [sys.path](https://docs.python.org/3/library/sys.html#sys.path), and after exiting the context, it is removed from there. To install the package in this particular temporary folder, the `--target` argument is passed to pip, indicating the path to it. Interaction with `pip` and `venv` occurs through [subprocesses](https://docs.python.org/3/library/subprocess.html). The `import_here` method works by temporarily substituting [sys.path](https://docs.python.org/3/library/sys.html#sys.path) and [sys.modules](https://docs.python.org/3/library/sys.html#sys.modules). This is necessary so that the search for packages takes place only in the necessary directories. + + +## Examples + +```python +with instld('git+https://github.com/pomponchik/cantok.git'): + import cantok +``` diff --git a/docs/assets/presentation_3.pptx b/docs/assets/presentation_3.pptx new file mode 100644 index 0000000..bd55d72 Binary files /dev/null and b/docs/assets/presentation_3.pptx differ diff --git a/docs/assets/presentation_4.pptx b/docs/assets/presentation_4.pptx new file mode 100644 index 0000000..3197474 Binary files /dev/null and b/docs/assets/presentation_4.pptx differ diff --git a/docs/assets/presentation_5.pptx b/docs/assets/presentation_5.pptx new file mode 100644 index 0000000..4294896 Binary files /dev/null and b/docs/assets/presentation_5.pptx differ diff --git a/docs/assets/terminal_4.gif b/docs/assets/terminal_4.gif new file mode 100644 index 0000000..c884751 Binary files /dev/null and b/docs/assets/terminal_4.gif differ diff --git a/docs/assets/~$presentation_4.pptx b/docs/assets/~$presentation_4.pptx new file mode 100644 index 0000000..90e7589 Binary files /dev/null and b/docs/assets/~$presentation_4.pptx differ diff --git a/docs/assets/~$presentation_5.pptx b/docs/assets/~$presentation_5.pptx new file mode 100644 index 0000000..90e7589 Binary files /dev/null and b/docs/assets/~$presentation_5.pptx differ