Saravanan666/pypi-org huggingface dataset:
Package: dictfilter
dictfilterinstallationpipinstalldictfilterusagefromdictfilterimportquerybsg={'class':'Battlestar','model':'Jupiter','name':'Galactica','crew':{'commander':'William Adama','xo':'Saul Tigh','cag':'Kara Thrace',}}result=query(bsg,['class','name','crew.commander'])# {#     'class': 'Battlestar',#     'name': 'Galactica',#     'crew': {#         'commander': 'William Adama',#     }# }The default delimiter used in field names is dot.however this can be changed
with thedelimiterkeyword argument toquery:result=query(bsg,['class','name','crew > commander'],delimiter=' > ')# {#     'class': 'Battlestar',#     'name': 'Galactica',#     'crew': {#         'commander': 'William Adama',#     }# }django integrationRegister the dictfilter middleware insettings.py:MIDDLEWARE=[...'dictfilter.django.middleware.DictFilterMiddleware',]By default, every 2xx series response will be filtered based on a
comma-separatedfieldsparameter in the query string.
Package: dictfire
dict命令行下[中英，中俄，中日，中韩，中法，中德，中西]文互翻译工具（Command
line translation tool for Chinese English, Chinese French, Chinese
Japanese, Chinese Korean, Chinese
German），目前支持中英互译，翻译服务基于有道翻译。 同时也支持程序调用安装(Install)::sudo pip3 install dictfire用法(Usage)命令行使用中译英(Chinese To English)
^^^^^^^^^^^^^^^^^^^^^^^^^^

1. 单词(Word)

::

   $ dict 测试

   ####################################################################
   #  
   #  测试 
   #  
   #  test
   #
   ####################################################################

2. 句子(sentence)

::

   $ dict 我爱你

   ####################################################################
   #  
   #  我爱你
   #  
   #  I love you
   #
   ####################################################################

英译中(English To Chinese)
^^^^^^^^^^^^^^^^^^^^^^^^^^

1. 单词(Word)

::

   $ dict test

   ####################################################################
   #  
   #  test
   #  
   #  测试
   #  
   ####################################################################

2. 句子(sentence)

::

   $ dict I love you

   ####################################################################
   #  
   #  I love you
   #
   #  我爱你。
   #
   ####################################################################

--------------

程序调用
~~~~~~~~

::

   result = DictFire(is_command=False).translate("I love you")
   或者
   d = DictFire(is_command=False)
   result = d.translate("I love you")

   print(result)

1. 返回成功：

::

   {
       "code": 0,
       "type": "EN2ZH_CN",
       "src": "I love you",
       "tgt": "我爱你",
       "msg": "获取成功"
   }

2. 返回失败：

::

   {
       "code": 20,
       "type": "EN2ZH_CN",
       "src": "I love you",
       "tgt": "",
       "msg": "WORD TO LONG"
   }
