skyimages
Download sky images for solar power forecasting as pytorch-ready datasets.
Installation using pypi
From release v0.0.1, skyimages will be installable via pip:
pip install skyimages
Installation using github
Download skyimages from
github.
Change the CWD to the download folder skyimages/ and install
the package using pip.
git clone git@github.com:FlorianK13/skyimages.git
cd skyimages
pip install .
Getting started
To download the dataset SKIPP'D (source) and use it as a pytorch torchvision dataset, run the following code in python
from skyimages.dataset import SKIPPDDataSet
import torch
traindata = SKIPPDDataSet(download=True)
testdata = SKIPPDDataSet(download=True, train=False)
trainloader = torch.utils.data.DataLoader(
traindata, batch_size=200, shuffle=True, num_workers=0
)
testloader = torch.utils.data.DataLoader(
testdata, batch_size=20, shuffle=False, num_workers=0
)
Running code on Windows
If you use windows, wrap your code in the if __name__ == '__main__' clause to support multiprocessing.
Here you can find more info on this issue.
Metadata
Release files for skyimages 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skyimages-0.0.2.tar.gz | 7.5 kB | Without provenance | Details for skyimages-0.0.2.tar.gz |
Release files / skyimages-0.0.2.tar.gz
| Download URL | skyimages-0.0.2.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb5f67e09440df57ef892fd1282fab1dd78b50b4a8a10b1c9da40ea81abbc622
|
|
BLAKE2b-256 checksum How to use checksums |
ce39be26117f691cca2682d9852bd8ed1877f4dc4e9749ce00b1a583a3540847
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.4
|
Security for skyimages 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.