DataLad Logo
0.15
  • Change log
  • Acknowledgments
  • Publications
  • Background and motivation
  • Delineation from related solutions
  • Basic principles
  • Credentials
  • Metadata
  • Customization and extension of functionality
  • Design
    • Application-type vs. library-type usage
    • File URL handling
    • Result records
    • dataset argument
    • Log levels
    • Drop dataset components
    • Python import statements
    • Miscellaneous patterns
    • Exception handling
    • Credential management
    • URL substitution
    • Threaded runner
    • BatchedCommand and BatchedAnnex
    • Standard parameters
    • Positional vs Keyword parameters
    • Docstrings
  • Glossary
  • Command line reference
  • Python module reference
  • Configuration
DataLad
  • »
  • Design

Design

The chapter described command API principles and the design of particular subsystems in DataLad.

  • Application-type vs. library-type usage
    • Library-mode implications
  • File URL handling
    • Extensible protocol and authentication support
    • Indexing and access of archive content
  • Result records
    • Mandatory fields
    • Common optional fields
    • Additional fields observed “in the wild”
  • dataset argument
    • Impact on relative path resolution
    • Special values
    • Use cases
  • Log levels
    • Common principles
    • Use cases
  • Drop dataset components
    • Use cases
  • Python import statements
    • Examples
  • Miscellaneous patterns
    • Generator methods in Repo classes
    • Calls to Git commands
    • Command examples
  • Exception handling
    • Catching exceptions
    • Messaging about an exception
  • Credential management
    • Credentials
    • Providers
    • Integration with Git
    • Authenticators
  • URL substitution
    • Examples
  • Threaded runner
    • Threads
    • Protocols
    • Object and Generator Results
  • BatchedCommand and BatchedAnnex
    • Batched Command
    • BatchedAnnex
  • Standard parameters
  • Positional vs Keyword parameters
    • Motivation
    • Interfaces
    • Regular functions and methods
  • Docstrings
    • Formatting overview and guidelines
Previous Next

© Copyright 2016-2022, DataLad team.

Built with Sphinx using a theme provided by Read the Docs.