<commit_before>Pythonium
#########

(9 minutes)

Python 3 to Javascript translator written in Python that produce fast portable javascript code.

What? (2 minutes)
=================

Pythonium will exists in several flavors, each of which with their own strength and performance. The more you dive into the list to more feature you have, the less performance you can except:

- Pythonium **Core**

  - Fully portable
  - No external dependency [0]
  - Native Javascript speed
  - Exact same syntax as Python 3
  - Compatible with existing Javascript libraries
  - Function with positional arguments are translated to javascript functions
  - Automatic scope handling and ``global`` support
  - ``for`` iterates over javascript arrays
  - Python types are mapped to javascript types
  - Anonymous exceptions with ``__exception__`` special variable
  - Support of ``yield``
  - ``print`` is translated to ``console.log``
  - ``new(SomeObject, arg0, arg1)`` is a special function that translates to Javascript ``new SomeObject(arg0, args1)`` with any number of arguments
  - if ``__DOLLAR__`` is found in any name, it will be remplaced by ``$`` character.
  - Support of ``import ... from ...`` via `requirejs <http://requirejs.org/>`_
  - Support of single inheritance classes via `classy <http://classy.pocoo.org/>`_ [1][2]

- Pythonium **Veloce** support all the above features and adds the following: 

  - One dependency ``pythonium.veloce.js`` expected to be 10kb
  - Full Python function signature support with ``*args`` and ``**kwargs``
  - Support of ``__getattribute__`` and ``__getattr__`` hooks
  - Support of metaclass
  - Support for ``list``, ``dict``, ``set``, ``float``, ``int``, ``str``
  - Full support of ``for`` 
  - Full support of exceptions
  - Support of ``with``<commit_msg>remove the fact that there is no dependency since actually there is<commit_after>Pythonium
#########

(9 minutes)

Python 3 to Javascript translator written in Python that produce fast portable javascript code.

What? (2 minutes)
=================

Pythonium will exists in several flavors, each of which with their own strength and performance. The more you dive into the list to more feature you have, the less performance you can except:

- Pythonium **Core**

  - Fully portable
  - Native Javascript speed
  - Exact same syntax as Python 3
  - Compatible with existing Javascript libraries
  - Function with positional arguments are translated to javascript functions
  - Automatic scope handling and ``global`` support
  - ``for`` iterates over javascript arrays
  - Python types are mapped to javascript types
  - Anonymous exceptions with ``__exception__`` special variable
  - Support of ``yield``
  - ``print`` is translated to ``console.log``
  - ``new(SomeObject, arg0, arg1)`` is a special function that translates to Javascript ``new SomeObject(arg0, args1)`` with any number of arguments
  - if ``__DOLLAR__`` is found in any name, it will be remplaced by ``$`` character.
  - Support of ``import ... from ...`` via `requirejs <http://requirejs.org/>`_
  - Support of single inheritance classes via `classy <http://classy.pocoo.org/>`_ [1][2]

- Pythonium **Veloce** support all the above features and adds the following: 

  - One dependency ``pythonium.veloce.js`` expected to be 10kb
  - Full Python function signature support with ``*args`` and ``**kwargs``
  - Support of ``__getattribute__`` and ``__getattr__`` hooks
  - Support of metaclass
  - Support for ``list``, ``dict``, ``set``, ``float``, ``int``, ``str``
  - Full support of ``for`` 
  - Full support of exceptions
  - Support of ``with``
{'fraction_non_alphanumeric': 0.12192424661321537, 'fraction_numerical': 0.006911805363560962, 'mean_word_length': 4.081460674157303, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6142593', 'n_tokens_mistral': 1031, 'n_tokens_neox': 952, 'n_words': 444}