Python classes for the Maltego standard entity catalog.
Project description
Maltego Standard Entities
maltego-transforms-std-entities exposes Maltego's standard entity catalog as Python classes for transform authors.
Maltego Graph Browser and Maltego Graph Desktop discover standard entity definitions from standard entity servers. Installing this package gives Python transforms reusable classes for the same standard entity type names, so transforms can emit and consume entities that pivot cleanly between each other in the graph.
Installation
pip install maltego-transforms-std-entities
Basic Usage
from maltego.entities import Domain, EmailAddress, IPv4Address, Website
domain = Domain("example.org")
website = Website("https://example.org")
address = IPv4Address("203.0.113.10")
email = EmailAddress("analyst@example.org")
print(domain.TYPE_NAME, website.TYPE_NAME, address.TYPE_NAME, email.TYPE_NAME)
Casefile entities are part of the same catalog and can also be imported from maltego.entities.casefile:
from maltego.entities import BankAccount, Gun
from maltego.entities.casefile import Businessman, IdentificationNumber
print(BankAccount.TYPE_NAME, Gun.TYPE_NAME)
print(Businessman.TYPE_NAME, IdentificationNumber.TYPE_NAME)
When To Extend
Prefer an existing standard entity when its type name and properties match the data your transform returns. Reusing standard entities makes downstream pivots easier because other transforms already know those schemas.
Extend a standard class when your data is the same kind of thing but needs additional properties:
from maltego.entities import Person
from maltego.server import MaltegoEntityConfig, MaltegoEntityProperty
class StaffMember(Person):
Config = MaltegoEntityConfig(display_name="Staff Member")
employee_id: str = MaltegoEntityProperty(
display_name="Employee ID",
sample_value="E-42",
)
Create a custom entity only when no standard entity expresses the object without losing meaning or overloading unrelated fields.
Package Scope
This package provides the shared Python catalog for Maltego standard entities. It includes reusable entity classes, Casefile entity classes, icon classes with packaged icon assets, category definitions, and inline type information for transform authors and server implementations.
Maltego already provides discovery for these standard entities in the Graph Browser and Desktop clients, so you don't need to register them yourself. Import the classes and use them directly in your transforms.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maltego_transforms_std_entities-1.0.0.tar.gz.
File metadata
- Download URL: maltego_transforms_std_entities-1.0.0.tar.gz
- Upload date:
- Size: 308.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0bd2504a0c369cb522dd459c33d4b6afd46e329ffa477ad3094435dc113b128
|
|
| MD5 |
ea00b8e4cd7392b06c39fad617fb9500
|
|
| BLAKE2b-256 |
2a2c3a409b8dd18d4097758b9dff4167609be4f219961d2b87b78b2d6dced445
|
Provenance
The following attestation bundles were made for maltego_transforms_std_entities-1.0.0.tar.gz:
Publisher:
release.yml on MaltegoTech/maltego-transforms-std-entities
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maltego_transforms_std_entities-1.0.0.tar.gz -
Subject digest:
c0bd2504a0c369cb522dd459c33d4b6afd46e329ffa477ad3094435dc113b128 - Sigstore transparency entry: 2163457399
- Sigstore integration time:
-
Permalink:
MaltegoTech/maltego-transforms-std-entities@ddb6fc6931de3fb874cb8d1dc71ff3f52ba72c2f -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/MaltegoTech
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ddb6fc6931de3fb874cb8d1dc71ff3f52ba72c2f -
Trigger Event:
release
-
Statement type:
File details
Details for the file maltego_transforms_std_entities-1.0.0-py3-none-any.whl.
File metadata
- Download URL: maltego_transforms_std_entities-1.0.0-py3-none-any.whl
- Upload date:
- Size: 333.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d495a3564196ae1bfb6673411e339a9e9ed944323ce68779928e1a0a736a204
|
|
| MD5 |
f20e1eabd5e55ed557c38e8a2cd8c2e0
|
|
| BLAKE2b-256 |
a70e04bbb0a24eb2b33c8479e5e04349e679c1c11e48008cf29d838d0930705a
|
Provenance
The following attestation bundles were made for maltego_transforms_std_entities-1.0.0-py3-none-any.whl:
Publisher:
release.yml on MaltegoTech/maltego-transforms-std-entities
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
maltego_transforms_std_entities-1.0.0-py3-none-any.whl -
Subject digest:
9d495a3564196ae1bfb6673411e339a9e9ed944323ce68779928e1a0a736a204 - Sigstore transparency entry: 2163457950
- Sigstore integration time:
-
Permalink:
MaltegoTech/maltego-transforms-std-entities@ddb6fc6931de3fb874cb8d1dc71ff3f52ba72c2f -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/MaltegoTech
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ddb6fc6931de3fb874cb8d1dc71ff3f52ba72c2f -
Trigger Event:
release
-
Statement type: