Skip to main content

artpack

Hexagonal logo with colorful, flowing wave patterns in rainbow hues. White text reads 'aRtpack' with a paintbrush accent, and Python logo in bottom right corner.

Python port of the R package artpack, bringing generative art color palettes to the Python ecosystem.

About

artpack provides curated color palettes designed for generative art and data visualization. This is a work-in-progress port of the original R package.

Installation

pip install artpack-py

Quick Start

from artpack import art_pals

# Get 5 colors from the ocean palette
colors = art_pals("ocean", n=5)
print(colors)
# ['#12012E', '#144267', '#15698C', '#0695AA', '#156275']

# Reverse the palette
colors_rev = art_pals("ocean", n=5, direction = "reverse")

# Randomize color order
colors_random = art_pals("rainbow", n = 10, randomize = True)

Available Palettes

"arctic", "beach", "bw", "brood", "cosmos", "explorer", "gemstones", "grays", "icecream", "imagination", "majestic", "nature", "neon", "ocean", "plants", "rainbow", "sunnyside", "super"

Development Status

🚧 Work in Progress - Currently porting core functionality from the R version. More features coming soon!

Currently implemented:

  • ✅ Color palette generation (art_pals())
  • ✅ Circle data generation (circle_data())
  • ✅ 100% test coverage
  • ✅ CI/CD with GitHub Actions

Roadmap:

  • Additional color palette tools (Functions that help with color-related tasks.)
  • Asset creation (Functions that help with making data for generative art.)
  • Geometric testing tools (Functions that help with geometric/spatial analysis for generative art.)
  • Grouping tools (Functions that help with grouping generative art data.)
  • Sequencing tools (Functions that help with numeric sequencing.)
  • Transformation tools (Functions that help with transforming existing generative art data.)

Links

License

MIT License

Copyright (c) 2025 Meghan Harris

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author

Meghan Harris (@meghansaha)

Metadata

Release files for artpack 0.2.0.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for artpack 0.2.0.post1
File Size Uploaded
artpack-0.2.0.post1.tar.gz 864.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for artpack 0.2.0.post1
File Interpreter ABI Platform
artpack-0.2.0.post1-py3-none-any.whl Python 3 none any Details

Total release size: 874.5 kB

Release files / artpack-0.2.0.post1.tar.gz

Download URL artpack-0.2.0.post1.tar.gz
Size 864.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3d3f19d81a76f6ff9732691772cc1b8f84d4b749e69b54a173e945813b06621f
BLAKE2b-256 checksum
How to use checksums
8a87df22f7bf96f13059fffda78e04c3fede2d09d849793c9e11e92ee72d34f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / artpack-0.2.0.post1-py3-none-any.whl

Download URL artpack-0.2.0.post1-py3-none-any.whl
Size 10.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80677ac5db9ac02365184deed5f3ca50a20f2dbbfbf23306ad3c22fd5c234e39
BLAKE2b-256 checksum
How to use checksums
8337edd1790adad8dd892a8cf1eba9df9f251238cfefc61fdae0d5aad1cd4c0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.2.0.post1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page