Enter a description for this Unimatrix package
Project description
Unimatrix Octet
Provides an abstraction layer of basic file operations for local and cloud storage.
TLDR
- Run
make bash
to spawn a terminal providing a configured runtime environment to debug, test and run the package. - Run
make lint
to check code style and quality. - Run
make test
to run the tests. - Run
make clean
to cleanup artifacts. - Run
make runserver
to start a demo/debug server. - Run
make bump-(major|minor|patch|prerelease|build)
to increase the major, minor, patch, prerelease or build version respectively.
Installation
Before you begin
Before you can install the unimatrix.ext.octet
package, you need to ensure
that the required dependencies are provided in your operating system environment:
-
Ensure that a supported Python version is installed (3.5, 3.6, 3.7, 3.8, 3.9).
-
Ensure that the following command-line tools are available:
awk
,cp
,mv
,rm
,sha1sum
,sha256sum
, andsed
; available on POSIX systems.curl
git
make
-
Install
pip
using cURL:curl https://bootstrap.pypa.io/get-pip.py | /usr/bin/env python3
-
Install or update the required packages and libraries on your operating system:
-
Debian/Ubuntu:
apt-get install -y libffi-dev openssl-dev
-
Alpine Linux:
apk add libffi-dev libressl-dev
-
Fedora/Red Hat Enterprise Linux/CentOS
dnf install libffi-devel openssl-devel
You can skip this step if you plan to always use the package or application inside a Docker container.
-
Additional packages may need to be installed for specific use cases.
For additional details on the configuration of your operating system environment, refer to the technical documentation.
System-wide installation
Run the following command in a terminal to install the unimatrix.ext.octet
package:
pip install unimatrix.ext.octet
Usage - Basic Example
Provide an example of basic usage.
import tempfile
from unimatrix.ext.octet.lib.backends.local import LocalDiskBackend
backend = LocalDiskBackend(base_path=tempfile.gettempdir())
with open('hello.txt', 'w') as f:
f.write("Hello world!")
For more advanced examples refer to the Unimatrix Octet Technical Documentation.
Resources
License
Proprietary
Author information
This Python package was created by Cochise Ruhulessin for the Unimatrix One project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file unimatrix.ext.octet-0.5.3.tar.gz
.
File metadata
- Download URL: unimatrix.ext.octet-0.5.3.tar.gz
- Upload date:
- Size: 28.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78f24d32ccda236029bae5202486cb86a61b90e204fd7713d158201c2756c97 |
|
MD5 | 9b1970e2229a65aa51490ad9b47d88a5 |
|
BLAKE2b-256 | ff7b61d62f658b6bf2f9893305317f6c78e935aa76fc88b4188e316d07f2fd6c |