Skip to main content

SEsocial

A python repository for verifying and generating swedish social security numbers.

Installation

Easy:

pip install SE-social

Advanced:

git clone http://github.com/WaldemarBjornstrom/SEsocial.git

Then go to the SEsocial directory you just downloaded and copy the sesocial folder into your project.

Usage

import sesocial

sesocial.verify('yymmddxxxx') # Returns True or False

sesocial.gender('yymmddxxxx') # Returns Male or Female

sesocial.generate() # Returns format yymmddxxxx

OPTIONAL: You can add age and gender to sesocial.generate(age, gender)

Note: You could also import sesocial as a or swap out a to anyting you like. And then use the commands like a.verify('yymmddxxxx')

License

This project lies under the MIT License. See LICENSE

Metadata

Release files for SE-social 1.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SE-social 1.2.3
File Size Uploaded
SE_social-1.2.3.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SE-social 1.2.3
File Interpreter ABI Platform
SE_social-1.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / SE_social-1.2.3.tar.gz

Download URL SE_social-1.2.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
995567579cc2545f3ece62ea2ef2e3922b3c5b8abf77d830dfe55b1721210246
BLAKE2b-256 checksum
How to use checksums
b531df4efc75b23a119e0295f528ec99a5494021006a7c4be93c8a28992ca1b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release files / SE_social-1.2.3-py3-none-any.whl

Download URL SE_social-1.2.3-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77cd4a7533291c7f564e2f32550ec58a08fd6c25e0401477fbd9c94adac37ad1
BLAKE2b-256 checksum
How to use checksums
f91af6000341497a4db8baf9cc89b907211f47bd47057b50196ae97d7463e6f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Release history Release notifications | RSS feed

This release

1.2.3 This release

2 release files

1.2.2

1 release file

1.1.3

1 release file

1.1.2

1 release file

1.1.1

1 release file

1.0.0

1 release file

0.2.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page