Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koldlight/acciona-python-workshop
Python workshop on Acciona
https://github.com/koldlight/acciona-python-workshop
Last synced: 5 days ago
JSON representation
Python workshop on Acciona
- Host: GitHub
- URL: https://github.com/koldlight/acciona-python-workshop
- Owner: koldLight
- Created: 2019-12-18T14:09:03.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:20:46.000Z (almost 2 years ago)
- Last Synced: 2024-05-20T18:14:28.290Z (6 months ago)
- Language: HTML
- Size: 1.39 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/koldLight/acciona-python-workshop/master)
# Python for data analysis: workshop in Acciona
## Environment setup
### Requisites
Two options here:
* With Anaconda for Python 3 (recommended for basic users)
* With pipenv (recommended for advanced users), you will need:* Python 3.7
* pipenv
* jupyterAlternatively, you can access via [MyBinder](https://mybinder.org/v2/gh/koldLight/acciona-python-workshop/master).
To install `pipenv` as a command, do:
```
sudo -H pip install -U pipenv
```To install `jupyter` as a command, do:
```
sudo -H pip install -U jupyter
```### Extra steps for pipenv users
#### Install the dependencies
You can skip this step if you're using Anaconda.
To install the dependencies (during the setup of the project, or in case other collaborator updates them):
```
# For development use
pipenv install --dev# For production use
pipenv install
```The first time you run it, it will create the virtual environment that contains all the project dependencies.
#### Create the notebooks kernel
You can skip this step if you're using Anaconda. When opening the notebooks, just select your anaconda kernel.
To run the notebooks if you're using a pipenv environment, you have to create a kernel over the virtual environment.
You only need to do this once.
```
# Activate the virtual environment
pipenv shell# Create the kernel
python -m ipykernel install --user --name='libropython'# Exit the virtual environment shell
exit
```## Run the notebooks
```
pipenv run jupyter notebook .
```