Skip to main content

Rockflow Avatars generator

Project description

user-avatars

rock-avatars

pytest --cov=rock_avatars/
python setup.py sdist build
twine upload dist/*

文件目录结构

tree ./data
./data
├── background.png
├── cloth
│   └── cloth.png
├── eye
│   └── eyes.png
├── hair
│   ├── hair.png
│   └── hair2.png
├── horn
│   └── horn.png
└── mouth
    ├── mouth.png
    └── mouth2.png

5 directories, 8 files

用法

import rock_avatars as rf

avatar = rf.Avatar(
    "./data",
    "background.png",
    [
        "mouth",
        "horn",
        "hair",
        "eye",
        "cloth",
    ],
)
avatar.generate()

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

rock_avatars-0.0.1.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file rock_avatars-0.0.1.tar.gz.

File metadata

  • Download URL: rock_avatars-0.0.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for rock_avatars-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5ad68bd40409984667d771b11c7caf96ff365ec8aa7338e1d3fff5ddbe1c60de
MD5 f5f424dabfd302272cce5bdc6882de28
BLAKE2b-256 4b0b3176c19babe7a64859e103ae0f1d5c934ef42d17d21e6f0959912b4d0769

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page