Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.3.0 instead.
Reason given by maintainers: incorrect library image

CLI utility for using Singularity container as virtual environment (requires singularity to already be installed).

$ basis --help
Usage: basis [OPTIONS] [CMD]...

Options:
  -i, --image TEXT
  -a, --app TEXT    {bash, fish, jupyter, code}
  -b, --basis PATH
  -w, --work PATH
  -c, --cwd PATH
  --help            Show this message and exit.

The first time it is run it will download a pre-build Singularity image. You must also tell it where to create the basis directory on the first run, which will become a virtual home inside the container.

$ basis -b ./.basis
image: library://kcdodd/basis/ubuntu-22.04-basis:0.0.1
  app: fish
basis: /path/to/cwd/.basis
 work: /
  cwd: /path/to/cwd
  cmd:
Entering container...
INFO:    Using cached image
Loading python/3.11.0/gcc-system
  Loading requirement: gcc/system/default
Creating environment: /basis/envs/default
Creating modulefile /basis/mods/environment/default
Loading environment: /basis/envs/default
Saved modules to /basis/envs/default/modules
gcc/system/default python/3.11.0/gcc-system environment/default
Loading environment: /basis/envs/default
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
>? ok | 10:43:13 | 0ms
>[S] user@hostname | (default) | /work/path/to/cwd
>$ echo $HOME
/basis
>? ok | 10:55:36 | 0ms
>[S] user@hostname | (default) | /work/path/to/cwd
>$ which python
/basis/envs/default/bin/python
>? ok | 10:59:06 | 6ms
>[S] user@hostname | (default) | /work/path/to/cwd
>$ exit
... Exited container

Safely delete basis directory to start over.

rm -r ./.basis

Release files for partis-basis 0.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 partis-basis 0.1.0
File Size Uploaded
partis_basis-0.1.0.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for partis-basis 0.1.0
File Interpreter ABI Platform
partis_basis-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 kB

Release files / partis_basis-0.1.0.tar.gz

Download URL partis_basis-0.1.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
073eefd828a6ab57fcd167821d7b0842fb8c891e96ef10f320dcbd35a35d0ce3
BLAKE2b-256 checksum
How to use checksums
d020ff8bc7f6daafab04a7e7c91722caa8621a17c7c2915cdd09b675f0c2e13e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / partis_basis-0.1.0-py3-none-any.whl

Download URL partis_basis-0.1.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1db7b1c3e4fe4dc28ac8342f3eb2688bc11ae70cc6060cf57efa33e844333744
BLAKE2b-256 checksum
How to use checksums
a9938a8b036256d10fc09c71691f30aa57493bb2ad62888a45e9f0eb89d58bc3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

0.3.0

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

1 release file

0.0.2

1 release file

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