Skip to main content

uranium-plus: opinionated usage of uranium

uranium-plus is an alpha project. use at your own risk, and things are subject to change

uranium-plus is an opinionated way of using uranium, relying on standardization to provide functionality out of the box:

  • a uranium test directive, using pytest
  • a uranium publish directive, to publish packages
  • a uranium main directive,

standard conventions

  • your tests live in either in a "tests" directory under your main module.
  • a setup.py file is used to declare your package
  • the main task can be overriden with any setup required to publish the application.

using uranium-plus in your ubuild.py

You can install uranium-plus, then call the provided boostrap function to bootstrap your repo. from that point on, you will have all the standard uranium-plus goodies:

# ubuild.py
build.packages.install("uranium-plus")
import uranium_plus

build.config.update({
    "uranium-plus": {
        "module": "my-module"
    }
})

uranium_plus.bootstrap(build)

Using uranium-plus for vscode

uranium-plus includes built in configuration for maximum compatibility with vscode's vscode-python extension.

modify your uranium-plus installation to include the vscode extras:

# ubuild.py
build.packages.install("uranium-plus[vscode]")
import uranium_plus

Design / Best Practices

uranium-plus ensures best practices that are not necessarily enforced by uranium itself, this inclues:

Installing all dependencies and requirements during the main() call.

Developers may go offline at inopportune times. As a result, there should not be surprise dependencies that are discovered only when the task is invoked for the first time.

uranium-plus moves almost all dependencies to the setup.py, and moves dependencies that can only be resolved by user configuration (such as test.packages) to the main() function to be installed then.

Release files for uranium-plus 2.1.1

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

Source distribution (sdist)

Source distribution for uranium-plus 2.1.1
File Size Uploaded
uranium-plus-2.1.1.tar.gz 3.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for uranium-plus 2.1.1
File Interpreter ABI Platform
uranium_plus-2.1.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 7.3 kB

Release files / uranium-plus-2.1.1.tar.gz

Download URL uranium-plus-2.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6c5842856ee24a7a4f0dd33692ef78263b260db52d16757a34f0a7fbc03086b5
BLAKE2b-256 checksum
How to use checksums
30bd183545a6cd346fd6908c258286ea82b80e31eaf447d8fc056c1193671441
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.1

Release files / uranium_plus-2.1.1-py2.py3-none-any.whl

Download URL uranium_plus-2.1.1-py2.py3-none-any.whl
Size 3.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
718729d40af488d7076b40d78ef4ad841cfd7e4286b1f2e43c4c475e6b0bdbaf
BLAKE2b-256 checksum
How to use checksums
b63caddb264bbd6a55738c3c9fa1e209718f7f634323caa00c183ec71e7812f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.1

Release history Release notifications | RSS feed

This release

2.1.1 This release

2 release files

2.0.4

2 release files

2.0.3

2 release files

2.0.2

2 release files

2.0.1

2 release files

1.10.0

2 release files

1.9.1

2 release files

1.9.0

2 release files

1.8.0

2 release files

0

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