Added reference to golcg

This commit is contained in:
Dionysus 2024-12-01 01:20:27 -05:00
parent ec825cc0ad
commit eba9b1e2bd
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE
3 changed files with 38 additions and 27 deletions

View File

@ -3,6 +3,8 @@
PyLCG is a high-performance Python implementation of a memory-efficient IP address sharding system using Linear Congruential Generators (LCG) for deterministic random number generation. This tool enables distributed scanning & network reconnaissance by efficiently dividing IP ranges across multiple machines while maintaining pseudo-random ordering. PyLCG is a high-performance Python implementation of a memory-efficient IP address sharding system using Linear Congruential Generators (LCG) for deterministic random number generation. This tool enables distributed scanning & network reconnaissance by efficiently dividing IP ranges across multiple machines while maintaining pseudo-random ordering.
###### A GoLang version of this library is also available [here](https://github.com/acidvegas/golcg)
## Features ## Features
- Memory-efficient IP range processing - Memory-efficient IP range processing

View File

@ -1,40 +1,44 @@
#!/usr/bin/env python
# PyLCG - Linear Congruential Generator for IP Sharding - Developed by acidvegas ib Python (https://github.com/acidvegas/pylcg)
# setup.py
from setuptools import setup, find_packages from setuptools import setup, find_packages
with open("README.md", "r", encoding="utf-8") as fh: with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read() long_description = fh.read()
setup( setup(
name="pylcg", name='pylcg',
version="1.0.3", version='1.0.3',
author="acidvegas", author='acidvegas',
author_email="acid.vegas@acid.vegas", author_email='acid.vegas@acid.vegas',
description="Linear Congruential Generator for IP Sharding", description='Linear Congruential Generator for IP Sharding',
long_description=long_description, long_description=long_description,
long_description_content_type="text/markdown", long_description_content_type='text/markdown',
url="https://github.com/acidvegas/pylcg", url='https://github.com/acidvegas/pylcg',
project_urls={ project_urls={
"Bug Tracker": "https://github.com/acidvegas/pylcg/issues", 'Bug Tracker': 'https://github.com/acidvegas/pylcg/issues',
"Documentation": "https://github.com/acidvegas/pylcg#readme", 'Documentation': 'https://github.com/acidvegas/pylcg#readme',
"Source Code": "https://github.com/acidvegas/pylcg", 'Source Code': 'https://github.com/acidvegas/pylcg',
}, },
classifiers=[ classifiers=[
"Development Status :: 5 - Production/Stable", 'Development Status :: 5 - Production/Stable',
"Intended Audience :: Developers", 'Intended Audience :: Developers',
"License :: OSI Approved :: ISC License (ISCL)", 'License :: OSI Approved :: ISC License (ISCL)',
"Operating System :: OS Independent", 'Operating System :: OS Independent',
"Programming Language :: Python :: 3", 'Programming Language :: Python :: 3',
"Programming Language :: Python :: 3.6", 'Programming Language :: Python :: 3.6',
"Programming Language :: Python :: 3.7", 'Programming Language :: Python :: 3.7',
"Programming Language :: Python :: 3.8", 'Programming Language :: Python :: 3.8',
"Programming Language :: Python :: 3.9", 'Programming Language :: Python :: 3.9',
"Programming Language :: Python :: 3.10", 'Programming Language :: Python :: 3.10',
"Programming Language :: Python :: 3.11", 'Programming Language :: Python :: 3.11',
"Topic :: Internet", 'Topic :: Internet',
"Topic :: Security", 'Topic :: Security',
"Topic :: Software Development :: Libraries :: Python Modules", 'Topic :: Software Development :: Libraries :: Python Modules',
], ],
packages=find_packages(), packages=find_packages(),
python_requires=">=3.6", python_requires='>=3.6',
entry_points={ entry_points={
'console_scripts': [ 'console_scripts': [
'pylcg=pylcg.cli:main', 'pylcg=pylcg.cli:main',

View File

@ -1,6 +1,11 @@
import unittest #!/usr/bin/env python
# PyLCG - Linear Congruential Generator for IP Sharding - Developed by acidvegas ib Python (https://github.com/acidvegas/pylcg)
# unit_test.py
import ipaddress import ipaddress
import time import time
import unittest
from pylcg import IPRange, ip_stream, LCG from pylcg import IPRange, ip_stream, LCG