Skip to content

Last EnkaCard 2.0.0

Choose a tag to compare

@DEViantUA DEViantUA released this 28 Nov 18:49
· 25 commits to main since this release
9c37d6f

Half a year ago, I decided to completely rewrite the EnkaCard code. But my Hard Disk died, on which I lost all the templates and 80% of the code rewritten. I decided to rewrite it with a new one, but due to the lack of PSD sources, I decided to close all the old templates and leave them in version 2.0.0, fixing many errors and changing the code slightly.

Changes:

  1. Removed feature: enc()
  2. Removed variables from ENC class:
  • img - Now you can pass a list of images to character_art.
  • randomImg - Now, if a list of images is sent, it selects randomly automatically.
  • adapt - If an image is transferred, adaptation is turned off automatically
  • splashArt - Automatically installs the costume splash, if available.
  1. Changed variables:
  • characterImgs changed to character_art
  • characterName changed to character_id
  • hide changed to hide_uid
  1. uid added to class ENC
  2. Feature artifact changed artifactType to artifact_type
  3. creat remove uid feature
  4. Nnow the result comes in the form of BaseModel and there is no need to use json syntax.

To install this version, use:

pip install enkacard2

That's all, further updates of these templates and codes will be stopped, the next version of EnkaCard 3.0.0 is already in development and will contain new templates