Skip to main content

call negar in your python source code and error & text log to a file ...

Project description


what is <ins>negar</ins>

call <ins>negar</ins> module in your python source code and write error log & text log to a file</ins> ...


  • install by pip

    # linux
    sudo python3 -m pip install negar
    # windows
    py -m pip install negar
  • install by

    # linux
    sudo python3 -m pip install
    # windows
    py -m pip install



  • log_text

      # write 'log_text' to log file
      log_text = 'negar' 
  • line

      # set 'Flase' and 'True' value for show line python file in log file , default is False ... 
      line = True
  • date

      # set 'Flase' and 'True' value for show date in log file , default is True ... 
      line = True
  • time

      # set 'Flase' and 'True' value for time in log file , default is True ... 
      line = True
  • save

      # write log to 'negar-log.txt'
      save = 'negar-log.txt' 
  • size

      # set 'size' for log file 
      size = 2


  • log file default size is 2 ...
  • log file size range is 1 ... 5 number ...
  • maximum size of python file name support is 15 character ...
  • maximum number to numbering lines support is 9999999 ...
  • maximum python source code line number support is 999999 ...
  • default log file name is log.txt ...
  • previously defined log file size can'not be resized!


copyright <ins>SYS113</ins> - <ins>2019</ins>.


<ins>MIT</ins> license , please see <ins>LICENSE</ins> file.


  • for <ins>iranian</ins> users   :       <ins> id pay </ins>      -          
  • for <ins>global</ins> users   :  <ins>BTC wallet id</ins>  -   149JgUmFqG6MvFg79Ldrvdk2bN35ByhMuw

contact me


  • mohamad moradiyani for negar module logo
  • Hamed 169 for optimize negar module source code

last word

hope this is <ins>negar</ins> useful to you and enjoy it.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

negar-0.6.0.tar.gz (10.9 kB view hashes)

Uploaded source

Built Distribution

negar-0.6.0-py2.py3-none-any.whl (9.4 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page