Package: dict-fr-ABU
Installationpip installdict-fr-ABUFrench dictionaries from Association des Bibliophiles Universels (ABU)DESCRIPTIONThis package contains several dictionaries processed fromthose made availableby theAssociation des Bibliophiles Universels (ABU)organization before 2003.FILESAll files are installed in Python's/usr/localequivalent, undershare/dict.Original filesFilenameDescriptiondict-fr-ABU-cites39.076 French cities list (accented, with compound words), along with postal zip codedict-fr-ABU-Header-citesFrench cities list (mandatory header)dict-fr-ABU-dicorth1.500 French orthographical difficulties by decreasing frequency (with compound words)dict-fr-ABU-Header-dicorthFrench orthographical difficulties (mandatory header)dict-fr-ABU-mots_communs255.282 French common words (including female and plural forms, as well as conjugated verbs), along with singular / unconjugated form, and typedict-fr-ABU-pays170 countries and regions (with compound words)dict-fr-ABU-Header-paysCountries and regions (mandatory header)dict-fr-ABU-prenoms12.437 firstnames (unaccented)dict-fr-ABU-Header-prenomsFirstnames (mandatory header)dict-fr-ABU-LicenseABU 1.1 LicenseGenerated filesFilenameDescriptiondict-fr-ABU-cites.asciiFrench cities list (unaccented)dict-fr-ABU-cites.unicodeFrench cities list (accented)dict-fr-ABU-cites.combinedFrench cities list (with both accented and unaccented words)dict-fr-ABU-mots_communs.asciiFrench common words (unaccented)dict-fr-ABU-mots_communs.combinedFrench common words (accented)dict-fr-ABU-mots_communs.unicodeFrench common words (with both accented and unaccented words)dict-fr-ABU-pays.asciiCountries and regions (unaccented)dict-fr-ABU-pays.combinedCountries and regions (accented)dict-fr-ABU-pays.unicodeCountries and regions (with both accented and unaccented words)dict-fr-ABU-prenoms.asciiFirstnames (unaccented)These generated files went through the following transformations:extraction of the headers in thedict-fr-header-*files aboveconversion from ISO-Latin-1 to UTF-8sortremoval of duplicatesremoval of lemma and grammatical info from dict-fr-ABU-mots_communsremoval of the zip codes from dict-fr-ABU-citeslossless conversion of accents for the*-asciiversionscombination of the*-asciiand*-unicodeversions into the*-combinedones (without duplicates)SEE ALSOspell(1)like tools,anagram(6)HISTORYThese data files were originally intended to be used with thePNU project'sanagramcommand, as well as many other text processing tools.I wrote anhistory of Unix & French dictionaries(in French only),
which covers this dictionary and many others.LICENSEThe original contents, as well as this package, are licensed under theABU 1.1 license.Some source files had mandatory headers that were kept underdata/dict-fr-ABU-Header-*rather than in the files themselves, in order to ease direct processing with other tools.AUTHORSAssociation des Bibliophiles Universels (ABU)for the original contents.Hubert Tournierfor the package.
Package: dict-fr-DELA
Installationpip installdict-fr-DELAFrench dictionaries from Laboratoire d'Automatique Documentaire et Linguistique (LADL)DESCRIPTIONThis package contains several dictionaries processed fromone of those made availableby the formerLaboratoire d'Automatique Documentaire et Linguistique(LADL),
now integrated intoInstitut Gaspard Monge(IGM) of theUniversité Gustave Eiffel.The selected dictionary is the inflected form DELA French dictionary in UTF-16 LE encoding, from March 16, 2006, with 683.824 simple entries for 102.073 different lemmas and 108.436 compounded entries for 83.604 different lemmas.FILESAll files are installed in Python's/usr/localequivalent, undershare/dict.Original filesFilenameDescriptiondict-fr-DELA792.120 entries inflected form DELA French dictionarydict-fr-DELA-LicenseLesser General Public License For Linguistic ResourcesThe dict-fr-DELA file has undergone the following transformations:conversion from UTF-16 LE to UTF-8removal of MS-DOS end of linessort & removal of duplicatesGenerated filesFilenameDescriptiondict-fr-DELA.asciiFrench words and compound words list (unaccented)dict-fr-DELA.unicode742.889 entries French words and compound words list (accented)dict-fr-DELA.combinedFrench words and compound words list (with both accented and unaccented words)dict-fr-DELA-proper_nouns.asciiFrench proper nouns list (unaccented, sometimes compounded)dict-fr-DELA-proper_nouns.unicode823 entries French proper nouns list (accented, sometimes compounded)dict-fr-DELA-proper_nouns.combinedFrench proper nouns list (with both accented and unaccented words, sometimes compounded)dict-fr-DELA-common-words.asciiFrench common words list (unaccented)dict-fr-DELA-common-words.unicode641.759 entries French common words list (accented)dict-fr-DELA-common-words.combinedFrench common words list (with both accented and unaccented words)dict-fr-DELA-common-compound-words.asciiFrench common compound words list (unaccented)dict-fr-DELA-common-compound-words.unicode100.320 entries French common compound words list (accented)dict-fr-DELA-common-compound-words.combinedFrench common compound words list (with both accented and unaccented words)These generated files went through the following transformations:removal of escape backslashesremoval of lemma and grammatical info from dict-fr-DELAlossless conversion of accents for the*-asciiversionscombination of the*-asciiand*-unicodeversions into the*-combinedones (without duplicates)SEE ALSOspell(1)like tools,anagram(6),conjuguer(1)HISTORYDELA means "Dictionnaire Electronique du LADL" (LADL's electronic dictionaries). These dictionaries were initiated by the lab's founder,Maurice Gross.This package of data files was originally intended to be used with thePNU project'sconjuguercommand, as well as many other text processing tools.I wrote anhistory of Unix & French dictionaries(in French only),
which covers this dictionary and many others.LICENSEThe original contents, as well as this package, are licensed under theLesser General Public License For Linguistic Resources.AUTHORSLaboratoire d'Automatique Documentaire et Linguistique(LADL) for the original contents.Hubert Tournierfor the package.
Package: dict-from-annotation
dict-from-annotationCommand-line interface (CLI) to create pronunciation dictionaries based on manual annotations.Installationpipinstalldict-from-annotation--userUsagedict-from-annotation-cliExample# Create example vocabularycat>/tmp/vocabulary.txt<< EOFTest?abc,/X|MM|L//X|MM||L/EOFdict-from-annotation-cli\/tmp/vocabulary.txt\/tmp/dictionary.dict\--rest-out/tmp/rest_vocabulary.txt

