# 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:
1. Ensure that a supported Python version is installed (3.5, 3.6, 3.7, 3.8, 3.9).
2. Ensure that the following command-line tools are available:
- `awk`, `cp`, `mv`, `rm`, `sha1sum`, `sha256sum`, and `sed`; available on POSIX systems.
- `curl`
- `git`
- `make`
3. Install `pip` using cURL:
```bash
curl https://bootstrap.pypa.io/get-pip.py | /usr/bin/env python3
```
4. 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.
```python
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](https://unimatrixone.gitlab.io/libraries/python-unimatrix/octet).
## Resources
- [Unimatrix Octet Technical Documentation](https://unimatrixone.gitlab.io/libraries/python-unimatrix/octet)
- [azure.storage.blob.BlobClient.download_blob](https://docs.microsoft.com/en-us/python/api/azure-storage-blob/azure.storage.blob.blobclient?view=azure-python#download-blob)
## License
Proprietary
## Author information
This Python package was created by **Cochise Ruhulessin** for the
[Unimatrix One](https://cloud.unimatrixone.io) project.
- [Send me an email](mailto:cochise.ruhulessin@unimatrixone.io)
- [GitLab](https://gitlab.com/unimatrixone)
- [GitHub](https://github.com/cochiseruhulessin)
- [LinkedIn](https://www.linkedin.com/in/cochise-ruhulessin-0b48358a/)
- [Twitter](https://twitter.com/magicalcochise)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共29个文件
py:17个
txt:5个
pkg-info:2个
资源分类:Python库 所属语言:Python 资源全名:unimatrix.ext.octet-0.0.8.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
unimatrix.ext.octet-0.0.8.tar.gz (29个子文件)
unimatrix.ext.octet-0.0.8
MANIFEST.in 278B
PKG-INFO 5KB
docs
source
conf.py 2KB
unimatrix.ext.octet.egg-info
PKG-INFO 5KB
requires.txt 10B
SOURCES.txt 1000B
top_level.txt 19B
dependency_links.txt 1B
setup.cfg 38B
requirements.txt 10B
setup.py 1KB
unimatrix
ext
octet
package.json 1KB
tests
__init__.py 0B
__init__.py 0B
VERSION 6B
lib
tests
test_descriptor_json.py 1KB
__init__.py 0B
__init__.py 0B
backends
local.py 2KB
tests
test_local.py 4KB
__init__.py 0B
test_azure.py 693B
test_gcs.py 764B
__init__.py 0B
gcs.py 2KB
base.py 3KB
azure.py 3KB
descriptor.py 3KB
README.md 3KB
共 29 条
- 1
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- kmp算法-使用kmp算法在Golang中实现字符串匹配.zip
- LTC2756 +LTC6244+LTC6655 设计18位乘法串行输入电流输出DAC数模转换器模块硬件(原理图+PCB)工程
- kmp算法-基于C语言实现KMP算法.zip
- DMS智能座舱项目-Python基于深度学习实现驾驶员分心行为监测系统源码.zip
- 2023年数控机床与编程知识点总结归纳(精选试题附答案).docx
- 2023年数控机床与编程考点总结.pdf
- 2023年数控机床与编程考点题型与解题方法(精选试题附答案).docx
- 3CHISS统计软件介绍(Master).pdf
- 3PE防腐绝缘燃气管道接口施工方案.doc
- 51单片机C语言教程.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功