Metadata-Version: 2.1
Name: cythonizer
Version: 1.2.0b2
Summary: Convert .py and .pyx to (.pyd | .so) very easily.
Home-page: https://github.com/TechLearnersInc/cythonizer
Author: Rizwan Hasan
Author-email: rizwan.hasan486@gmail.com
License: MIT
Project-URL: Source, https://github.com/TechLearnersInc/cythonizer
Project-URL: Tracker, https://github.com/TechLearnersInc/cythonizer/issues
Project-URL: Facebook, https://www.facebook.com/TechLearnersInc
Project-URL: Linkedin, https://www.linkedin.com/company/techlearners/
Project-URL: Telegram, https://t.me/TechLearners
Keywords: cython cythonizer
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Cython
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Build Tools
Requires-Python: >=3.6
Description-Content-Type: text/x-rst
Requires-Dist: cython
Requires-Dist: numpy

==========
cythonizer
==========

*Cythonize one step faster*

.. image:: https://img.shields.io/badge/build-beta-brightgreen
   :target: https://github.com/TechLearnersInc/cythonizer

.. image:: https://img.shields.io/badge/license-MIT-green
   :target: LICENSE.txt

.. image:: https://img.shields.io/static/v1?label=Created%20with%20%E2%9D%A4%EF%B8%8F%20by&message=TechLearners&color=red
   :target: https://github.com/TechLearnersInc

Introduction
------------

:code:`cythonizer.py` is a script that will attempt to
automatically convert one or more :code:`.py` and :code:`.pyx` files into
the corresponding compiled :code:`.pyd | .so` binary modules
files. Example::

    $ python cythonizer.py myext.pyx

:code:`pip install cythonizer` will automatically create an
executable script in your :code:`Scripts/` folder, so you
should be able to simply::

    $ cythonizer myext.py

or even::

    $ cythonizer *.pyx

You can type::

    $ cythonizer -h

to obtain the following CLI::

    usage: cythonizer.py [-h] [--annotation] [--numpy-includes]
                         [--debugmode] filenames [filenames ...]

    positional arguments:
    filenames         .py and .pyx files only

    optional arguments:
    -h, --help        show this help message and exit
    --annotation      (default: False)
    --numpy-includes  (default: False)
    --debugmode       (default: False)


- :code:`--annotation` will create the HTML Cython annotation file.
- :code:`--numpy-includes` will add the numpy headers to the build command.
- Compiler flags :code:`-O2 -march=native` are automatically passed to the compiler.


