• Home
  • Most Popular
  • Submit
  • About Us
  • Contact Us

Softpile

Free Downloads

Categories
  • Home
  • Most Popular
  • Communications
  • Desktop
  • Games & Entertainment
  • Graphic Apps
  • Network & Internet
  • Security & Privacy
  • System Utilities
Alternative to itextsharp 2022.11.10347
IronPDF offers an itextsharp alternative for HTML to PDF conversion with C# code examples, documentation, and ...
VShell Server for Linux and Mac 4.8
VShell is a versatile and secure file transfer server that supports multiple protocols and is compatible ...
PDF Studio PDF Editor for Linux 2022
PDF Studio is a cost-effective PDF editor that delivers full compatibility with the PDF Standard. It's ...
VQ Probe for Linux 1.5
VQ Probe is a comprehensive software tool that enables objective and subjective video quality analysis. The ...
Resilient Server 2.3
This Debian GNU/Linux (Buster) based software has a customized partitioning scheme that enhances robustness against filesystem ...
Valentina Studio for Linux 9.6
Valentina Studio is a cross-platform GUI manager for Mac, Windows, and Linux. It allows users to ...
VPN Lifeguard for Linux 1.0.58
The software monitors VPN connection and automatically terminates apps during connection loss, re-establishes the connection and ...
G_Viewer 0.84
G_Viewer is a Linux software that serves as both a file system and photo/image viewer. It ...
Checksome File Hash Tool for Linux 1.1
This software allows for the generation and verification of file hashes. It is a quick and ...
KeyWrangler Password Manager for Linux 1.2
A password management software that is secure, offline and extensible. It offers military-grade encryption to protect ...
Home Linux IPV4 Download

IPV4

November 12, 2009
IPV4 address manipulation made easy with this module.
Version 0.2
License GPL
Platform Linux
Supported Languages English
Homepage www.albar.fr
Developed by Alain Barthe
If you're looking for a Python module that can provide handy utilities for IPV4 addresses, you may want to check out IPV4. This module defines the IP, Mask, and Subnet classes, which can be used to create IPV4 objects.

It's worth noting that you shouldn't try to create objects of these classes directly. Instead, you should use the IPV4 function to do so. IPV4 also provides useful conversion functions that can come in handy.

Here's an example of how to use IPV4:

```
from IPV4 import IPV4

# Create a new IPV4 object
a = IPV4('192.168.1.3')

# Print the IPV4 object
print(a) # Output: '192.168.1.3'

# Set the subnet mask using CIDR notation
a.set_mask(23)

# Get the mask for the IPV4 object
print(a.mask) # Output: '255.255.254.0'

# Get the start and end addresses of the subnet
print(a.subnet.start) # Output: '192.168.0.0'
print(a.subnet.end) # Output: '192.168.1.255'

# Check if an IP address is in the same subnet as the IPV4 object
print(a.same_subnet('192.168.2.1')) # Output: False

# Get the binary representation of the IPV4 object
print(a.bitstr) # Output: '11000000101010000000000100000011'

# Get the binary representation of the subnet bitmask
print(a.subnet.bitmask) # Output: '11000000101010000000000'

# Get the hex representation of the IPV4 object
print(a.hexaval) # Output: 'c0a80103'

# Get the integer representation of the IPV4 object
print(a.intval) # Output: 3232235779L

# Get the IP class of the IPV4 object
print(a.IPclass) # Output: 'C'
```

Overall, IPV4 can be a useful tool for anyone who needs to work with IPV4 addresses in Python.
What's New

Version 0.2: N/A

Free Download 13.8K
328
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    137
  2. Dvgrab 3.4
    96
  3. CherryTV 0.1
    84
  4. DynVPN 1.0
    82
  5. porm r2
    70
  6. SlideMap 1.2.2
    69
  7. fuseftp 0.8
    69
  8. Swiftfox 3.0b5pre-2
    67
  9. K!rash 1.0
    67
  10. Free Orion 0.3.13
    65

Related Downloads

8-16BitMarioGame
This GNOME icon set is designed for fans of retro games, specifically ...
New York's HOT 97 Boom!
NY's top station for hip-hop and R&B music.
Fim
FBI Improved is a scriptable image viewer that can be tailored to ...
clker.com openoffice addon
The clker.com OpenOffice add-on is an extension to OpenOffice.org enabling easy access ...
LibSoup
LibSoup is a GNOME HTTP client/server library that uses GObjects and glib ...
Stunnix Perl-Obfus
Stunnix Perl-Obfus is a Perl source code obfuscator software.
KDar - the KDE Disk archiver
KDar is a KDE-based software that allows easy backup and archiving with ...
Aptsh
Aptsh is a tool for systems using APT package management, providing users ...
get_iat and iat_cmp
get_iat and iat_cmp are software programs that can be utilized for extracting ...
TireHotel 2 for Linux 64 bit
Get free tire storage software with integrated invoice, email, and statistics modules. ...
Copyright © 1999-2025 Softpile Free Downloads
  • Most Popular
  • Submit
  • About Us
  • Contact Us
  • Privacy Policy
  • Disclaimer
  • Terms of Use

Can we use your data to tailor ads for you?

Our partners will collect data and use cookies for ad personalization and measurement.

By choosing "I agree", closing this pop-up or clicking on any element on the page, you agree to the use of cookies to help us provide you with a better user experience.

Learn how Softpile and our partners collect and use data.

You can change your choice at any time in our privacy center.

Cookie Settings

Our website stores four types of cookies. At any time you can choose which cookies you accept and which you refuse. You can read more about what cookies are and what types of cookies we store in our Cookie Policy.

are necessary for technical reasons. Without them, this website may not function properly.

are necessary for specific functionality on the website. Without them, some features may be disabled.

allow us to analyse website use and to improve the visitor's experience.

allow us to personalise your experience and to send you relevant content and offers, on this website and other websites.