Namespaces | Macros | Functions
PyppFundamentals.hpp File Reference

Defines classes for converting to and from Python objects. More...

#include <Python.h>
#include <array>
#include <cstddef>
#include <initializer_list>
#include <stdexcept>
#include <type_traits>
#include <vector>
#include <numpy/arrayobject.h>
#include "DataStructures/DataVector.hpp"
#include "DataStructures/IndexIterator.hpp"
#include "DataStructures/Tensor/Tensor.hpp"
#include "Utilities/Gsl.hpp"
#include "Utilities/MakeArray.hpp"
#include "Utilities/Requires.hpp"
#include "Utilities/TypeTraits.hpp"

Go to the source code of this file.

Namespaces

 pypp
 Contains all functions for calling python from C++.
 

Macros

#define PY_ARRAY_UNIQUE_SYMBOL   SPECTRE_PY_API
 
#define NO_IMPORT_ARRAY
 
#define NPY_NO_DEPRECATED_API   NPY_1_7_API_VERSION
 

Functions

template<typename... Args>
PyObject * pypp::make_py_tuple (const Args &... t)
 Create a python tuple from Args. More...
 

Detailed Description

Defines classes for converting to and from Python objects.