Skip to main content

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

Project description

what is <ins>negar</ins>

call <ins>negar</ins> in your python source code and 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




  • text

      # write 'text' to log file
      text = 'negar' 
  • save

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

      # set 'size' for log file 
      size = 2


  • method one

      # good
      import negar
      name = 'SYS113'
      negar.log('name value is '+str(name)+' ...')
  • method two

      # excellent
      from negar import log
      name = 'SYS113'
      log(text = 'name value is '+str(name)+' ...', save = 'negar.txt', size = 3)


  • 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

last world

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

negar logo ❤️ mohamad moradiyani

Project details

Download files

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

Files for negar, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size negar-0.3.0.tar.gz (7.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page