An open API service indexing awesome lists of open source software.

https://github.com/samk13/setup-python-with-venv


https://github.com/samk13/setup-python-with-venv

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Activate venv on Windows bash:

- cd to `venv/Scripts`
- `. activate` -> don't forget the dot and space followed by `activate`

## To deactivate venv on Windows bash:

- `deactivate`

## List all requirements:

- `pip freeze`

## Install requirements:

- `pip install -r requirements.txt`

## for formating the code:

- `pip install black`
- apply it to the code:
`python -m black .`

```mermaid
journey
title Me studying for exams
section Exam is announced
I start studying: 1: Me
Make notes: 2: Me
Ask friend for help: 3: Me, Friend
We study togther: 5: Me, Friend
section Exam Day
Syllabys is incomplete: 2: Me
Give exam: 1: Me, Friend
section Result Declared
I passed the exam with destinction!: 5: Me
Friend barely gets passing marks: 2: Friend
```

```mermaid
graph LR;
A-->B;
A-->C;
A-->D & H;
B--> D & C;
C-->D;
G-->H;
style A fill:#f113 , stroke-width:3px;
```

```mermaid
sequenceDiagram
participant Alice
participant Bob
Alice->>John: Hello John, how are you?
loop Healthcheck
John->>John: Fight against hypochondria
end
Note right of John: Rational thoughts
prevail!
John-->>Alice: Great!
John->>Bob: How about you?
Bob-->>John: Jolly good!
```

```mermaid
classDiagram
Class01 <|-- AveryLongClass : Cool
Class03 *-- Class04
Class05 o-- Class06
Class07 .. Class08
Class09 --> C2 : Where am i?
Class09 --* C3
Class09 --|> Class07
Class07 : equals()
Class07 : Object[] elementData
Class01 : size()
Class01 : int chimp
Class01 : int gorilla
Class08 <--> C2: Cool label
```