py¶
Bindings for utility::py namespace
-
class
pyrosetta.rosetta.utility.py.
Base
¶ Bases:
pybind11_builtins.pybind11_object
Dummy Base class to test if inheritance work properly in PyRosetta *
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.utility.py.Base) -> None
- __init__(self: pyrosetta.rosetta.utility.py.Base, arg0: pyrosetta.rosetta.utility.py.Base) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
assign
(self: pyrosetta.rosetta.utility.py.Base, : pyrosetta.rosetta.utility.py.Base) → pyrosetta.rosetta.utility.py.Base¶ C++: utility::py::Base::operator=(const class utility::py::Base &) –> class utility::py::Base &
-
foo_int
(self: pyrosetta.rosetta.utility.py.Base, i: int) → None¶ C++: utility::py::Base::foo_int(int) –> void
-
foo_string
(self: pyrosetta.rosetta.utility.py.Base, s: str) → None¶ C++: utility::py::Base::foo_string(class std::basic_string<char>) –> void
-
foo_value
(self: pyrosetta.rosetta.utility.py.Base, v: pyrosetta.rosetta.utility.py.Value) → None¶ C++: utility::py::Base::foo_value(class utility::py::Value &) –> void
-
foo_value_sp
(self: pyrosetta.rosetta.utility.py.Base, v: pyrosetta.rosetta.utility.py.Value) → None¶ C++: utility::py::Base::foo_value_sp(class std::shared_ptr<class utility::py::Value>) –> void
-
-
class
pyrosetta.rosetta.utility.py.
PyExitCallback
¶ Bases:
pybind11_builtins.pybind11_object
This class for holding callback function.
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(self: pyrosetta.rosetta.utility.py.PyExitCallback) → None¶
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
¶ Return str(self).
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
assign
(self: pyrosetta.rosetta.utility.py.PyExitCallback, : pyrosetta.rosetta.utility.py.PyExitCallback) → pyrosetta.rosetta.utility.py.PyExitCallback¶ C++: utility::py::PyExitCallback::operator=(const class utility::py::PyExitCallback &) –> class utility::py::PyExitCallback &
-
exit_callback
(self: pyrosetta.rosetta.utility.py.PyExitCallback) → None¶ C++: utility::py::PyExitCallback::exit_callback() –> void
-
get_static_int
() → int¶ C++: utility::py::PyExitCallback::get_static_int() –> int
-
get_static_string
() → str¶ C++: utility::py::PyExitCallback::get_static_string() –> std::string
-
get_static_string_const
() → str¶ C++: utility::py::PyExitCallback::get_static_string_const() –> const std::string
-
set_PyExitCallBack
(exit_callback_object: pyrosetta.rosetta.utility.py.PyExitCallback) → None¶ C++: utility::py::PyExitCallback::set_PyExitCallBack(class std::shared_ptr<class utility::py::PyExitCallback>) –> void
-
-
class
pyrosetta.rosetta.utility.py.
Value
¶ Bases:
pybind11_builtins.pybind11_object
Dummy Value class to test if we can pass argument by-reference to PyRosetta sub-classes *
-
__delattr__
¶ Implement delattr(self, name).
-
__dir__
() → list¶ default dir() implementation
-
__eq__
¶ Return self==value.
-
__format__
()¶ default object formatter
-
__ge__
¶ Return self>=value.
-
__getattribute__
¶ Return getattr(self, name).
-
__gt__
¶ Return self>value.
-
__hash__
¶ Return hash(self).
-
__init__
(*args, **kwargs)¶ Overloaded function.
- __init__(self: pyrosetta.rosetta.utility.py.Value) -> None
doc
- __init__(self: pyrosetta.rosetta.utility.py.Value, s: str) -> None
- __init__(self: pyrosetta.rosetta.utility.py.Value, arg0: pyrosetta.rosetta.utility.py.Value) -> None
-
__init_subclass__
()¶ This method is called when a class is subclassed.
The default implementation does nothing. It may be overridden to extend subclasses.
-
__le__
¶ Return self<=value.
-
__lt__
¶ Return self<value.
-
__ne__
¶ Return self!=value.
-
__new__
()¶ Create and return a new object. See help(type) for accurate signature.
-
__reduce__
()¶ helper for pickle
-
__reduce_ex__
()¶ helper for pickle
-
__repr__
¶ Return repr(self).
-
__setattr__
¶ Implement setattr(self, name, value).
-
__sizeof__
() → int¶ size of object in memory, in bytes
-
__str__
(self: pyrosetta.rosetta.utility.py.Value) → str¶
-
__subclasshook__
()¶ Abstract classes can override this to customize issubclass().
This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).
-
assign
(self: pyrosetta.rosetta.utility.py.Value, : pyrosetta.rosetta.utility.py.Value) → pyrosetta.rosetta.utility.py.Value¶ C++: utility::py::Value::operator=(const class utility::py::Value &) –> class utility::py::Value &
-
s
(*args, **kwargs)¶ Overloaded function.
- s(self: pyrosetta.rosetta.utility.py.Value) -> str
C++: utility::py::Value::s() const –> std::string
- s(self: pyrosetta.rosetta.utility.py.Value, s: str) -> None
C++: utility::py::Value::s(const class std::basic_string<char> &) –> void
-
-
pyrosetta.rosetta.utility.py.
foo_all
(b: pyrosetta.rosetta.utility.py.Base, i: int, v: pyrosetta.rosetta.utility.py.Value, s: str) → None¶ C++: utility::py::foo_all(class utility::py::Base &, int, class utility::py::Value &, class std::basic_string<char>) –> void
-
pyrosetta.rosetta.utility.py.
foo_all_sp
(b: pyrosetta.rosetta.utility.py.Base, i: int, v: pyrosetta.rosetta.utility.py.Value, s: str) → None¶ C++: utility::py::foo_all_sp(class std::shared_ptr<class utility::py::Base>, int, class utility::py::Value &, class std::basic_string<char>) –> void