Skip to content

Commit

Permalink
Merge pull request #79 from tdegeus/bugfix
Browse files Browse the repository at this point in the history
Modifying Python API
  • Loading branch information
tdegeus authored Mar 9, 2021
2 parents ea9ddb5 + 906b704 commit 78a57be
Show file tree
Hide file tree
Showing 26 changed files with 1,420 additions and 1,381 deletions.
84 changes: 52 additions & 32 deletions docs/python.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,61 +3,81 @@
Python module
*************

Support functions
-----------------
Type conversion
---------------

.. autosummary::

shelephant.FlattenList
shelephant.Squash
shelephant.convert.flatten
shelephant.convert.squash

YAML handling
yaml handling
-------------

.. autosummary::

shelephant.YamlRead
shelephant.YamlDump
shelephant.YamlPrint
shelephant.YamlGetItem
shelephant.yaml.read
shelephant.yaml.read_item
shelephant.yaml.dump
shelephant.yaml.view

File operations
---------------

.. autosummary::

shelephant.path.check_allisfile
shelephant.path.filter_deepest
shelephant.path.dirnames
shelephant.path.makedirs
shelephant.path.overwrite

File-path operations
--------------------

.. autosummary::

shelephant.CheckAllIsFile
shelephant.PrefixPaths
shelephant.ChangeRootOfRelativePaths
shelephant.GetDeepestPaths
shelephant.DirNames
shelephant.MakeDir
shelephant.MakeDirs
shelephant.OverWrite
shelephant.GetSHA256
shelephant.GetChecksums
shelephant.RsyncDiff

Copy functions
--------------
shelephant.relpath.add_prefix
shelephant.relpath.chroot

Checksum
--------

shelephant.checksum.sha256
shelephant.checksum.get


ssh queries
-----------

.. autosummary::

shelephant.ssh.file_exists

scp copy
--------

.. autosummary::

shelephant.scp.from_remote
shelephant.scp.to_remote

rsync copy and queries
----------------------

.. autosummary::

shelephant.IsOnRemote
shelephant.CopyFromRemote
shelephant.CopyToRemote
shelephant.RsyncFromRemote
shelephant.RsyncToRemote
shelephant.ShelephantCopy
shelephant.ShelephantCopySSH
shelephant.rsync.diff
shelephant.rsync.from_remote
shelephant.rsync.to_remote

Formatted print
---------------

.. autosummary::

shelephant.Theme
shelephant.String
shelephant.rich.theme
shelephant.rich.String


Details
Expand Down
Loading

0 comments on commit 78a57be

Please sign in to comment.