Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Import times are too slow

Open
#11 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
python
Domain
api, performance

Research direction

Reproduce the timing from test-script.py with and without import authentik_client. Start at the authentik_client package entry point and trace what runs during import. Done means the client still imports and works while the reported initialization delay is reduced and the timing is verified.

Written by the indexing model from the issue text.

Description

Just adding import authentik_client add +9s of initialization time!

import os
import sys
import authentik_client


def main():
    print(f"Hello")

if __name__ == "__main__":
    main()

Run time:

$ time python3 test-script.py
Hello

real	0m9.459s
user	0m9.361s
sys	0m0.098s

Comenting out the import:

import os
import sys


def main():
    print(f"Hello")

if __name__ == "__main__":
    main()

Run time:

$ time python3 test-script.py
Hello

real	0m0.013s
user	0m0.011s
sys	0m0.003s
Dominant language
Mustache
Stars
2
Forks
1
Avg merge
15h 5m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from goauthentik/client-python

All issues in goauthentik/client-python

Similar issues

More Backend & API Design issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.