Skip to main content

Python helpers for accessing Coda Distributed File System functionality.

Project description

CodaFS Python helpers

Python helpers for the Coda Distributed File System.

Some wrappers around Coda command line interface tooling to make it easier to access Coda specific information from the file system. Things like the unique Coda FID (file identifier) and manipulating Coda ACLs (access control lists).

And a collection of Python scripts that use these wrappers to help with the management of the file system.

  • coda-make-certs is used to generate and update X509 certificates for Coda realms and servers.
  • coda-sync-acls can be used to copy, backup and restore ACLs.
  • coda-volmunge is a tool to walk a subtree of a volume to trigger the client to make sure all replicas are up-to-date and force server-server resolution in case of discrepancies. It can also be used to find unresolvable conflicts, missing volume mounts and other oddities.

This is a work in progress.

Installation

pipx install codafs

Development

git clone https://github.com/cmusatyalab/coda.git
cd coda/python
pipx install -e .

Rebuild the sdist and wheel packages with pyproject-build.

pipx install build
cd coda/python
pyproject-build

Documentation / Manual pages

This documentation can be built using mkdocs-material.

pipx install mkdocs-material --install-deps
cd coda/python
mkdocs serve

The man pages under coda/python/docs/manpages can also be converted to UNIX man pages using pandoc.

cd coda/python/docs/manpages
pandoc -s -t man filename.1.md > coda-filename.1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codafs-0.0.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codafs-0.0.0-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file codafs-0.0.0.tar.gz.

File metadata

  • Download URL: codafs-0.0.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for codafs-0.0.0.tar.gz
Algorithm Hash digest
SHA256 3a63f5f7a79418d3a1590582087a370804b68a96e0842807dfbac9650111ffe1
MD5 126f9c711d14915ca585f79e234f629a
BLAKE2b-256 ee3363862a11e5ecaa91400a44c6124c9ea2f097ef80ecd400eccfd93b8090bf

See more details on using hashes here.

File details

Details for the file codafs-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: codafs-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.14

File hashes

Hashes for codafs-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5358b70f522ad1ab9878a2fe7e6ec6c2081364e0e417454b40ab46e7d4d1e835
MD5 8d3cf828a5a7ec88a7dc7ea9e64024dc
BLAKE2b-256 0418b71bece964a50999e865cfd785657c630aaa30e165bee9f9b45bb14cbf64

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page