Collections of academic degrees for the US, the UK, and Germany.
Project description
A dict with three lists containing academic degrees from the US, UK, and Germany. A dict with peer titles from various countries.
Features
Check if a degree is a valid degree of chosen country. Check if a degree is written correctly. Check the number of US, UK, and German academic degrees. Check if a title is a valid peer title of chosen country.
Usage with degrees
>>>from persontitles import academic_degrees >>>DEGREES = academic_degrees.degrees() >>>"Dr. iur. et rer. pol." in DEGREES["D"] >>>True >>>"bogus degree" in DEGREES["D"] >>>False >>>len(DEGREES["D"]) >>>496 >>>"MOcean" in DEGREES["UK"] >>>True >>>"Dr. iur." in DEGREES["UK"] >>>False >>>len(DEGREES["UK"]) >>>404 >>>"B.App.Sc(IT)" in DEGREES["US"] >>>True >>>len(DEGREES["US"]) >>>614
Usage with titles
>>>from persontitles import peertitles >>>TITLES = peertitles.peertitles() >>>"Pfalzgräfin" in TITLES["German"] >>>True >>>"Archduke" in TITLES["English"] >>>True
Credits
Credits to all the unsung heroes who maintain and update the Wikipedia.
Installation
pip install persontitles
or
pipenv install persontitles
Contribute
Support
Planned
I would like to add more degrees in French or Spanish.
Warranty
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
In this particular package this means especially that there is no warranty concerning the completeness of degrees for a country, the proper spelling of the degrees listed, and the correctness of those degrees.
License
MIT License
Copyright (c) 2020 Oliver Stapel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for persontitles-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 53694b5a1ea680bca53d74e7c88674bbaa234fb54cfb8a4df36727c9b094015e |
|
MD5 | 316a2bb8bf6cd4c2839dd929ff975129 |
|
BLAKE2b-256 | 7dc1f361be5cf8276fd94a70fe4a1665309bb29a1e3e23c521a37894cd653158 |