semvec/pypi-packages huggingface dataset:
asm2d 0.2.3
An assembler for the 68112D microprocessor
License: BSD
Keywords: asm2d 6811 68HC11 68112d assembler

Assembler for the 68112D microprocessor
=======================================

The 68112D is a clone of the 68HC11 microcontroller, with extra instructions
to generate 2D graphics on a VGA display.

The **asm2d** assembler turns the assembly code into an MIF file (Memory
Initialization File) that can be used to initialize a memory block during
compilation and/or simulation.

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

Using pip:

.. code:: bash

    pip install asm2d

For development
~~~~~~~~~~~~~~~

.. code:: bash

    python setup.py develop

Running
-------

Compile a file:

.. code:: bash

    asm2d source.s2d

The default output file will have the same name as the source file, but with
a ``.mif`` extension. You can change this with the ``-o`` flag:

.. code:: bash

    asm2d source.s2d -o memory.mif

The size of the memory block will be exactly the number of words needed to
translate the assembly code. You can change this with the ``-w`` argument:

.. code:: bash

    asm2d source.s2d -w 512

Help
~~~~

.. code:: bash

    asm2d -h
Digify 0.2
Convert written out numbers to integers
License: BSD

Convert spelled numbers such as 'one thousand, two hundred and thirty-three' or 
'one thousand two hundred thirty three' to their equivalent forms in digits 
(1233). 

Handles British-style "and" as well as US versions without "and", and 
accepts commas and hyphens in appropriate positions (although they are never 
compulsory)

    >>> spelled_num_to_digits("one")
    1
    >>> spelled_num_to_digits("twelve")
    12
    >>> spelled_num_to_digits("seventy-two")
    72
    >>> spelled_num_to_digits("Three hundred")
    300
    >>> spelled_num_to_digits("TWELVE HUNDRED")
    1200
    >>> spelled_num_to_digits("twelve thousand three hundred four")
    12304
    >>> spelled_num_to_digits("twelve thousand, five hundred and six")
    12506
    >>> spelled_num_to_digits("six   Million")
    6000000
    >>> spelled_num_to_digits("six million four hundred thousand five")
    6400005
    >>> spelled_num_to_digits(
    ...   'one hundred twenty three billion, four hundred fifty six million, '
    ...   'seven hundred eighty nine thousand twelve')
    123456789012
    >>> spelled_num_to_digits("four decillion")
    4000000000000000000000000000000000L


    >>> replace_spelled_numbers('There are TEN sponges')
    'There are 10 sponges'
    >>> replace_spelled_numbers('I got ninety nine problems')
    'I got 99 problems'
    >>> replace_spelled_numbers('He got two million, one hundred and '
    ...   'eighty-two thousand, three hundred and twenty five problems')
    'He got 2182325 problems'
    >>> replace_spelled_numbers('I have five coconuts and two hundred '
    ...   'thirty three carrots')
    'I have 5 coconuts and 233 carrots'


Adapted and extended from https://github.com/ghewgill/text2num
Flask-Downloader 0.2
Allow a Flask web app to download files on behalf of the user.
License: BSD

Flask-Downloader
----------------

Allow a Flask web app to download files on behalf of the user.

Links
`````

* `documentation <http://packages.python.org/Flask-Downloader>`_
* `development version
  <http://github.com/kblin/flask-downloader/zipball/master#egg=Flask-Downloader-dev>`_