Catalog PyPI
Back to packageRELEASE DETAILS

0.0.2

PyPI

aa-evesde-factory

Factory helpers for faster application development with EVE SDE & AllianceAuth data

Published10 Sept 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 0.0.2 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

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

Declared dependencies 4

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
allianceauth
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<3.15,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
allianceauth>=5.2runtime
django-eveonline-sde
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "<3.15,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
django-eveonline-sde<1,>=0.2runtime
coverage
Environment
{
  "extras": "",
  "marker": "extra == \"tests-allianceauth-latest\"",
  "requires_python": "<3.15,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
coverage; extra == "tests-allianceauth-latest"runtime
factory-boy
Environment
{
  "extras": "",
  "marker": "extra == \"tests-allianceauth-latest\"",
  "requires_python": "<3.15,>=3.10",
  "evaluation": "NOT_EVALUATED"
}
factory-boy; extra == "tests-allianceauth-latest"runtime

Distribution files

2 collected
aa_evesde_factory-0.0.2-py3-none-any.whl

bdist_wheel · 38.05 KB · Python py3

Source file
aa_evesde_factory-0.0.2.tar.gz

sdist · 34.08 KB · Python source

Source file

Repository

PENDING
geuthur/aa-evesde-factory

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:54 UTC

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

Record identity

package_version:4b6fed4d45e7bd03b2e7a6fdc6ec91520a3d620b82ebe858ed58d2b97f50696f

Other collected versions

View all collected versions →