Skip to main content

AA EVE SDE Factory.

Factory helpers for faster application development with EVE SDE data


Features

  • AllianceAuth Model Factories
    • User
      • Optional UserMainFactory with random permission assigmend
    • EveCharacter
    • EveCorporation
    • EveAlliance
  • EVE SDE Model Data Generation
    • Constellation
    • ItemType
    • ItemGroup
    • ItemCategory
    • Planet
    • Region
    • SolarSystem

Upcoming

  • Remaining EVE SDE Models
  • Other Utility Tools

Introducing

These factories help you quickly create realistic AllianceAuth and EVE SDE objects in tests without writing repetitive setup code. They are especially useful when you need a valid user, corporation, or item model for a fast and focused test.

from evesde_factory.allianceauth import UserMainFactory
from evesde_factory.eve_sde import ItemTypeFactory


class TestEveSdeFactory(EVESDEFactoryTestCase):
    """Test the factories."""


def test_can_create_app_user_with_custom_permissions():
    """Create a user with a custom permission for testing."""
    user = UserMainFactory(permissions__=["yourapp.basic_access"])
    self.assertTrue(user.has_perm("yourapp.basic_access"))


def test_create_itemtype():
    """Create a basic EVE SDE item type for testing."""
    custom_name = "Custom Item Type"
    item_type = ItemTypeFactory(name=custom_name)
    self.assertEqual(item_type.name, custom_name)

Contributing

You want to improve the project? Please ensure you read the Contribution Guidelines

Metadata

Release files for aa-evesde-factory 0.0.1

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

Source distribution (sdist)

Source distribution for aa-evesde-factory 0.0.1
File Size Uploaded
aa_evesde_factory-0.0.1.tar.gz 34.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aa-evesde-factory 0.0.1
File Interpreter ABI Platform
aa_evesde_factory-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 73.7 kB

Release files / aa_evesde_factory-0.0.1.tar.gz

Download URL aa_evesde_factory-0.0.1.tar.gz
Size 34.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5936cff1cf5b4ab061591d8bd213ca65ef65a266c208eaf9d0a34d6fb88d8714
BLAKE2b-256 checksum
How to use checksums
874ab1c59b95baa0eb53f0cc2cedf39587289954abde87cb2ca9e81cc4694f01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release files / aa_evesde_factory-0.0.1-py3-none-any.whl

Download URL aa_evesde_factory-0.0.1-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9269044fafa7505bee60981ccf9724a69a0501be82fa4ca344b5d1cdf3d5e1d0
BLAKE2b-256 checksum
How to use checksums
b718fd0c931dcc3bf809ac6c3bd00cec670c75ccad116faf08a65e958b35899e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

0.0.2

2 release files

This release

0.0.1 This release

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