Skip to main content

cRun-Banner

What is cRun?

cRun is a script that is meant to make compiling and running .c files easy for both beginners and experienced. It's designed mainly based on the use case of students new to C Programming

Note: Previews here are from the original version the python version previews will be updated soon

Built by a rookie for the fellow rookies

I wrote this script after finding some things annoying about C Programming and being a beginner I am immature enough to make something for this purpose

Go single or spice it up

Run a single file or multiple files one after another or maybe just get a menu with a list of all C programs in current directory all these and more with single commands.

Default Menu Default Menu

 

Single File Run a single file

 

Compile Many Compile Multiple files at once

 

**There are many other options and tricks check the help message to learn more.**

It's your choice !

Doesn't matter if you are a beginner on Windows 10 or learning Linux with Ubuntu or just chilling with your Android Smartphone a single script is all you need I don't discriminate your choice of platform.

Example on Android (from Termux)

Note: This version of the script will run on any platform with a python3 interpreter and gcc/clang/MinGw compiler installed

Platforms supported for install
  • Windows 10 (WSL)
  • Windows (MinGW Needed)
  • Linux
    • Debian Systems
    • Coming Soon
  • Mac (Not Tested but shoul work)
  • Android (Termux Only)

No need to copy in every folder

Install Once

Once installed you can run the script from any directory you want. The script has a inbuilt function to copy itself to the local bin of your environment so that you can just "cRun" anywhere you want, it will appear like any other system command

Updates are Easy AF

So you been using the script for some time and you find out there's a new version out now what to do then well just get the latest script however you wish ( Can do a quick git pull, or just use the inbuilt download option and navigate to that folder) and re run the install option it's just one command and it will handle the rest itself.

Update Easy

Every time the install option is run the script check the current directory for version of itself and will prompt the user according to the found version you can even downgrade to a previous version like this if you find some stupid bug in the latest one

Why cRun?

C Beginners are usually on a Windows machine running Dev-C++ or even Turbo C++. Now everyone has their comfort zone but let's be honest it's a clunky interface and experience is mediocre at the best.

There are better IDEs out there but very few come with a interface to facilitate compiling and running the program directly(Some are even paid).

Now some out there already know that on a Linux Environment(WSL for Windows 10 users) using the gcc compiler to compile the file and then executing the object file from the terminal saves a lot more time and is much more efficient. Paired with a good code editor like Visual Studio Code, Atom, Sublime Text Editor, etc one can simply code on the editor and use the terminal to compile and then run the generated object file.

Now while this is the simplest way it still gets messy with how most of the students code on their systems. Usually we students create multiple .c files in the same directory and keep compiling them without providing a separate object file name not to mention the need to type separate commands again and again to compile and run the program.

cRun Makes it easier to interact with all your programs in the current directory or just run a single C Program with one command

Work in progress

Support or Contact

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.

Metadata

Release files for crun-py 0.0.5

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

Source distribution (sdist)

Source distribution for crun-py 0.0.5
File Size Uploaded Provenance
crun-py-0.0.5.tar.gz 8.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for crun-py 0.0.5
File Interpreter ABI Platform
crun_py-0.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 20.6 kB

Release files / crun-py-0.0.5.tar.gz

Download URL crun-py-0.0.5.tar.gz
Size 8.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6015a3d0859fef17e0502dce397ea8bb59c5740cfb3488f0764fb6c5d37cad4e
BLAKE2b-256 checksum
How to use checksums
08ab7ca20643e0574aacaca3c1df99d1719082210c39f6934640538816728c5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

Release files / crun_py-0.0.5-py3-none-any.whl

Download URL crun_py-0.0.5-py3-none-any.whl
Size 12.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
efd75287139519524afb4b32c3c841368160bbeb39a85d290d56775940d88de7
BLAKE2b-256 checksum
How to use checksums
28f9c742de1f44028c5e4d1d843cde66cfd3b93d259012b1f105ab621a791f31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9

Security for crun-py 0.0.5

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.

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