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(self):
        """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(self):
        """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.2

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.2
File Size Uploaded
aa_evesde_factory-0.0.2.tar.gz 34.9 kB Details

Built distribution (wheel)

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

Total release size: 73.9 kB

Release files / aa_evesde_factory-0.0.2.tar.gz

Download URL aa_evesde_factory-0.0.2.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
168ab6b1818ea31dfe80a2d80db3be63af1a1fb08e26d3bdf1631f694a616cad
BLAKE2b-256 checksum
How to use checksums
fe05431d528ebd514b21d12420ee76b98b94279ecbd121d2c407cce6e0311dbc
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.2-py3-none-any.whl

Download URL aa_evesde_factory-0.0.2-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
31f5efcef78486fc0635dbe8d49cd5d97f53ca2e44362d6ae37cc3041acf7330
BLAKE2b-256 checksum
How to use checksums
ab433f6cbb2974e5ff474e4422f74a55d674bc0f90ad4c3c538a88d065bb67a6
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

This release

0.0.2 This release

2 release files

0.0.1

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