Skip to main content

Pip Package with C++ Backend Template

This is a template project for future pip package project with an optional C/C++ backend.

Components

Essential

  • pipcpptemp_src: Source file of the package, will be usable only after compilation. _src is added as a suffix to avoid Python mixing up the source folder before compilation and the package folder after compilation.
  • pyproject.toml: Define the essential info and metadata on PyPI of a pip package.
  • setup.py: Define the packages by name and path, and extensions by their build command.
  • MANIFEST.in: Define what files will be distributed. Remember to include C++ source/header to ensure successful compilation.

Optional

  • example: The scripts serve as examples for other users. Remember to include a requirements.txt if the examples require any dependencies.
  • dev: The scripts for development use which you do not expect users to read, or test scripts for you to see whether the package is working.
  • README.md: The poster of this package. Please make sure it's elegant since it will be illustrated on project mainpage of Github or PyPI.
  • LICENSE: License file, without this other researchers will not be able to redistribute your code. MIT license is recommended for academic usage, which only asks others to retain your authorship.

Useful Command

Some useful commands are packed into bash scripts in the root folder.

Metadata

Release files for PipCppTemp 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PipCppTemp 0.0.2
File Size Uploaded
pipcpptemp-0.0.2.tar.gz 4.1 kB Details

Release files / pipcpptemp-0.0.2.tar.gz

Download URL pipcpptemp-0.0.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c21b5ff0fa237bc7703a55fca41a6cee090675b8ddcf0d63a38ccc8b4394b85b
BLAKE2b-256 checksum
How to use checksums
b6c064ea50806023c9f7af5a9900d30fed0248fa537e4727f581245033f65eb5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.3

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page