semvec/pypi-packages huggingface dataset:
openjudge 3.0.8
LAN Programming Contest Judging Program
License: MIT
Keywords: openjudge,lan,programming,programming,contest

OpenJudge
=========

**Refactored!**

OpenJudge has been refactored to be faster and easier to set up! This
repository was about quick contests for small groups of 20-30 people. Somewhere
along the way, I faltered and it became bloated. It's back now in a form which
is fast and light.

Screenshots
----------

![Normal Screen](https://raw.githubusercontent.com/theSage21/openJudge/master/screens/home.png)
![Leader Board Screen](https://raw.githubusercontent.com/theSage21/openJudge/master/screens/lb.png)

Usage
-----

First install MongoDB by following the instructions [in their docs](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/)

```bash
sudo apt-get install python3-dev
pip install --user pipenv
pipenv install openjudge --python 3.5
pipenv shell

mkdir questions
cd questions

mkdir 1
cd 1

# Create these files
touch statement i0 o0 i1 o0

# go back to where the questions directory resides
cd ../../
```

To run openjudge two commands need to be issued.  `openjudge` and `openjudge --judge` in two separate terminals. The first is the interface and the second is the "judge".

[![asciicast](https://asciinema.org/a/1kaLBpe57efO7FGKEc7dHLxb0.png)](https://asciinema.org/a/1kaLBpe57efO7FGKEc7dHLxb0)


In case you have a lot of people sending in code and you deem that the code check is too slow, you just have to start another judge process with `openjudge --judge`.
mangrove-surface-sdk 1.0.0
Mangrove Surface SDK
License: MIT

===========================
Mangrove Surface Python SDK
===========================

.. image:: https://circleci.com/gh/mangroveai/mangrove-surface-python-sdk.svg?style=svg
    :target: https://circleci.com/gh/mangroveai/mangrove-surface-python-sdk

.. image:: https://readthedocs.org/projects/mangrove-surface-python-sdk/badge/?version=stable
    :target: https://mangrove-surface-python-sdk.readthedocs.io/en/latest/?badge=stable
    :alt: Documentation Status

.. _documentation: http://mangrove-surface-python-sdk.readthedocs.io/

Documentation
-------------

A complete documentation is available there: documentation_

Installation
------------

Install the python SDK package:

.. code-block:: python

    pip install mangrove-surface

or using the git repository::

    git clone https://github.com/mangroveai/mangrove-surface-python-sdk
    python setup.py install

(*optional*) Setup your environment variables
---------------------------------------------

You can used the SDK with an explicit configuration of url instance and token
or you can provide them as environment variables: ``SURFACE_URL`` and
``SURFACE_TOKEN``.

For example on unix-like system:

.. code-block:: shell

    $ export SURFACE_URL=http://your_mangrove.ai_url/api
    $ export SURFACE_TOKEN='eyJ0eXAiOiJKV1QiLCJhbGciOiJ...'

.. warning:: Mangrove Surface URL have to end with ``/api``.

.. note:: The explicit configuration overrides the implicit one.

.. note:: Token can be provided by the administrator using GUI (see
  documentation) or using the SDK (see
  :meth:`mangrove.Surface._Admin.create_token`:)


Test your installation
----------------------

You can run tests with the following python lines:

 - Test if it is properly installed:

.. code-block:: python

    >>> import mangrove_surface
    >>> mangrove_surface.__version__
    '2.0.0'

The python SDK is properly connected to your Mangrove Surface:

.. code-block:: python

    >>> from mangrove_surface import SurfaceClient
    >>> # if environment variables are setup
    >>> client = SurfaceClient()
    >>> # otherwise
    >>> # client = SurfaceClient(url="...", token="...")
    >>> client.admin.versions()
    [
        {
            'name': 'atlas',
            'version': '1.0.0'
        }, {
            'name': 'license_authority',
            'version': u'1.5.0'
        }, {
            'name': 'dmgr',
            'version': '1.0.0'
        }, {
            'name': 'modeler',
            'version': '1.0.0'
        }, {
            'name': 'exporter',
            'version': '1.0.0'
        }, {
            'name': 'mangrove-surface-sdk',
            'version': '1.0.0'
        }
    ]

It is well configured! Congratulation!

Let's begin with :doc:`surface`.

Support
-------

Please refer to :doc:`logger` section if you have any unexpected behavior using
the SDK.
cfly 1.0.3
Build python extensions on-the-fly. Run C++ code directly from Python
License: MIT
Keywords: cfly,build,extension,c++


cfly
====

* Build python extensions on-the-fly.
* Run C++ code directly from Python.

Links
-----

* `Documentation <https://cfly.readthedocs.io>`_
* `cfly on Github <https://github.com/pymet/cfly>`_
* `cfly on PyPI <https://pypi.org/project/cfly>`_

Example
-------

.. code-block:: py

   from cfly import build_module

   mymodule = build_module('mymodule', '''
   #define PY_SSIZE_T_CLEAN
   #include <Python.h>

   struct Foobar {
       PyObject_HEAD
   };

   PyObject * meth_hello_world(PyObject * self) {
       return PyLong_FromLong(1234);
   }
   ''')

   print(mymodule.Foobar)
   print(mymodule.hello_world())

**output**

.. code-block:: py

   <class 'mymodule.Foobar'>
   1234