Skip to main content

This is an isort plugin implementing the style used in the gaussdb project to sort:

  • imports in length order

  • import lists in natural order

The effect is the same of specifying --length-sort but only for the module names. For example:

from ccc import aaaa, bbb, cc
from bbbb import ddd, ee
from aaaaa import fff, gg

Example configuration:

[tool.isort]
profile = "black"
length_sort = true
multi_line_output = 9
sort_order = "gaussdb"

Note: because this is the first day I use isort at all, there is a chance that this plug-in is totally useless and the same can be done using isort features.


License

This project is a fork of psycopg, originally developed by the Psycopg Team.

  • Original work: Copyright © 2020 The Psycopg Team

  • Modifications: Copyright © 2025 Huawei Cloud Developer Team

  • License: GNU Lesser General Public License v3.0 (LGPL v3)

isort-gaussdb inherits the same license. All modifications are distributed under the LGPL v3.

See the full license text in the LICENSE.txt file.


Metadata

Release files for isort-gaussdb 0.0.6

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

Built distribution (wheel)

Table of built distributions (wheels) for isort-gaussdb 0.0.6
File Interpreter ABI Platform
isort_gaussdb-0.0.6-py3-none-any.whl Python 3 none any Details

Release files / isort_gaussdb-0.0.6-py3-none-any.whl

Download URL isort_gaussdb-0.0.6-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e1f41641a572e4105b47117f4d8f3f4d2349a2c4625390db75c55af97094fbd8
BLAKE2b-256 checksum
How to use checksums
555c409f60251ee81b70b59fd89b0d0ce9f25f0f169f4f4bc2d8e7cdee2cfdb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.9

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

2 release files

0.0.2

2 release files

0.0.1

1 release file

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