cat/tmp/dictionary.dict# -------# Output:# -------# /X|MM|L/  X MM L# -------cat/tmp/rest_vocabulary.txt# -------# Output:# -------# Test?# abc,# /X|MM||L/# -------Dependenciesiterable-serialization>=0.0.1pronunciation_dictionary>=0.0.4ordered_set>=4.1.0tqdmLicenseMIT LicenseAcknowledgmentsFunded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410CitationIf you want to cite this repo, you can use this BibTeX-entry:@misc{tsdfa22,author={Taubert, Stefan},title={dict-from-annotation},year={2022},publisher={GitHub},journal={GitHub repository},howpublished={\url{https://github.com/stefantaubert/dict-from-annotation}}}
Package: dict-from-dict
dict-from-dictCommand-line interface (CLI) to create a pronunciation dictionary from an other pronunciation dictionary with the possibility of ignoring punctuation and splitting on hyphens before lookup.Featuresignore casing of words while lookuptrimming symbols at start and end of word before lookupseparate word on hyphen before lookupif the dictionary contains words with hyphens they will be considered first (see example below)words with multiple pronunciations are supportedweights will be multiplied for hyphenated words (see example below)outputting OOV wordsmultiprocessingInstallationpipinstalldict-from-dict--userUsagedict-from-dict-cliExample# Create example vocabularycat>/tmp/vocabulary.txt<< EOFTest?abc,"defTest-def."xyz?"uv-w?EOF# Create example dictionarycat>/tmp/dictionary.dict<< EOFtest  0.7  T E0 S Ttest  0.3  T E1 S Tdef  0.4  D E0 Fdef  0.6  D E1 Fxyz  2.0  ?"xyz?  1.0  ' X Y Z ??uv  2.0  ?w  2.0  ?uv-w  1.0  U V - WEOF# Create dictionary from vocabulary and example dictionarydict-from-dict-cli\/tmp/vocabulary.txt\/tmp/dictionary.dict--consider-weights\/tmp/result.dict\--ignore-case--split-on-hyphen\--trim"?""\""",""."\--n-jobs4\--oov-out/tmp/oov.txt

