public domain art nouveau image data: lazy-downloading datasets of Morris, Mucha, and Driscoll
Project description
Art Nouveau Design Data
Public domain lazy-downloading data samples.
Example Use
import nouveau
# random image from all datasets
img = next(nouveau)
>> <PIL Image>
# metadata for the last image returned by next()
nouveau.details
>> {'year': 1897, 'name': 'Zodiac', 'filename': '1897-Zodiac.jpg'}
Indexed access — randomly assigned on first read, cached thereafter
nouveau[0]
>> <PIL Image>
nouveau[0] # same image
>> <PIL Image>
Sample a finite batch
import itertools
batch = list(itertools.islice(nouveau, 8))
Infinite stream
for img in nouveau:
process(img)
Collection Access & Sampling
morris = nouveau.collections.Morris()
mucha = nouveau.collections.Mucha()
driscoll = nouveau.collections.Driscoll()
# pandas index of metadata
morris.index.head()
>> shows pandas dataframe head with year, name, filename columns
# random image from a specific collection
driscoll.sample()
>> <PIL Image>
# iterate as PIL Images (aligned with index by position)
for i, img in enumerate(morris):
print(morris.index.iloc[i]['name'], img.size)
# access a single item by position (returns dict with numpy image)
morris[0]
>> {'year': 1862,
>> 'name': 'Fruit-Blue',
>> 'filename': '1862-Fruit-Blue.jpg',
>> 'image': array([[[254, 253, 249], ...
# display by index or name
morris.show(1)
>> <pyplot image>
morris.show('Fruit-Blue')
>> <pyplot image>
# get a PIL Image by index or name
morris.toPIL(0)
>> <PIL Image>
# PyTorch dataset (returns [tensor, name, year] per item)
tensors = morris.to_torch()
tensors[0][0].shape
>> torch.Size([3, 1987, 1586])
license: cc-by-sa-4.0 task_categories:
- image-classification pretty_name: Art Nouveau Design Data size_categories:
- n<1K tags:
- morris
- mucha
- driscoll
- tiffany
Licenses
| Collection | License |
|---|---|
| Morris | Unlicense |
| Mucha | Unlicense |
| Driscoll | CC BY-SA 4.0 |
The package code is Unlicense. Image data licenses vary by collection as noted above. The overall dataset is distributed under CC BY-SA 4.0 as the most restrictive license present.
Project details
Release history Release notifications | RSS feed
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nouveau-1.0.2.tar.gz.
File metadata
- Download URL: nouveau-1.0.2.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c2ff3f9ae0e0f5cc45326b118489e21a29146091a51fa217749000d28a5748cb
|
|
| MD5 |
dffc44e1324e7826433768a38cdae9fc
|
|
| BLAKE2b-256 |
361862f96bf01a1e0a5095184fc2359aed38ddae47c03d75c10d566ace8551c3
|
Provenance
The following attestation bundles were made for nouveau-1.0.2.tar.gz:
Publisher:
publish.yml on dactylroot/nouveau
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nouveau-1.0.2.tar.gz -
Subject digest:
c2ff3f9ae0e0f5cc45326b118489e21a29146091a51fa217749000d28a5748cb - Sigstore transparency entry: 1783194310
- Sigstore integration time:
-
Permalink:
dactylroot/nouveau@f7e88a029a35c09a60e4bb5fc7aeb1bc8a9ef1e1 -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/dactylroot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f7e88a029a35c09a60e4bb5fc7aeb1bc8a9ef1e1 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nouveau-1.0.2-py3-none-any.whl.
File metadata
- Download URL: nouveau-1.0.2-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d6185a13c7a9b859c828843c8a2c2d1f3f5eadd9a6fd0e967f94dc12d67556d
|
|
| MD5 |
ae491c9bfbb17fd422be54d000e36217
|
|
| BLAKE2b-256 |
2a691a0139c2e35742809fdec6c3acde51a5f37975ff1c805b149d312caf0e51
|
Provenance
The following attestation bundles were made for nouveau-1.0.2-py3-none-any.whl:
Publisher:
publish.yml on dactylroot/nouveau
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nouveau-1.0.2-py3-none-any.whl -
Subject digest:
5d6185a13c7a9b859c828843c8a2c2d1f3f5eadd9a6fd0e967f94dc12d67556d - Sigstore transparency entry: 1783194485
- Sigstore integration time:
-
Permalink:
dactylroot/nouveau@f7e88a029a35c09a60e4bb5fc7aeb1bc8a9ef1e1 -
Branch / Tag:
refs/tags/1.0.2 - Owner: https://github.com/dactylroot
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f7e88a029a35c09a60e4bb5fc7aeb1bc8a9ef1e1 -
Trigger Event:
release
-
Statement type: