Albert Python


Overview
Albert Python is the official Albert Invent Software Development Kit (SDK) for Python that provides a comprehensive and easy-to-use interface for interacting with the Albert Platform. The SDK allows Python developers to write software that interacts with various platform resources, such as inventories, projects, companies, tags, and many more.
It provides:
- Typed Resource Models via Pydantic for entities like
Project
,InventoryItem
,Company
, and more. - Resource Collections with CRUD and search methods for each model (e.g.,
client.projects
,client.inventory
). - Multiple Authentication options: static token, OAuth2 client credentials, or browser-based SSO.
- Automatic Pagination and configurable logging.
Quick Start
Install the package:
Get all projects:
from albert import Albert
# Initialize with a static JWT token
client = Albert.from_token(
base_url="https://app.albertinvent.com",
token="YOUR_JWT_TOKEN"
)
for project in client.projects.get_all(max_items=10):
print(project.name)
Next Steps
- Learn core concepts: see Concepts
- Explore Authentication methods: see Authentication
- Explore detailed references: see Albert