cat/tmp/result.dict# -------# Output:# -------Test?0.7TE0ST?
Test?0.3TE1ST?"def  0.4  "DE0F"def  0.6  "DE1F
Test-def.0.27999999999999997TE0ST-DE0F.
Test-def.0.42TE0ST-DE1F.
Test-def.0.12TE1ST-DE0F.
Test-def.0.18TE1ST-DE1F."xyz?  1.0  ' X Y Z ??"uv-w?1.0" U V - W ?# -------cat /tmp/oov.txt# -------# Output:# -------# abc,# -------Development setup# updatesudoaptupdate# install Python 3.8-3.12 for ensuring that tests can be runsudoaptinstallpython3-pip\python3.8python3.8-devpython3.8-distutilspython3.8-venv\python3.9python3.9-devpython3.9-distutilspython3.9-venv\python3.10python3.10-devpython3.10-distutilspython3.10-venv\python3.11python3.11-devpython3.11-distutilspython3.11-venv\python3.12python3.12-devpython3.12-distutilspython3.12-venv# install pipenv for creation of virtual environmentspython3.8-mpipinstallpipenv--user# check out repogitclonehttps://github.com/stefantaubert/pronunciation-dict-creation.gitcdpronunciation-dict-creation# create virtual environmentpython3.8-mpipenvinstall--devRunning the tests# first install the tool like in "Development setup"# then, navigate into the directory of the repo (if not already done)cdpronunciation-dict-creation# activate environmentpython3.8-mpipenvshell# run teststoxFinal lines of test result output:py38: commands succeeded
  py39: commands succeeded
  py310: commands succeeded
  py311: commands succeeded
  py312: commands succeeded
  congratulations :)LicenseMIT LicenseAcknowledgmentsFunded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410CitationIf you want to cite this repo, you can use this BibTeX-entry generated by GitHub (seeAbout => Cite this repository).Taubert, S. (2024). dict-from-dict (Version 0.0.4) [Computer software]. https://doi.org/10.5281/zenodo.10560441
