Data Classes

dataclasses.

Base Class

/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/fastcore/docscrape.py:225: UserWarning: Unknown section Attributes
  else: warn(msg)
/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/fastcore/docscrape.py:225: UserWarning: Unknown section Notes
  else: warn(msg)

source

Dependency

 Dependency (package:str, version:Optional[str]=None)

Represents a software dependency with a package name and optional version.

Type Default Details
package str The name of the package.
version Optional None The version of the package.

CondaDependency


source

CondaDependency

 CondaDependency (package:str, version:Optional[str]=None,
                  channel:Optional[str]=None,
                  pypi_name:Optional[str]=None)

Represents a dependency from a Conda environment.

IniRequirement

/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/site-packages/fastcore/docscrape.py:225: UserWarning: Unknown section Methods
  else: warn(msg)

source

IniRequirement

 IniRequirement (package:str, version:Optional[str]=None,
                 conda_name:Optional[str]=None)

Represents a requirement specified in an INI file.

DependencyList


source

DependencyList

 DependencyList (iterable=())

Represents a list of dependencies.