Catalog PyPI
Back to packageRELEASE DETAILS

0.0.3

PyPI

adopt-a-doodle

A Python package to make the creation of Doodle actors easier!

Published19 Mar 2024
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.0.3 documentation

adopt-a-doodle

A Python package to make the creation of Doodle actors easier!

Dependencies

adopt_a_doodle depends on Panda3D. If you have not installed it already, you can do so with the following command:

pip install Panda3D

Installing

To install the latest version of adopt_a_doodle, open your favorite command terminal and use the following command:

pip install adopt_a_doodle

If for whatever reason you are unable to install adopt_a_doodle through pip, you can also install it through the latest source distribution released on GitHub. Download the tar.gz file and open your favorite command terminal. Navigate to wherever the file was downloaded and run the following command:

pip install [file]

Usage

With adopt_a_doodle, the creation of Doodle actors becomes much easier.
Like with any other Panda3D Toontown project, you must first extract the Phase Files. You can do so with the following command, with [x] being replaced by the id of the phase file:

multify.exe -xf phase_[x].mf

With adopt_a_doodle, you will need phase_4, phase_5, and phase_5.5. Once these files are extracted, drop them into the same directory you want to have your Python files in. Your directory should look similar to this:

| phase_4
| phase_5
| phase_5.5
| example_doodle.py

Next, go into phase_4/models and find TT_pets-mod.bam. This is the model file for doodles. Drop this file into your main working directory, which should now look like this:

| phase_4
| phase_5
| phase_5.5
| example_doodle.py
| TT_pets-mod.bam

Now that all the necessary files are here, you can open the Python file containing your scene and start to program! Here's an example scene:

from direct.directbase.DirectStart import base
import adopt_a_doodle

example_doodle = adopt_a_doodle.adopt(adopt_a_doodle.Doodle(
    color=(0.546875, 0.28125, 0.75, 1.0),
    eye_color=(0.242188, 0.742188, 0.515625, 1.0),
    pattern=adopt_a_doodle.Pattern(ears="phase_4/maps/BeanCatEar3Yellow.jpg",
        body="phase_4/maps/BeanbodyLepord2.jpg",
        legs="phase_4/maps/BeanFootYellow1.jpg",
        tail="phase_4/maps/BeanLongTailLepord.jpg"),
    animation=adopt_a_doodle.Animation(file="phase_5/models/char/TT_pets-speak.bam",
        anim_loop=True,
        loop_from=None,
        loop_to=None,
        loop_restart=None,
        pose=False,
        pose_frame=None),
    eyelashes=False,
    hair=None,
    ears="catEars",
    nose=None,
    tail="longTail"))
example_doodle.setPos(0,5,-1.2)
example_doodle.setH(180)
example_doodle.reparentTo(render)

base.run()

This code will produce the following doodle:

A purple doodle with Leopard spots, cat ears, and a long tail.

Documentation

You can find documentation for adopt_a_doodle in the rustydoodle lib.rs file.

License

Code in adopt_a_doodle is licensed under the MIT License.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
panda3d
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
panda3d ~=1.10.11runtime

Distribution files

10 collected
adopt_a_doodle-0.0.3-cp311-cp311-macosx_10_12_x86_64.whl

bdist_wheel · 210.18 KB · Python cp311

Source file
adopt_a_doodle-0.0.3-cp311-cp311-macosx_11_0_arm64.whl

bdist_wheel · 202.39 KB · Python cp311

Source file
adopt_a_doodle-0.0.3-cp311-cp311-manylinux_2_34_x86_64.whl

bdist_wheel · 235.42 KB · Python cp311

Source file
adopt_a_doodle-0.0.3-cp311-none-win32.whl

bdist_wheel · 136.34 KB · Python cp311

Source file
adopt_a_doodle-0.0.3-cp311-none-win_amd64.whl

bdist_wheel · 140.81 KB · Python cp311

Source file
adopt_a_doodle-0.0.3-cp312-cp312-macosx_10_12_x86_64.whl

bdist_wheel · 209.99 KB · Python cp312

Source file
adopt_a_doodle-0.0.3-cp312-cp312-macosx_11_0_arm64.whl

bdist_wheel · 202.52 KB · Python cp312

Source file
adopt_a_doodle-0.0.3-cp312-none-win32.whl

bdist_wheel · 137.02 KB · Python cp312

Source file
adopt_a_doodle-0.0.3-cp312-none-win_amd64.whl

bdist_wheel · 141.72 KB · Python cp312

Source file
adopt_a_doodle-0.0.3.tar.gz

sdist · 135.36 KB · Python source

Source file

Repository

PENDING
vhou-atroph/adopt-a-doodle

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:46 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:821b3fe1fbcd0883c2f4205bc939f5bdde91930b4e835259e072d34d57edde37

Other collected versions

View all collected versions →