Package: dict-from-dragonmapper
dict-from-dragonmapperCommand-line interface (CLI) to create a pronunciation dictionary by looking up IPA transcriptions usingdragonmapperincluding the possibility of ignoring punctuation and splitting words on hyphens before transcribing them.
Instead of attaching the tones to the syllable the tones are attached to the vowel of the syllable.Installationpipinstalldict-from-dragonmapper--userUsagedict-from-dragonmapper-cliExample# Create example vocabularycat>/tmp/vocabulary.txt<< EOF社会语言学？㐻，『㑐鲜-亮。『占斌？『机具-机呀？EOF# Create dictionary from vocabularydict-from-dragonmapper-cli\/tmp/vocabulary.txt\/tmp/result.dict\--split-on-hyphen\--n-jobs4cat/tmp/result.dictOutput:社会语言学？  ʂ ɤ˥˩ x w eɪ˥˩ y˧˩˧ j ɛ˧˥ n ɕ ɥ œ˧˥ ？
㐻，  n eɪ˥˩ ，
『㑐  『 ʂ u˥
鲜-亮。  ɕ j ɛ˥ n - l j ɑ˥˩ ŋ 。
『占斌？  『 ʈʂ a˥˩ n p i˥ n ？
『机具-机呀？  『 tɕ i˥ tɕ y˥˩ - tɕ i˥ j a ？Phoneme Seta
ai
aɪ
eɪ
f
i
j
k
kʰ
l
m
n
oʊ
p
pʰ
s
t
ts
tsʰ
tɕ
tɕʰ
tʰ
u
w
x
y
ŋ
œ
ɑ
ɑʊ
ɔ
ɕ
ə
ɛ
ɤ
ɥ
ɨ
ɯ
ɻ
ʂ
ʈʂ
ʈʂʰ
ʊ
ʐVowels and diphthongs contain one of these tones:˥ (first tone)
˧˥ (second tone)
˧˩˧ (third tone)
˥˩ (fourth tone)
(none)Dependenciespronunciation-dictionary >= 0.0.4ordered-set >= 4.1.0word-to-pronunciation >= 0.0.1dragonmapper >=0.2.6, < 0.3tqdmLicenseMIT LicenseAcknowledgmentsdragonmapperFunded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410CitationIf you want to cite this repo, you can use this BibTeX-entry generated by GitHub (seeAbout => Cite this repository).
Package: dict-from-g2pE
dict-from-g2pECLI to create a pronunciation dictionary by predicting English ARPAbet phonemes using seq2seq model fromg2pEand the possibility of ignoring punctuation and splitting on hyphens before prediction.Installationpipinstalldict-from-g2pE--userUsagedict-from-g2pE-cliExample# Create example vocabularycat>/tmp/vocabulary.txt<< EOFTest?abc,"defTest-def."xyz?"uv-w?EOF# Create dictionary from vocabulary and example dictionarydict-from-g2pE-cli\/tmp/vocabulary.txt\/tmp/result.dict\--split-on-hyphen\--n-jobs4cat/tmp/result.dictOutput:Test?  T EH1 S T ?
abc,  AE1 B K ,
"def  " D EH1 F
Test-def.  T EH1 S T - D EH1 F .
"xyz?  " Z IH1 JH IH0 Z ?
"uv-w?  " AH1 V - V IY1 ?Development setup# updatesudoaptupdate# install Python 3.8-3.12 for ensuring that tests can be runsudoaptinstallpython3-pip\python3.8python3.8-devpython3.8-distutilspython3.8-venv\python3.9python3.9-devpython3.9-distutilspython3.9-venv\python3.10python3.10-devpython3.10-distutilspython3.10-venv\python3.11python3.11-devpython3.11-distutilspython3.11-venv\python3.12python3.12-devpython3.12-distutilspython3.12-venv# install pipenv for creation of virtual environmentspython3.8-mpipinstallpipenv--user# check out repogitclonehttps://github.com/stefantaubert/dict-from-g2p.gitcddict-from-g2p# create virtual environmentpython3.8-mpipenvinstall--devRunning the tests# first install the tool like in "Development setup"# then, navigate into the directory of the repo (if not already done)cddict-from-g2p# activate environmentpython3.8-mpipenvshell# run teststoxFinal lines of test result output:py38: commands succeeded
  py39: commands succeeded
  py310: commands succeeded
  py311: commands succeeded
  py312: commands succeeded
  congratulations :)LicenseMIT LicenseAcknowledgmentsg2pE: A Simple Python Module for English Grapheme To Phoneme ConversionFunded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410CitationIf you want to cite this repo, you can use this BibTeX-entry generated by GitHub (seeAbout => Cite this repository).Taubert, S. (2024). dict-from-g2pE (Version 0.0.2) [Computer software]. https://doi.org/10.5281/zenodo.10561178
Package: dict-from-pypinyin
dict-from-pypinyinCommand-line interface (CLI) to create a pronunciation dictionary by looking up pinyin transcriptions usingpypinyinincluding the possibility of ignoring punctuation and splitting words on hyphens before transcribing them.Installationpipinstalldict-from-pypinyin--userUsagedict-from-pypinyin-cliExample# Create example vocabularycat>/tmp/vocabulary.txt<< EOF社会语言学？㐻，『㑐鲜-亮。『占斌？『机具-机呀？EOF# Create dictionary from vocabularydict-from-pypinyin-cli\/tmp/vocabulary.txt\/tmp/result.dict\--split-on-hyphen

