Skip to main content

No project description provided

Project description

jupygcc

PyPI - Version PyPI - Python Version


Installation

pip install jupygcc

Usage

Configuration

Currently, the kernel can't be configured and will always use:

  • -std=c99 -Wall for C code

  • Wrap the code in a main function if it doesn't already have one with:

    #include <stdbool.h>
    #include <stddef.h>
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <math.h>
    

Cell metadata

Currently, the only cell metadata handled is stdin for non-interactive scanf and gets calls:

//| stdin: 10
int n;
printf("How many lines? ");
scanf("%d", &n);
printf("\n%d lines\n");

Development

  • Test: hatch run test
  • Coverage: htach run coverage

License

jupygcc is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupygcc-0.0.4.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupygcc-0.0.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file jupygcc-0.0.4.tar.gz.

File metadata

  • Download URL: jupygcc-0.0.4.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for jupygcc-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8a69ab9a9a22a41db57f8ff4384ef2a3e4b71024ca6e5295486926d0ae759d08
MD5 f194586c446f89f8ac74fbed76e6247e
BLAKE2b-256 42e465e2e0219f96f0fcfc812536ca8cdc529b2b49325adee60c383f4e9fb2c1

See more details on using hashes here.

File details

Details for the file jupygcc-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: jupygcc-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for jupygcc-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 68cd4fc02796eef0c91fe2ea21ebace4aa62a7b82ba56898c92a93a04d8fe8cb
MD5 f343b59fb53bd5413980f3eba4fbc845
BLAKE2b-256 7f65bbce5e7dc6b91dadf53d1e73a8206c7f4e40810aacede4e95ce50e65bdbc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page