• 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 codicefiscale Download

codicefiscale

August 31, 2009
This software is a Python library designed for the purpose of generating Italian fiscal codes. It enables developers to easily integrate and utilize fiscal codes in their projects, providing a fast and convenient solution for businesses operating in Italy.
Version 0.4
License LGPL
Platform Linux
Supported Languages English
Homepage code.google.com
Developed by Emanuele Rocca
CodiceFiscale is a Python library that facilitates working with the fiscal code numbers of Italy, officially known as Italy's Codice Fiscale. With CodiceFiscale, you can easily compute the fiscal code for individuals. One quick example using the library is:

> import datetime
> from codicefiscale import build
> build('Rocca', 'Emanuele', datetime.datetime(1983, 11, 18), 'M', 'D969')
> 'RCCMNL83S18D969H'

CodiceFiscale comes with four main functions that you can utilize:

build(surname, name, birthday, sex, municipality) -> string: Computes the fiscal code for a person given their data. An example usage is:

> build('Rocca', 'Emanuele', datetime.datetime(1983, 11, 18), 'M', 'D969')
> RCCMNL83S18D969H

control_code(input_string) -> int: Computes the control code for the given input_string string. The expected input_string is the first 15 characters of a fiscal code. Example usage is:

> control_code('RCCMNL83S18D969')
> 'H'

get_birthday(code) -> string: Returns the birthday of the person whose fiscal code is 'code' in the format DD-MM-YY. However, it is not possible to guess the four-digit birth year, given that the Italian fiscal code uses only the last two digits (1983 -> 83). Therefore, this function returns a string instead of a datetime object. Example usage is:

> birthday('RCCMNL83S18D969H')
> 18-11-83

get_sex(code) -> string: Returns the sex of the person whose fiscal code is 'code'. Example usage is:

> sex('RCCMNL83S18D969H')
> 'M'
> sex('CNTCHR83T41D969D')
> 'F'

isvalid(code) -> bool: Checks if the given fiscal code is syntactically valid. Example usage is:

> isvalid('RCCMNL83S18D969H')
> True
> isvalid('RCCMNL83S18D969')
> False

Overall, CodiceFiscale is a useful library for any Python developer who needs to work with Italian fiscal code numbers. It's easy to use and saves time by automating computation tasks.
What's New

Version 0.4: N/A

Free Download 3.4K
316
  • Share on:

Most Popular

  1. Quicksilver Forums 1.4.2
    154
  2. Dvgrab 3.4
    102
  3. DynVPN 1.0
    89
  4. CherryTV 0.1
    81
  5. SlideMap 1.2.2
    80
  6. porm r2
    73
  7. Clewarecontrol 0.8
    72
  8. Java Games 1.0
    72
  9. Swiftfox 3.0b5pre-2
    71
  10. fuseftp 0.8
    71

Related Downloads

sYnergy Groupware
sYnergy is a web-based communication and groupware solution designed for intranet use, ...
Avant Window Navigator
Software bar tracks open windows at bottom of screen.
The Gamebook Engine
This software is designed to assist in writing gamebooks.
Open DHCP Server
Open DHCP Server is a powerful and versatile DHCP server software that ...
NewVideoRecorder
NewVideoRecorder is a Linux-based video capture software that offers exceptional video quality ...
GNUTU
GNUTU is a software designed for students to organize and manage their ...
System Garden Habitat
This software is used to monitor and track system performance trends.
iod Suite
Dark-colored GNOME theme for desktop customization.
QtFprot
QtFprot is a Linux virus-scanner GUI powered by FPROT 4.x. This software ...
DOMBA
Domba is a web-based bandwidth management software that uses CBQ-based traffic control ...
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.