Download and configure common tools for teaching and doing data science without an internet connection
Project description
OfflineDataSci
This package helps you download and configure common tools for teaching and doing data science without an internet connection. This includes:
- Installers for data science languages: Currently R and Python
- Installers for common data science IDEs: Currently RStudio
- Partial local mirrors of package repositories: Currently CRAN (for R) and PyPI (for Python)
- Locally browseable clones of data science teaching websites: Currently Data Carpentry and Software Carpentry
Status
Early stage experiment
Installation
Using pip:
From PyPI
pip install offlinedatasci
From GitHub (latest development version)
pip install git+https://git@github.com/carpentriesoffline/offlinedatasci.git
For local development:
Clone the repository and from the root directory run:
pip install .
On macOS make sure wheel package is installed first.
Usage
Download and setup everything
offlinedatasci install all /install/path
Create just the local CRAN mirror with basic data science packages
offlinedatasci install minicran /install/path
Add packages to repository mirrors:
To add packages beyond those included in the basic data science teaching focused mirrors use add-packages
The command structure is offlinedatasci add-packages
followed by the language you want to add packages to, followed by the names of the packages, followed by the path of the mirror.
The path should be the same as where the mirror was originally setup, so the same install path you used for setup offlinedatasci.
For example, to add the sf
, terra
, and stars
geospatial packages to the CRAN mirror:
offlinedatasci add-packages r sf terra stars /install/path
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for offlinedatasci-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f04f49c69f76da3e3f226ed40f102215d5bd7553617dde9acd67c51d39bbaa6 |
|
MD5 | 7ed0c9dd3499dee2df157f29f7d336b3 |
|
BLAKE2b-256 | 21092232670490f913030c3d716f5c2edce68e1f58ca69561febd8875eda15a9 |