Metadata-Version: 2.1
Name: pyhacks
Version: 1.0.13
Summary: Ease developers to use queue/threads functions to handle big amount of data
Home-page: https://github.com/Quitten/pyhacks
Author: Barak Tawily
Author-email: barak.tawily@gmail.com
License: MIT
Download-URL: https://github.com/Quitten/pyhacks/releases/v_01.tar.gz
Description: # pyhacks
        Python module to ease writing scripts go over big amount of data in order to perform the same actions. A simple preconfigured threads and queue management and more hacking utils
        
        Will elaborate more when it will get mature enough :)
        
        # code example
        
        ```python
        from pyhacks import PyHacks, Net
        
        if __name__ == "__main__":
        	net = Net()
        
        	def handle_item(item):
        		host = item.get("host")
        		url = item.get("url")
        		replied_to_ping = net.reply_to_ping(host)
        		ip = net.resolve(host)
        		item.set("Reply To Ping", replied_to_ping)
        		item.set("ip", ip)
        		hacks.logger.green("{} {} {}".format(host, replied_to_ping, ip))
        		hacks.exporter.put(item)
        		return True
        	
        	hacks = PyHacks(handle_item, 25, "output.csv")
        	hosts = hacks.parse.csv("ips.csv")
        	
        	for host in hosts:
        		hacks.qt.put(host)
        	
        	hacks.finish()
        
            
        ```
        
Keywords: threads,queue
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
