pyproj is a language binding for PROJ. The pyproj module provides easy-to-use methods for CRS-to-CRS transformations, For instance, use it to convert global latitude/longitude (degrees) to local coordinates with respect to some coordinate reference system (metres):
>>> from pyproj import Transformer
>>> transformer = Transformer.from_crs(4326, 6677)
>>> transformer.transform(35.9032597, 139.9343755)
(-10728.330840296036, 9120.537451921156)
PROJ provides a C++ API but the documentation is pure crap. There are no sample codes and I couldn't find my way through it. I'd be really appreciative if anyone could give a clue on how to use the C++ API the same way pyproj works for arbitrary transformations.