Skip to main content

inline

Travis CI PyPI Version Python Versions

Embed inline C / C++ source codes in Python.

Usage

import inline
c = inline.c(r'''
int add(int a, int b) {
    return a + b;
}
''')
c.add(40, 2)
import inline
cxx = inline.cxx(r'''
extern "C" {
    int add(int a, int b) {
        return a + b;
    }
}
''')
cxx.add(40, 2)

Install

pip install inline
git clone https://github.com/manicmaniac/inline.git
cd inline
python setup.py install

Metadata

Release files for inline 0.0.1

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

Source distribution (sdist)

Source distribution for inline 0.0.1
File Size Uploaded Provenance Actions
inline-0.0.1.tar.gz 2.7 kB Without provenance Details for inline-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for inline 0.0.1
File Interpreter ABI Platform Actions
inline-0.0.1.linux-x86_64.tar.gz Details for inline-0.0.1.linux-x86_64.tar.gz

Total release size: 5.6 kB

Release files / inline-0.0.1.tar.gz

Download URL inline-0.0.1.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
824991800a5205f3036369dc8acd226f76109368fe35070a4aa8488b991b9709
BLAKE2b-256 checksum
How to use checksums
e15a5a500177bedd3a610c022c1a9e5d14979163a030f87ece1383076b0f00c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / inline-0.0.1.linux-x86_64.tar.gz

Download URL inline-0.0.1.linux-x86_64.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1ee74b061e029236874c72fd7b83f9a9794c214a65bb2b14f30f46b7e7498b0b
BLAKE2b-256 checksum
How to use checksums
73c7b0fa21f2a653dcb6fd393f4d52a267562bc368206d24fa78fab0d5fe5882
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for inline 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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