Skip to main content

Python version Build Status

ultan

“You know old Ultan, I take it? No, course not. If you did, you’d know the way to the library.” — The Shadow of the Torturer, Gene Wolfe

ultan is a Python identifier and documentation provider. It has two main services:

  1. It can list all identifiers available in your current Python environment.

  2. It can provide docstrings for names.

This may not sound very spectactular, and it’s not. The main trick ultan aims for is being able to provide a comprehensive list of identifiers, even for modules which are not imported. It uses various strategies to scan your installed packages for identifiers, doing things, for example, like parsing source files into ASTs and looking for assignments.

Why?

ultan is supposed to scratch a specific itch: being able to do completion on identifiers which aren’t actually available in the current namespace. For example, if I’m coding along and want to add uuid.uuid1(), standard completers won’t give me that completion unless I’ve already imported uuid. ultan will know about uuid.uuid1() even if you haven’t imported uuid, so you can get the completion.

This may be a terrible idea! But I want to give it a try.

Tests

ultan uses tox to run its tests. Here’s that works:

$ pip install -e .[test]
$ tox

There are more details to it, of course, but you can learn about those by reading the tox documentation.

Metadata

Release files for ultan 2.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ultan 2.1.0
File Size Uploaded
ultan-2.1.0.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ultan 2.1.0
File Interpreter ABI Platform
ultan-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.9 kB

Release files / ultan-2.1.0.tar.gz

Download URL ultan-2.1.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
110ff1fe62f0d3716fd849afb3ba3a1979c0ab7be504992050b7d79ec45093e7
BLAKE2b-256 checksum
How to use checksums
a00e090e18951248a66e93b3ffec5051f88e7fc06af576f39cfa54b35c99d2fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ultan-2.1.0-py3-none-any.whl

Download URL ultan-2.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf62652275bd903db981a34ee575b4b6c9ed1cee8dfe262080f0bfa75b5926fc
BLAKE2b-256 checksum
How to use checksums
19e623d95ddfe59465805957c16ff76f803dc5d7e9c50560b1f17be6fefb223d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.1.0 This release

2 release files

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