cat/tmp/result.dictOutput:社会语言学？  shè huì yǔ yán xué ？
社会语言学？  shè huì yǔ yàn xué ？
社会语言学？  shè huì yǔ yín xué ？
社会语言学？  shè huì yù yán xué ？
社会语言学？  shè huì yù yàn xué ？
社会语言学？  shè huì yù yín xué ？
社会语言学？  shè kuài yǔ yán xué ？
社会语言学？  shè kuài yǔ yàn xué ？
社会语言学？  shè kuài yǔ yín xué ？
社会语言学？  shè kuài yù yán xué ？
社会语言学？  shè kuài yù yàn xué ？
社会语言学？  shè kuài yù yín xué ？
㐻，  nèi ，
『㑐  『 shū
鲜-亮。  xiān - liàng 。
鲜-亮。  xiān - liáng 。
鲜-亮。  xiǎn - liàng 。
鲜-亮。  xiǎn - liáng 。
『占斌？  『 zhàn bīn ？
『占斌？  『 zhān bīn ？
『占斌？  『 tiē bīn ？
『机具-机呀？  『 jī jù - jī ya ？
『机具-机呀？  『 jī jù - jī yā ？
『机具-机呀？  『 jī jù - jī xiā ？
『机具-机呀？  『 jī jù - wèi ya ？
『机具-机呀？  『 jī jù - wèi yā ？
『机具-机呀？  『 jī jù - wèi xiā ？
『机具-机呀？  『 wèi jù - jī ya ？
『机具-机呀？  『 wèi jù - jī yā ？
『机具-机呀？  『 wèi jù - jī xiā ？
『机具-机呀？  『 wèi jù - wèi ya ？
『机具-机呀？  『 wèi jù - wèi yā ？
『机具-机呀？  『 wèi jù - wèi xiā ？Development setup# updatesudoaptupdate# install Python 3.8, 3.9, 3.10 & 3.11 for ensuring that tests can be runsudoaptinstallpython3-pip\python3.8python3.8-devpython3.8-distutilspython3.8-venv\python3.9python3.9-devpython3.9-distutilspython3.9-venv\python3.10python3.10-devpython3.10-distutilspython3.10-venv\python3.11python3.11-devpython3.11-distutilspython3.11-venv\python3.12python3.12-devpython3.12-distutilspython3.12-venv# install pipenv for creation of virtual environmentspython3.8-mpipinstallpipenv--user# check out repogitclonehttps://github.com/stefantaubert/dict-from-pypinyin.gitcddict-from-pypinyin# create virtual environmentpython3.8-mpipenvinstall--devRunning the tests# first install the tool like in "Development setup"# then, navigate into the directory of the repo (if not already done)cddict-from-pypinyin# activate environmentpython3.8-mpipenvshell# run teststoxFinal lines of test result output:py38: commands succeeded
  py39: commands succeeded
  py310: commands succeeded
  py311: commands succeeded
  py312: commands succeeded
  congratulations :)LicenseMIT LicenseAcknowledgmentspypinyinFunded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project-ID 416228727 – CRC 1410CitationIf you want to cite this repo, you can use this BibTeX-entry generated by GitHub (seeAbout => Cite this repository).Taubert, S. (2024). dict-from-pypinyin (Version 0.0.2) [Computer software]. https://doi.org/10.5281/zenodo.10554720
