Let us walk on the 3-isogeny graph
Loading...
Searching...
No Matches
IMetadataProvider Class Reference
Inheritance diagram for IMetadataProvider:

Public Member Functions

 has_metadata (name)
 
 get_metadata (name)
 
 get_metadata_lines (name)
 
 metadata_isdir (name)
 
 metadata_listdir (name)
 
 run_script (script_name, namespace)
 

Detailed Description

Definition at line 549 of file __init__.py.

Member Function Documentation

◆ get_metadata()

get_metadata (   name)
The named metadata resource as a string

Definition at line 553 of file __init__.py.

553 def get_metadata(name):
554 """The named metadata resource as a string"""
555

Referenced by InMemoryMetadata.get_metadata_lines().

Here is the caller graph for this function:

◆ get_metadata_lines()

get_metadata_lines (   name)
Yield named metadata resource as list of non-blank non-comment lines

Leading and trailing whitespace is stripped from each line, and lines
with ``#`` as the first non-blank character are omitted.

Definition at line 556 of file __init__.py.

556 def get_metadata_lines(name):
557 """Yield named metadata resource as list of non-blank non-comment lines
558
559 Leading and trailing whitespace is stripped from each line, and lines
560 with ``#`` as the first non-blank character are omitted."""
561

◆ has_metadata()

has_metadata (   name)
Does the package's distribution contain the named metadata?

Definition at line 550 of file __init__.py.

550 def has_metadata(name):
551 """Does the package's distribution contain the named metadata?"""
552

◆ metadata_isdir()

metadata_isdir (   name)
Is the named metadata a directory?  (like ``os.path.isdir()``)

Definition at line 562 of file __init__.py.

562 def metadata_isdir(name):
563 """Is the named metadata a directory? (like ``os.path.isdir()``)"""
564

◆ metadata_listdir()

metadata_listdir (   name)
List of metadata names in the directory (like ``os.listdir()``)

Definition at line 565 of file __init__.py.

565 def metadata_listdir(name):
566 """List of metadata names in the directory (like ``os.listdir()``)"""
567

◆ run_script()

run_script (   script_name,
  namespace 
)
Execute the named script in the supplied namespace dictionary

Definition at line 568 of file __init__.py.

568 def run_script(script_name, namespace):
569 """Execute the named script in the supplied namespace dictionary"""
570
571

The documentation for this class was generated from the following file: