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 (all data models of django-eveonline-sde 1.0.0)
    • Map: Region, Constellation, SolarSystem, Star, StarResource, Stargate, Planet, PlanetResource, Moon, NPCStation, Landmark
    • Types: ItemCategory, ItemGroup, ItemMarketGroup, ItemType, ItemTypeMaterials, TypeList with types, groups and categories
    • Dogma: DogmaAttributeCategory, DogmaUnit, DogmaAttribute, DogmaEffect, TypeDogma, TypeEffect
    • Certificates: Certificate, CertificateSkill, CertificateRecommendedType, Mastery
    • Industry: BlueprintActivity with products and materials
    • Freelance: FreelanceJobSchema with parameters
    • Misc: Archetype, AccountingEntryType, NotificationType, CorporationRole, CorporationRoleGroup with memberships, MetenoxMoonDrill, SkillPlan with milestones and skill requirements, SovereigntyUpgrade

Upcoming

  • 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
from yourapp.tests import AuthTestCase


class TestEveSdeFactory(AuthTestCase):
    """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.2.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.2.1
File Size Uploaded Provenance Actions
aa_evesde_factory-0.2.1.tar.gz 40.0 kB With provenance Details for aa_evesde_factory-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 84.0 kB

Release files / aa_evesde_factory-0.2.1.tar.gz

Download URL aa_evesde_factory-0.2.1.tar.gz
Size 40.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4ca8ba886cf55f303b507b574ab4262b9e15d3f819cb31a88895a42d1b405d36
BLAKE2b-256 checksum
How to use checksums
913ceb6e4283dd5ad0aa1d35a2e84577615f55779716e02f866f2819393581e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

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

Download URL aa_evesde_factory-0.2.1-py3-none-any.whl
Size 44.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd9eecad80b2c5f9ae24070e59c742079afa70869acbfb3cdbe5f5f3c42bc378
BLAKE2b-256 checksum
How to use checksums
2da9d41811d40cacae53336a24968447e983e140ea71dd96057ca6c1983ce4c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 10, 2026.

Transparency log

Security for aa-evesde-factory 0.2.1

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aa_evesde_factory-0.2.1.tar.gz

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 Nov 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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