Package: dict-fr-Wordscapes
Installationpip installdict-fr-WordscapesFrench dictionary of Wordscapes solutionsDESCRIPTIONThis package contains a French dictionary ofWordscapessolutions.It's meant to be used as a complement to a real French dictionary such asdict-fr-AU-DELA,
as the game uses non French words, first names and even stranger things...However a real french dictionary will also give you additional points with recognized words not appearing on the grid.FILESThe dictionarydict-fr-Wordscapesis installed in Python's/usr/localequivalent, undershare/dict.SEE ALSOanagram(6)HISTORYThis dictionary was made for thePNU project'sanagram(6)command
in order to help my wife playWordscapeswhen she was stuck on a level.LICENSEThis dictionary is placed in the Public Domain.AUTHORSHubert Tournierand family, as well as other Internet denizens.
Package: dictgen
dictgenGenerate random Python dictionaries for testing.importdictgendictgen.generate()### Outputs{"":[280633528141071517,[-4279251701116042058]],"X":957269515550119532}Control the number of keys allowed at a single level in the library
usingmax_height.importdictgendictgen.generate(max_height=2)### Outputs{"PZ70":"BD3X3","M6":{}}dictgen.generate(max_height=5)### Outputs{"PZ70":"BD3X3","M6":{},123:None,"B1223S3S":[9243,None],"XLXSM35PW3":"1AHLFB06"}Control the maximum number of nested dictionaries and arrays usingmax_depth.print(dictgen.generate(max_depth=3))### Outputs{"POARS2":2.6720361072638525e+18,"6":{"BZVADP":-1.646104091641211e+18,"V":[]}}You can reproduce the same dictionary consistently using theseedparameter.dictgen.generate(rand_seed=1)### Outputs{'4YNG5BY':-7.048155888731118e+18}dictgen.generate(rand_seed=1)### Outputs{'4YNG5BY':-7.048155888731118e+18}You can control the different functions that are used to generate your dictionaries.key_generators,val_generators,nested_generatorsarguments# Generate a dictionary with only strings as keys and valuesdictgen.generate(key_generators=(dictgen.random_string,),val_generators=(dictgen.random_string,))### Outputs{'QM':{'57S':'MBBO6XZP','':'5WWU8AY'},'':[{'M0ISLL4':'8'},'XE0'],'EHEOL1I5':{}}# Generate a dictionary with a custom generator methodfromuuidimportuuid4defgenerate_uuid(**kwargs):returnuuid4()dictgen.generate(key_generators=(generate_uuid,),val_generators=(dictgen.random_string,))### Outputs{UUID('2f85cf3e-b8f4-4750-ac3d-8ce84b9f7ed1'):[[]],UUID('a840fd05-daba-49ce-a695-fad8c1fd3675'):'EeuM0N',UUID('6dab8e6d-35f1-479e-8763-b671b46a86b0'):'aj'}Examples./examples/fuzz_tomlkit.py- an example of fuzz testing a popular toml encoder library...

Test 5 -------------
test_data: {'HX': [[]], 'YiG': datetime.time(15, 55)}
result:
HX = [[]]
YiG = 15:55:00CONTRIBUTINGMake sure all unit tests are passingpip install -e .
python -m unittest
Package: dicthandling
dicthandlingdicthandlingis a python module containing convenient methods handling python
dictionaries.Read-the-docsfor
a detailed description of its methods.InstallingInstalling the latest release using pip is recommended.$pipinstalldicthandlingThe latest development state can be obtained from gitlab using pip.$pipinstallgit+https://gitlab.com/david.scheliga/dicthandling.git@devAuthorsDavid Scheliga@gitlab@LinkedinInitial workMaintainerLicenseThis project is licensed under the GNU GENERAL PUBLIC LICENSE - see theLICENSEfile for detailsAcknowledgeCode style: blackPurpleBoothKeep a Changelog
Package: dicthash
dicthashGenerate portable md5 hashes from (arbitrarily nested) dictionaries. These dictionaries can contain arbitrary Python and NumPy data types. The goal of the module is to provide a hash function that can be safely used across different platforms. Its main use is to generate unique identifiers for parameter dictionaries used in parameter scans of neural network simulations.It exposes a single function to the userdicthash.generate_hash_from_dict.It exposes a single function to the user:generate_hash_from_dict.
The user can set two global parameters:FLOAT_FACTORTo ensure consistency between different systems, the library
multiplies floats with theFLOAT_FACTORand then converts them to
integers.FLOOR_SMALL_FLOATSIf the float is smaller than the inverse of theFLOAT_FACTOR, it
cannot be safely converted. IfFLOOR_SMALL_FLOATSis set to True,
the library will round the float to zero. If set to False, it will
throw an error in this case.Code status