diff --git a/README.md b/README.md
@@ -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.
+###### A GoLang version of this library is also available [here](https://github.com/acidvegas/golcg)
+
## Features
- Memory-efficient IP range processing
diff --git a/setup.py b/setup.py
@@ -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
-with open("README.md", "r", encoding="utf-8") as fh:
+with open('README.md', 'r', encoding='utf-8') as fh:
long_description = fh.read()
setup(
- name="pylcg",
- version="1.0.3",
- author="acidvegas",
- author_email="acid.vegas@acid.vegas",
- description="Linear Congruential Generator for IP Sharding",
+ name='pylcg',
+ version='1.0.3',
+ author='acidvegas',
+ author_email='acid.vegas@acid.vegas',
+ description='Linear Congruential Generator for IP Sharding',
long_description=long_description,
- long_description_content_type="text/markdown",
- url="https://github.com/acidvegas/pylcg",
+ long_description_content_type='text/markdown',
+ url='https://github.com/acidvegas/pylcg',
project_urls={
- "Bug Tracker": "https://github.com/acidvegas/pylcg/issues",
- "Documentation": "https://github.com/acidvegas/pylcg#readme",
- "Source Code": "https://github.com/acidvegas/pylcg",
+ 'Bug Tracker': 'https://github.com/acidvegas/pylcg/issues',
+ 'Documentation': 'https://github.com/acidvegas/pylcg#readme',
+ 'Source Code': 'https://github.com/acidvegas/pylcg',
},
classifiers=[
- "Development Status :: 5 - Production/Stable",
- "Intended Audience :: Developers",
- "License :: OSI Approved :: ISC License (ISCL)",
- "Operating System :: OS Independent",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Programming Language :: Python :: 3.11",
- "Topic :: Internet",
- "Topic :: Security",
- "Topic :: Software Development :: Libraries :: Python Modules",
+ 'Development Status :: 5 - Production/Stable',
+ 'Intended Audience :: Developers',
+ 'License :: OSI Approved :: ISC License (ISCL)',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python :: 3',
+ 'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
+ 'Topic :: Internet',
+ 'Topic :: Security',
+ 'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=find_packages(),
- python_requires=">=3.6",
+ python_requires='>=3.6',
entry_points={
'console_scripts': [
'pylcg=pylcg.cli:main',
diff --git a/unit_test.py b/unit_test.py
@@ -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 time
+import unittest
from pylcg import IPRange, ip_stream, LCG
| | |