Metadata-Version: 2.1
Name: fastfilepackage
Version: 1.0.13
Summary: An module written with pure Python C Extensions to open a file and cache the more recent accessed lines
Home-page: https://github.com/evandrocoan/fastfilepackage
Author: Evandro Coan
License: LGPLv2.1
Description: 
        ## Fast File Package
        
        An module written with pure Python C Extensions to open a file and
        cache the more recent accessed lines.
        See these files for an usage example:
        1. [fastfiletest.py](fastfiletest.py)
        1. [fastfiletest.cpp](fastfiletest.cpp)
        
        
        ## Installation
        
        Requires Python 3,
        pip3, distutils and
        C++ 11 compiler installed:
        ```
        sudo apt-get install build-essential g++ python3-dev
        ```
        
        Then, you can clone this repository with:
        ```
        git clone https://github.com/evandrocoan/fastfilepackage
        cd fastfilepackage
        pip3 install .
        ```
        
        Or install it with:
        ```
        pip3 install fastfilepackage
        ```
        
        
        ## Debugging
        
        If Python got segmentation fault,
        you need to install the debug symbol packages,
        and compile the program into mode debug.
        These instructions works for both Linux and
        Cygwin.
        ```
        sudo apt-get install python3-dbg
        apt-cyg install libcrypt-devel python36-devel python36-debuginfo python3-debuginfo python3-cython-debuginfo
        CFLAGS="-O0 -g -ggdb -fstack-protector-all" CXXFLAGS="-O0 -g -ggdb -fstack-protector-all" /bin/pip3 install .
        
        cd khompdiag/source
        gdb --args /bin/python3 -m khompdiag.__init__ -p ../tests/light/
        python3 -m pdb -m khompdiag.__init__ -p ../tests/light/
        
        cd /usr/bin
        /bin/python3 -u -m trace -t khompdiag-script.py -p ../tests/light/
        
        # to generate core dumps instead of stack traces
        export CYGWIN="$CYGWIN error_start=dumper -d %1 %2"
        ```
        1. https://github.com/spiside/pdb-tutorial
        1. https://docs.python.org/3.7/library/pdb.html
        1. https://docs.python.org/3.7/library/trace.html
        1. https://stackoverflow.com/questions/320001/using-a-stackdump-from-cygwin-executable
        1. https://stackoverflow.com/questions/1629685/when-and-how-to-use-gccs-stack-protection-feature
        1. https://stackoverflow.com/questions/25678978/how-to-debug-python-script-that-is-crashing-python
        1. https://stackoverflow.com/questions/46265835/how-to-debug-a-python-module-run-with-python-m-from-the-command-line
        
        
        ## License
        
        See the file [LICENSE.txt](LICENSE.txt)
        
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
