Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- ckpts/universal/global_step20/zero/13.attention.query_key_value.weight/exp_avg_sq.pt +3 -0
- ckpts/universal/global_step20/zero/21.mlp.dense_h_to_4h_swiglu.weight/exp_avg_sq.pt +3 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_biology.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_computer_science.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_medicine.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_conceptual_physics.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_global_facts.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_high_school_microeconomics.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_professional_law.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/README.md +79 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/paws_en.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/paws_es.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/paws_fr.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/paws_ja.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/paws_zh.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/paws-x/pawsx_template_yaml +20 -0
- venv/lib/python3.10/site-packages/_multiprocess/__init__.py +8 -0
- venv/lib/python3.10/site-packages/_multiprocess/__pycache__/__init__.cpython-310.pyc +0 -0
- venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/INSTALLER +1 -0
- venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/LICENSE +19 -0
- venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/METADATA +259 -0
- venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/RECORD +15 -0
- venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/WHEEL +4 -0
- venv/lib/python3.10/site-packages/pydantic-2.7.1.dist-info/INSTALLER +1 -0
- venv/lib/python3.10/site-packages/pydantic-2.7.1.dist-info/RECORD +205 -0
- venv/lib/python3.10/site-packages/pydantic-2.7.1.dist-info/WHEEL +4 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Accra +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Addis_Ababa +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Algiers +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Asmara +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Bamako +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Brazzaville +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Cairo +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Casablanca +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Ceuta +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Conakry +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Dakar +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Dar_es_Salaam +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Djibouti +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Douala +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/El_Aaiun +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Gaborone +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Johannesburg +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Juba +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Kampala +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Khartoum +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Kigali +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Kinshasa +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Lagos +0 -0
- venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Libreville +0 -0
ckpts/universal/global_step20/zero/13.attention.query_key_value.weight/exp_avg_sq.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c6b50a8efbca8862a5dd16d22ff5f4d163c457906f00a455704398a24ba98c55
|
3 |
+
size 50332843
|
ckpts/universal/global_step20/zero/21.mlp.dense_h_to_4h_swiglu.weight/exp_avg_sq.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2367b1abfed618d88e5335a9cd66e558608bbd4d31ed41efdd5b952bfd6626f4
|
3 |
+
size 33555627
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_biology.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "college_biology"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about college\
|
3 |
+
\ biology.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_stem"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_college_biology"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_computer_science.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "college_computer_science"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about college\
|
3 |
+
\ computer science.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_stem"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_college_computer_science"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_medicine.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "college_medicine"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about college\
|
3 |
+
\ medicine.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_other"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_college_medicine"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_conceptual_physics.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "conceptual_physics"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about conceptual\
|
3 |
+
\ physics.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_stem"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_conceptual_physics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_global_facts.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "global_facts"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about global\
|
3 |
+
\ facts.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_other"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_global_facts"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_high_school_microeconomics.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "high_school_microeconomics"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
3 |
+
\ school microeconomics.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_social_sciences"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_high_school_microeconomics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_professional_law.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"dataset_name": "professional_law"
|
2 |
+
"description": "The following are multiple choice questions (with answers) about professional\
|
3 |
+
\ law.\n\n"
|
4 |
+
"group": "mmlu_flan_n_shot_generative_humanities"
|
5 |
+
"include": "_mmlu_flan_generative_template_yaml"
|
6 |
+
"task": "mmlu_flan_n_shot_generative_professional_law"
|
lm-evaluation-harness/lm_eval/tasks/paws-x/README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# PAWS-X
|
2 |
+
|
3 |
+
### Paper
|
4 |
+
|
5 |
+
Title: `PAWS-X: A Cross-lingual Adversarial Dataset for Paraphrase Identification`
|
6 |
+
Abstract: https://arxiv.org/abs/1908.11828
|
7 |
+
|
8 |
+
The dataset consists of 23,659 human translated PAWS evaluation pairs and
|
9 |
+
296,406 machine translated training pairs in 6 typologically distinct languages.
|
10 |
+
|
11 |
+
Examples are adapted from PAWS-Wiki
|
12 |
+
|
13 |
+
Prompt format (same as in mGPT):
|
14 |
+
|
15 |
+
"<s>" + sentence1 + ", right? " + mask + ", " + sentence2 + "</s>",
|
16 |
+
|
17 |
+
where mask is the string that matches the label:
|
18 |
+
|
19 |
+
Yes, No.
|
20 |
+
|
21 |
+
Example:
|
22 |
+
|
23 |
+
<s> The Tabaci River is a tributary of the River Leurda in Romania, right? No, The Leurda River is a tributary of the River Tabaci in Romania.</s>
|
24 |
+
|
25 |
+
Language specific prompts are translated word-by-word with Google Translate
|
26 |
+
and may differ from the ones used by mGPT and XGLM (they do not provide their prompts).
|
27 |
+
|
28 |
+
Homepage: https://github.com/google-research-datasets/paws/tree/master/pawsx
|
29 |
+
|
30 |
+
|
31 |
+
### Citation
|
32 |
+
|
33 |
+
```
|
34 |
+
@inproceedings{yang-etal-2019-paws,
|
35 |
+
title = "{PAWS}-{X}: A Cross-lingual Adversarial Dataset for Paraphrase Identification",
|
36 |
+
author = "Yang, Yinfei and
|
37 |
+
Zhang, Yuan and
|
38 |
+
Tar, Chris and
|
39 |
+
Baldridge, Jason",
|
40 |
+
booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP)",
|
41 |
+
month = nov,
|
42 |
+
year = "2019",
|
43 |
+
address = "Hong Kong, China",
|
44 |
+
publisher = "Association for Computational Linguistics",
|
45 |
+
url = "https://aclanthology.org/D19-1382",
|
46 |
+
doi = "10.18653/v1/D19-1382",
|
47 |
+
pages = "3687--3692",
|
48 |
+
}
|
49 |
+
```
|
50 |
+
|
51 |
+
### Groups and Tasks
|
52 |
+
|
53 |
+
#### Groups
|
54 |
+
|
55 |
+
* `pawsx`
|
56 |
+
|
57 |
+
#### Tasks
|
58 |
+
|
59 |
+
* `paws_de`: German
|
60 |
+
* `paws_en`: English
|
61 |
+
* `paws_es`: Spanish
|
62 |
+
* `paws_fr`: French
|
63 |
+
* `paws_ja`: Japanese
|
64 |
+
* `paws_ko`: Korean
|
65 |
+
* `paws_zh`: Chinese
|
66 |
+
|
67 |
+
|
68 |
+
### Checklist
|
69 |
+
|
70 |
+
For adding novel benchmarks/datasets to the library:
|
71 |
+
* [ ] Is the task an existing benchmark in the literature?
|
72 |
+
* [ ] Have you referenced the original paper that introduced the task?
|
73 |
+
* [ ] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
|
74 |
+
|
75 |
+
|
76 |
+
If other tasks on this dataset are already supported:
|
77 |
+
* [ ] Is the "Main" variant of this task clearly denoted?
|
78 |
+
* [ ] Have you provided a short sentence in a README on what each new variant adds / evaluates?
|
79 |
+
* [ ] Have you noted which, if any, published evaluation setups are matched by this variant?
|
lm-evaluation-harness/lm_eval/tasks/paws-x/paws_en.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated by utils.py
|
2 |
+
dataset_name: en
|
3 |
+
doc_to_choice: '{{[sentence1+", right? Yes, "+sentence2, sentence1+", right? No, "+sentence2]}}'
|
4 |
+
doc_to_text: ''
|
5 |
+
include: pawsx_template_yaml
|
6 |
+
task: paws_en
|
lm-evaluation-harness/lm_eval/tasks/paws-x/paws_es.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated by utils.py
|
2 |
+
dataset_name: es
|
3 |
+
doc_to_choice: '{{[sentence1+", verdad? Sí, "+sentence2, sentence1+", verdad? No,
|
4 |
+
"+sentence2]}}'
|
5 |
+
doc_to_text: ''
|
6 |
+
include: pawsx_template_yaml
|
7 |
+
task: paws_es
|
lm-evaluation-harness/lm_eval/tasks/paws-x/paws_fr.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated by utils.py
|
2 |
+
dataset_name: fr
|
3 |
+
doc_to_choice: '{{[sentence1+", n''est-ce pas? Oui, "+sentence2, sentence1+", n''est-ce
|
4 |
+
pas? No, "+sentence2]}}'
|
5 |
+
doc_to_text: ''
|
6 |
+
include: pawsx_template_yaml
|
7 |
+
task: paws_fr
|
lm-evaluation-harness/lm_eval/tasks/paws-x/paws_ja.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated by utils.py
|
2 |
+
dataset_name: ja
|
3 |
+
doc_to_choice: '{{[sentence1+", ですね? はい, "+sentence2, sentence1+", ですね? いいえ, "+sentence2]}}'
|
4 |
+
doc_to_text: ''
|
5 |
+
include: pawsx_template_yaml
|
6 |
+
task: paws_ja
|
lm-evaluation-harness/lm_eval/tasks/paws-x/paws_zh.yaml
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Generated by utils.py
|
2 |
+
dataset_name: zh
|
3 |
+
doc_to_choice: '{{[sentence1+", 对吧? 是, "+sentence2, sentence1+", 对吧? 不是, "+sentence2]}}'
|
4 |
+
doc_to_text: ''
|
5 |
+
include: pawsx_template_yaml
|
6 |
+
task: paws_zh
|
lm-evaluation-harness/lm_eval/tasks/paws-x/pawsx_template_yaml
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file will be included in the generated language-specific task configs.
|
2 |
+
# It doesn't have a yaml file extension as it is not meant to be imported directly
|
3 |
+
# by the harness.
|
4 |
+
group: pawsx
|
5 |
+
task: null
|
6 |
+
dataset_path: paws-x
|
7 |
+
dataset_name: null
|
8 |
+
output_type: multiple_choice
|
9 |
+
training_split: train
|
10 |
+
validation_split: validation
|
11 |
+
test_split: test
|
12 |
+
doc_to_text: null
|
13 |
+
doc_to_target: label
|
14 |
+
doc_to_choice: null
|
15 |
+
metric_list:
|
16 |
+
- metric: acc
|
17 |
+
aggregation: mean
|
18 |
+
higher_is_better: true
|
19 |
+
metadata:
|
20 |
+
version: 0.0
|
venv/lib/python3.10/site-packages/_multiprocess/__init__.py
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/usr/bin/env python
|
2 |
+
#
|
3 |
+
# Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
|
4 |
+
# Copyright (c) 2022-2024 The Uncertainty Quantification Foundation.
|
5 |
+
# License: 3-clause BSD. The full license text is available at:
|
6 |
+
# - https://github.com/uqfoundation/multiprocess/blob/master/LICENSE
|
7 |
+
|
8 |
+
from _multiprocessing import *
|
venv/lib/python3.10/site-packages/_multiprocess/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (214 Bytes). View file
|
|
venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/LICENSE
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Copyright (c) 2012 Erik Rose
|
2 |
+
|
3 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
4 |
+
this software and associated documentation files (the "Software"), to deal in
|
5 |
+
the Software without restriction, including without limitation the rights to
|
6 |
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
7 |
+
of the Software, and to permit persons to whom the Software is furnished to do
|
8 |
+
so, subject to the following conditions:
|
9 |
+
|
10 |
+
The above copyright notice and this permission notice shall be included in all
|
11 |
+
copies or substantial portions of the Software.
|
12 |
+
|
13 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
14 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
15 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
16 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
17 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
18 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
19 |
+
SOFTWARE.
|
venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/METADATA
ADDED
@@ -0,0 +1,259 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: more-itertools
|
3 |
+
Version: 10.2.0
|
4 |
+
Summary: More routines for operating on iterables, beyond itertools
|
5 |
+
Keywords: itertools,iterator,iteration,filter,peek,peekable,chunk,chunked
|
6 |
+
Author-email: Erik Rose <[email protected]>
|
7 |
+
Requires-Python: >=3.8
|
8 |
+
Description-Content-Type: text/x-rst
|
9 |
+
Classifier: Development Status :: 5 - Production/Stable
|
10 |
+
Classifier: Intended Audience :: Developers
|
11 |
+
Classifier: Natural Language :: English
|
12 |
+
Classifier: License :: OSI Approved :: MIT License
|
13 |
+
Classifier: Programming Language :: Python :: 3
|
14 |
+
Classifier: Programming Language :: Python :: 3.8
|
15 |
+
Classifier: Programming Language :: Python :: 3.9
|
16 |
+
Classifier: Programming Language :: Python :: 3.10
|
17 |
+
Classifier: Programming Language :: Python :: 3.11
|
18 |
+
Classifier: Programming Language :: Python :: 3.12
|
19 |
+
Classifier: Programming Language :: Python :: 3 :: Only
|
20 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
21 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
22 |
+
Classifier: Topic :: Software Development :: Libraries
|
23 |
+
Project-URL: Homepage, https://github.com/more-itertools/more-itertools
|
24 |
+
|
25 |
+
==============
|
26 |
+
More Itertools
|
27 |
+
==============
|
28 |
+
|
29 |
+
.. image:: https://readthedocs.org/projects/more-itertools/badge/?version=latest
|
30 |
+
:target: https://more-itertools.readthedocs.io/en/stable/
|
31 |
+
|
32 |
+
Python's ``itertools`` library is a gem - you can compose elegant solutions
|
33 |
+
for a variety of problems with the functions it provides. In ``more-itertools``
|
34 |
+
we collect additional building blocks, recipes, and routines for working with
|
35 |
+
Python iterables.
|
36 |
+
|
37 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
38 |
+
| Grouping | `chunked <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.chunked>`_, |
|
39 |
+
| | `ichunked <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.ichunked>`_, |
|
40 |
+
| | `chunked_even <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.chunked_even>`_, |
|
41 |
+
| | `sliced <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sliced>`_, |
|
42 |
+
| | `constrained_batches <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.constrained_batches>`_, |
|
43 |
+
| | `distribute <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.distribute>`_, |
|
44 |
+
| | `divide <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.divide>`_, |
|
45 |
+
| | `split_at <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.split_at>`_, |
|
46 |
+
| | `split_before <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.split_before>`_, |
|
47 |
+
| | `split_after <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.split_after>`_, |
|
48 |
+
| | `split_into <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.split_into>`_, |
|
49 |
+
| | `split_when <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.split_when>`_, |
|
50 |
+
| | `bucket <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.bucket>`_, |
|
51 |
+
| | `unzip <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.unzip>`_, |
|
52 |
+
| | `batched <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.batched>`_, |
|
53 |
+
| | `grouper <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.grouper>`_, |
|
54 |
+
| | `partition <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.partition>`_, |
|
55 |
+
| | `transpose <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.transpose>`_ |
|
56 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
57 |
+
| Lookahead and lookback | `spy <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.spy>`_, |
|
58 |
+
| | `peekable <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.peekable>`_, |
|
59 |
+
| | `seekable <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.seekable>`_ |
|
60 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
61 |
+
| Windowing | `windowed <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.windowed>`_, |
|
62 |
+
| | `substrings <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.substrings>`_, |
|
63 |
+
| | `substrings_indexes <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.substrings_indexes>`_, |
|
64 |
+
| | `stagger <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.stagger>`_, |
|
65 |
+
| | `windowed_complete <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.windowed_complete>`_, |
|
66 |
+
| | `pairwise <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.pairwise>`_, |
|
67 |
+
| | `triplewise <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.triplewise>`_, |
|
68 |
+
| | `sliding_window <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sliding_window>`_, |
|
69 |
+
| | `subslices <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.subslices>`_ |
|
70 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
71 |
+
| Augmenting | `count_cycle <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.count_cycle>`_, |
|
72 |
+
| | `intersperse <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.intersperse>`_, |
|
73 |
+
| | `padded <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.padded>`_, |
|
74 |
+
| | `repeat_each <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.repeat_each>`_, |
|
75 |
+
| | `mark_ends <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.mark_ends>`_, |
|
76 |
+
| | `repeat_last <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.repeat_last>`_, |
|
77 |
+
| | `adjacent <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.adjacent>`_, |
|
78 |
+
| | `groupby_transform <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.groupby_transform>`_, |
|
79 |
+
| | `pad_none <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.pad_none>`_, |
|
80 |
+
| | `ncycles <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.ncycles>`_ |
|
81 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
82 |
+
| Combining | `collapse <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.collapse>`_, |
|
83 |
+
| | `sort_together <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sort_together>`_, |
|
84 |
+
| | `interleave <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.interleave>`_, |
|
85 |
+
| | `interleave_longest <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.interleave_longest>`_, |
|
86 |
+
| | `interleave_evenly <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.interleave_evenly>`_, |
|
87 |
+
| | `zip_offset <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.zip_offset>`_, |
|
88 |
+
| | `zip_equal <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.zip_equal>`_, |
|
89 |
+
| | `zip_broadcast <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.zip_broadcast>`_, |
|
90 |
+
| | `dotproduct <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.dotproduct>`_, |
|
91 |
+
| | `convolve <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.convolve>`_, |
|
92 |
+
| | `flatten <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.flatten>`_, |
|
93 |
+
| | `roundrobin <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.roundrobin>`_, |
|
94 |
+
| | `prepend <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.prepend>`_, |
|
95 |
+
| | `value_chain <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.value_chain>`_, |
|
96 |
+
| | `partial_product <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.partial_product>`_ |
|
97 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
98 |
+
| Summarizing | `ilen <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.ilen>`_, |
|
99 |
+
| | `unique_to_each <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.unique_to_each>`_, |
|
100 |
+
| | `sample <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sample>`_, |
|
101 |
+
| | `consecutive_groups <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.consecutive_groups>`_, |
|
102 |
+
| | `run_length <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.run_length>`_, |
|
103 |
+
| | `map_reduce <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.map_reduce>`_, |
|
104 |
+
| | `exactly_n <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.exactly_n>`_, |
|
105 |
+
| | `is_sorted <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.is_sorted>`_, |
|
106 |
+
| | `all_equal <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.all_equal>`_, |
|
107 |
+
| | `all_unique <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.all_unique>`_, |
|
108 |
+
| | `minmax <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.minmax>`_, |
|
109 |
+
| | `first_true <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.first_true>`_, |
|
110 |
+
| | `quantify <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.quantify>`_, |
|
111 |
+
| | `iequals <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iequals>`_ |
|
112 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
113 |
+
| Selecting | `islice_extended <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.islice_extended>`_, |
|
114 |
+
| | `first <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.first>`_, |
|
115 |
+
| | `last <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.last>`_, |
|
116 |
+
| | `one <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.one>`_, |
|
117 |
+
| | `only <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.only>`_, |
|
118 |
+
| | `strictly_n <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.strictly_n>`_, |
|
119 |
+
| | `strip <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.strip>`_, |
|
120 |
+
| | `lstrip <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.lstrip>`_, |
|
121 |
+
| | `rstrip <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.rstrip>`_, |
|
122 |
+
| | `filter_except <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.filter_except>`_, |
|
123 |
+
| | `map_except <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.map_except>`_, |
|
124 |
+
| | `filter_map <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.filter_map>`_, |
|
125 |
+
| | `iter_suppress <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iter_suppress>`_, |
|
126 |
+
| | `nth_or_last <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_or_last>`_, |
|
127 |
+
| | `unique_in_window <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.unique_in_window>`_, |
|
128 |
+
| | `before_and_after <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.before_and_after>`_, |
|
129 |
+
| | `nth <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth>`_, |
|
130 |
+
| | `take <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.take>`_, |
|
131 |
+
| | `tail <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.tail>`_, |
|
132 |
+
| | `unique_everseen <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.unique_everseen>`_, |
|
133 |
+
| | `unique_justseen <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.unique_justseen>`_, |
|
134 |
+
| | `duplicates_everseen <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.duplicates_everseen>`_, |
|
135 |
+
| | `duplicates_justseen <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.duplicates_justseen>`_, |
|
136 |
+
| | `classify_unique <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.classify_unique>`_, |
|
137 |
+
| | `longest_common_prefix <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.longest_common_prefix>`_, |
|
138 |
+
| | `takewhile_inclusive <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.takewhile_inclusive>`_ |
|
139 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
140 |
+
| Combinatorics | `distinct_permutations <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.distinct_permutations>`_, |
|
141 |
+
| | `distinct_combinations <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.distinct_combinations>`_, |
|
142 |
+
| | `circular_shifts <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.circular_shifts>`_, |
|
143 |
+
| | `partitions <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.partitions>`_, |
|
144 |
+
| | `set_partitions <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.set_partitions>`_, |
|
145 |
+
| | `product_index <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.product_index>`_, |
|
146 |
+
| | `combination_index <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.combination_index>`_, |
|
147 |
+
| | `permutation_index <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.permutation_index>`_, |
|
148 |
+
| | `combination_with_replacement_index <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.combination_with_replacement_index>`_, |
|
149 |
+
| | `gray_product <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.gray_product>`_, |
|
150 |
+
| | `outer_product <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.outer_product>`_, |
|
151 |
+
| | `powerset <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.powerset>`_, |
|
152 |
+
| | `random_product <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.random_product>`_, |
|
153 |
+
| | `random_permutation <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.random_permutation>`_, |
|
154 |
+
| | `random_combination <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.random_combination>`_, |
|
155 |
+
| | `random_combination_with_replacement <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.random_combination_with_replacement>`_, |
|
156 |
+
| | `nth_product <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_product>`_, |
|
157 |
+
| | `nth_permutation <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_permutation>`_, |
|
158 |
+
| | `nth_combination <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_combination>`_, |
|
159 |
+
| | `nth_combination_with_replacement <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.nth_combination_with_replacement>`_ |
|
160 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
161 |
+
| Wrapping | `always_iterable <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.always_iterable>`_, |
|
162 |
+
| | `always_reversible <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.always_reversible>`_, |
|
163 |
+
| | `countable <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.countable>`_, |
|
164 |
+
| | `consumer <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.consumer>`_, |
|
165 |
+
| | `with_iter <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.with_iter>`_, |
|
166 |
+
| | `iter_except <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iter_except>`_ |
|
167 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
168 |
+
| Others | `locate <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.locate>`_, |
|
169 |
+
| | `rlocate <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.rlocate>`_, |
|
170 |
+
| | `replace <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.replace>`_, |
|
171 |
+
| | `numeric_range <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.numeric_range>`_, |
|
172 |
+
| | `side_effect <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.side_effect>`_, |
|
173 |
+
| | `iterate <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iterate>`_, |
|
174 |
+
| | `difference <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.difference>`_, |
|
175 |
+
| | `make_decorator <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.make_decorator>`_, |
|
176 |
+
| | `SequenceView <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.SequenceView>`_, |
|
177 |
+
| | `time_limited <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.time_limited>`_, |
|
178 |
+
| | `map_if <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.map_if>`_, |
|
179 |
+
| | `iter_index <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.iter_index>`_, |
|
180 |
+
| | `consume <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.consume>`_, |
|
181 |
+
| | `tabulate <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.tabulate>`_, |
|
182 |
+
| | `repeatfunc <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.repeatfunc>`_, |
|
183 |
+
| | `polynomial_from_roots <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_from_roots>`_, |
|
184 |
+
| | `polynomial_eval <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_eval>`_, |
|
185 |
+
| | `polynomial_derivative <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.polynomial_derivative>`_, |
|
186 |
+
| | `sieve <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sieve>`_, |
|
187 |
+
| | `factor <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.factor>`_, |
|
188 |
+
| | `matmul <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.matmul>`_, |
|
189 |
+
| | `sum_of_squares <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.sum_of_squares>`_, |
|
190 |
+
| | `totient <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.totient>`_, |
|
191 |
+
| | `reshape <https://more-itertools.readthedocs.io/en/stable/api.html#more_itertools.reshape>`_ |
|
192 |
+
+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
193 |
+
|
194 |
+
|
195 |
+
Getting started
|
196 |
+
===============
|
197 |
+
|
198 |
+
To get started, install the library with `pip <https://pip.pypa.io/en/stable/>`_:
|
199 |
+
|
200 |
+
.. code-block:: shell
|
201 |
+
|
202 |
+
pip install more-itertools
|
203 |
+
|
204 |
+
The recipes from the `itertools docs <https://docs.python.org/3/library/itertools.html#itertools-recipes>`_
|
205 |
+
are included in the top-level package:
|
206 |
+
|
207 |
+
.. code-block:: python
|
208 |
+
|
209 |
+
>>> from more_itertools import flatten
|
210 |
+
>>> iterable = [(0, 1), (2, 3)]
|
211 |
+
>>> list(flatten(iterable))
|
212 |
+
[0, 1, 2, 3]
|
213 |
+
|
214 |
+
Several new recipes are available as well:
|
215 |
+
|
216 |
+
.. code-block:: python
|
217 |
+
|
218 |
+
>>> from more_itertools import chunked
|
219 |
+
>>> iterable = [0, 1, 2, 3, 4, 5, 6, 7, 8]
|
220 |
+
>>> list(chunked(iterable, 3))
|
221 |
+
[[0, 1, 2], [3, 4, 5], [6, 7, 8]]
|
222 |
+
|
223 |
+
>>> from more_itertools import spy
|
224 |
+
>>> iterable = (x * x for x in range(1, 6))
|
225 |
+
>>> head, iterable = spy(iterable, n=3)
|
226 |
+
>>> list(head)
|
227 |
+
[1, 4, 9]
|
228 |
+
>>> list(iterable)
|
229 |
+
[1, 4, 9, 16, 25]
|
230 |
+
|
231 |
+
|
232 |
+
|
233 |
+
For the full listing of functions, see the `API documentation <https://more-itertools.readthedocs.io/en/stable/api.html>`_.
|
234 |
+
|
235 |
+
|
236 |
+
Links elsewhere
|
237 |
+
===============
|
238 |
+
|
239 |
+
Blog posts about ``more-itertools``:
|
240 |
+
|
241 |
+
* `Yo, I heard you like decorators <https://www.bbayles.com/index/decorator_factory>`__
|
242 |
+
* `Tour of Python Itertools <https://martinheinz.dev/blog/16>`__ (`Alternate <https://dev.to/martinheinz/tour-of-python-itertools-4122>`__)
|
243 |
+
* `Real-World Python More Itertools <https://www.gidware.com/real-world-more-itertools/>`_
|
244 |
+
|
245 |
+
|
246 |
+
Development
|
247 |
+
===========
|
248 |
+
|
249 |
+
``more-itertools`` is maintained by `@erikrose <https://github.com/erikrose>`_
|
250 |
+
and `@bbayles <https://github.com/bbayles>`_, with help from `many others <https://github.com/more-itertools/more-itertools/graphs/contributors>`_.
|
251 |
+
If you have a problem or suggestion, please file a bug or pull request in this
|
252 |
+
repository. Thanks for contributing!
|
253 |
+
|
254 |
+
|
255 |
+
Version History
|
256 |
+
===============
|
257 |
+
|
258 |
+
The version history can be found in `documentation <https://more-itertools.readthedocs.io/en/stable/versions.html>`_.
|
259 |
+
|
venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/RECORD
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
more_itertools-10.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
more_itertools-10.2.0.dist-info/LICENSE,sha256=CfHIyelBrz5YTVlkHqm4fYPAyw_QB-te85Gn4mQ8GkY,1053
|
3 |
+
more_itertools-10.2.0.dist-info/METADATA,sha256=lTIPxfD4IiP6aHzPjP4dXmzRRUmiXicAB6qnY82T-Gs,34886
|
4 |
+
more_itertools-10.2.0.dist-info/RECORD,,
|
5 |
+
more_itertools-10.2.0.dist-info/WHEEL,sha256=rSgq_JpHF9fHR1lx53qwg_1-2LypZE_qmcuXbVUq948,81
|
6 |
+
more_itertools/__init__.py,sha256=VodgFyRJvpnHbAMgseYRiP7r928FFOAakmQrl6J88os,149
|
7 |
+
more_itertools/__init__.pyi,sha256=5B3eTzON1BBuOLob1vCflyEb2lSd6usXQQ-Cv-hXkeA,43
|
8 |
+
more_itertools/__pycache__/__init__.cpython-310.pyc,,
|
9 |
+
more_itertools/__pycache__/more.cpython-310.pyc,,
|
10 |
+
more_itertools/__pycache__/recipes.cpython-310.pyc,,
|
11 |
+
more_itertools/more.py,sha256=jYdpbgXHf8yZDByPrhluxpe0D_IXRk2tfQnyfOFMi74,143045
|
12 |
+
more_itertools/more.pyi,sha256=KTHYeqr0rFbn1GWRnv0jY64JRNnKKT0kA3kmsah8DYQ,21044
|
13 |
+
more_itertools/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
14 |
+
more_itertools/recipes.py,sha256=Rb3OhzJTCn2biutDEUSImbuY-8NDS1lkHt0My-uCOf4,27548
|
15 |
+
more_itertools/recipes.pyi,sha256=T1IuEVXCqw2NeJJNW036MtWi8BVfR8Ilpf7cBmvhBaQ,4436
|
venv/lib/python3.10/site-packages/more_itertools-10.2.0.dist-info/WHEEL
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: flit 3.8.0
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
venv/lib/python3.10/site-packages/pydantic-2.7.1.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
venv/lib/python3.10/site-packages/pydantic-2.7.1.dist-info/RECORD
ADDED
@@ -0,0 +1,205 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
pydantic-2.7.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
pydantic-2.7.1.dist-info/METADATA,sha256=TdbA3g6cZ6igPWmjqjlrJItAzgEAZCQMLyMYyGQNl6Q,107323
|
3 |
+
pydantic-2.7.1.dist-info/RECORD,,
|
4 |
+
pydantic-2.7.1.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
|
5 |
+
pydantic-2.7.1.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
6 |
+
pydantic/__init__.py,sha256=Mrk6eFaVrhRyIY6HszHnWtkeyZ5lHeHSo73flEGSf20,13178
|
7 |
+
pydantic/__pycache__/__init__.cpython-310.pyc,,
|
8 |
+
pydantic/__pycache__/_migration.cpython-310.pyc,,
|
9 |
+
pydantic/__pycache__/alias_generators.cpython-310.pyc,,
|
10 |
+
pydantic/__pycache__/aliases.cpython-310.pyc,,
|
11 |
+
pydantic/__pycache__/annotated_handlers.cpython-310.pyc,,
|
12 |
+
pydantic/__pycache__/class_validators.cpython-310.pyc,,
|
13 |
+
pydantic/__pycache__/color.cpython-310.pyc,,
|
14 |
+
pydantic/__pycache__/config.cpython-310.pyc,,
|
15 |
+
pydantic/__pycache__/dataclasses.cpython-310.pyc,,
|
16 |
+
pydantic/__pycache__/datetime_parse.cpython-310.pyc,,
|
17 |
+
pydantic/__pycache__/decorator.cpython-310.pyc,,
|
18 |
+
pydantic/__pycache__/env_settings.cpython-310.pyc,,
|
19 |
+
pydantic/__pycache__/error_wrappers.cpython-310.pyc,,
|
20 |
+
pydantic/__pycache__/errors.cpython-310.pyc,,
|
21 |
+
pydantic/__pycache__/fields.cpython-310.pyc,,
|
22 |
+
pydantic/__pycache__/functional_serializers.cpython-310.pyc,,
|
23 |
+
pydantic/__pycache__/functional_validators.cpython-310.pyc,,
|
24 |
+
pydantic/__pycache__/generics.cpython-310.pyc,,
|
25 |
+
pydantic/__pycache__/json.cpython-310.pyc,,
|
26 |
+
pydantic/__pycache__/json_schema.cpython-310.pyc,,
|
27 |
+
pydantic/__pycache__/main.cpython-310.pyc,,
|
28 |
+
pydantic/__pycache__/mypy.cpython-310.pyc,,
|
29 |
+
pydantic/__pycache__/networks.cpython-310.pyc,,
|
30 |
+
pydantic/__pycache__/parse.cpython-310.pyc,,
|
31 |
+
pydantic/__pycache__/root_model.cpython-310.pyc,,
|
32 |
+
pydantic/__pycache__/schema.cpython-310.pyc,,
|
33 |
+
pydantic/__pycache__/tools.cpython-310.pyc,,
|
34 |
+
pydantic/__pycache__/type_adapter.cpython-310.pyc,,
|
35 |
+
pydantic/__pycache__/types.cpython-310.pyc,,
|
36 |
+
pydantic/__pycache__/typing.cpython-310.pyc,,
|
37 |
+
pydantic/__pycache__/utils.cpython-310.pyc,,
|
38 |
+
pydantic/__pycache__/validate_call_decorator.cpython-310.pyc,,
|
39 |
+
pydantic/__pycache__/validators.cpython-310.pyc,,
|
40 |
+
pydantic/__pycache__/version.cpython-310.pyc,,
|
41 |
+
pydantic/__pycache__/warnings.cpython-310.pyc,,
|
42 |
+
pydantic/_internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
43 |
+
pydantic/_internal/__pycache__/__init__.cpython-310.pyc,,
|
44 |
+
pydantic/_internal/__pycache__/_config.cpython-310.pyc,,
|
45 |
+
pydantic/_internal/__pycache__/_core_metadata.cpython-310.pyc,,
|
46 |
+
pydantic/_internal/__pycache__/_core_utils.cpython-310.pyc,,
|
47 |
+
pydantic/_internal/__pycache__/_dataclasses.cpython-310.pyc,,
|
48 |
+
pydantic/_internal/__pycache__/_decorators.cpython-310.pyc,,
|
49 |
+
pydantic/_internal/__pycache__/_decorators_v1.cpython-310.pyc,,
|
50 |
+
pydantic/_internal/__pycache__/_discriminated_union.cpython-310.pyc,,
|
51 |
+
pydantic/_internal/__pycache__/_docs_extraction.cpython-310.pyc,,
|
52 |
+
pydantic/_internal/__pycache__/_fields.cpython-310.pyc,,
|
53 |
+
pydantic/_internal/__pycache__/_forward_ref.cpython-310.pyc,,
|
54 |
+
pydantic/_internal/__pycache__/_generate_schema.cpython-310.pyc,,
|
55 |
+
pydantic/_internal/__pycache__/_generics.cpython-310.pyc,,
|
56 |
+
pydantic/_internal/__pycache__/_git.cpython-310.pyc,,
|
57 |
+
pydantic/_internal/__pycache__/_internal_dataclass.cpython-310.pyc,,
|
58 |
+
pydantic/_internal/__pycache__/_known_annotated_metadata.cpython-310.pyc,,
|
59 |
+
pydantic/_internal/__pycache__/_mock_val_ser.cpython-310.pyc,,
|
60 |
+
pydantic/_internal/__pycache__/_model_construction.cpython-310.pyc,,
|
61 |
+
pydantic/_internal/__pycache__/_repr.cpython-310.pyc,,
|
62 |
+
pydantic/_internal/__pycache__/_schema_generation_shared.cpython-310.pyc,,
|
63 |
+
pydantic/_internal/__pycache__/_signature.cpython-310.pyc,,
|
64 |
+
pydantic/_internal/__pycache__/_std_types_schema.cpython-310.pyc,,
|
65 |
+
pydantic/_internal/__pycache__/_typing_extra.cpython-310.pyc,,
|
66 |
+
pydantic/_internal/__pycache__/_utils.cpython-310.pyc,,
|
67 |
+
pydantic/_internal/__pycache__/_validate_call.cpython-310.pyc,,
|
68 |
+
pydantic/_internal/__pycache__/_validators.cpython-310.pyc,,
|
69 |
+
pydantic/_internal/_config.py,sha256=Qx4Oz0mTEYFXGk5dWApTu_5BdJ14DiZIEKKTTzfa9Ik,12208
|
70 |
+
pydantic/_internal/_core_metadata.py,sha256=Da-e0-DXK__dJvog0e8CZLQ4r_k9RpldG6KQTGrYlHg,3521
|
71 |
+
pydantic/_internal/_core_utils.py,sha256=6aD8J26n4_tP2R-Sermk66DGwHpFpksOrwHdI0O22jg,24268
|
72 |
+
pydantic/_internal/_dataclasses.py,sha256=i5kyUZhCH7gxxIAX7l0F8LR7pLgeCGsBH-3KLnRcoYw,8679
|
73 |
+
pydantic/_internal/_decorators.py,sha256=h8mGrgWqnjdOEawkvBd1sDf_umOELsQuIzwGn1dmwbs,30623
|
74 |
+
pydantic/_internal/_decorators_v1.py,sha256=_m9TskhZh9yPUn7Jmy3KbKa3UDREQWyMm5NXyOJM3R8,6266
|
75 |
+
pydantic/_internal/_discriminated_union.py,sha256=XDzlfKc7LAkJJErQWAZ4EuP_G_CQXJSVFKtwuHRJEmg,26435
|
76 |
+
pydantic/_internal/_docs_extraction.py,sha256=_E7w2_wnTXmglMBJIXy9X3BLPa90pCTWR7tcSB3vnbw,3790
|
77 |
+
pydantic/_internal/_fields.py,sha256=Ucbc8WzZ2n9WhGLmNO3xmA1oKR3UtVCWexhf65yKZts,14184
|
78 |
+
pydantic/_internal/_forward_ref.py,sha256=5n3Y7-3AKLn8_FS3Yc7KutLiPUhyXmAtkEZOaFnonwM,611
|
79 |
+
pydantic/_internal/_generate_schema.py,sha256=AX9-pHItmgVMxLhCRk7qx-YAkSFp1ywPZMsShDbkG4M,101871
|
80 |
+
pydantic/_internal/_generics.py,sha256=NvLBQkoZpYHud3ofzoKKf5EmPiI4nVQQRHUeDZb0-TQ,22218
|
81 |
+
pydantic/_internal/_git.py,sha256=7SAsfMSM4PXvxEWmxzRt1iGwWMhAlKbKpqFbGxHzBro,783
|
82 |
+
pydantic/_internal/_internal_dataclass.py,sha256=NswLpapJY_61NFHBAXYpgFdxMmIX_yE9ttx_pQt_Vp8,207
|
83 |
+
pydantic/_internal/_known_annotated_metadata.py,sha256=z5JmcRyfMpmAM7VSSAZ4kaNU12ej9yNZLW0HqyHqkuw,17271
|
84 |
+
pydantic/_internal/_mock_val_ser.py,sha256=5DqrtofFw4wUmZWNky6zaFwyCAbjTTD9XQc8FK2JzKc,5180
|
85 |
+
pydantic/_internal/_model_construction.py,sha256=v6WPfyrbpNE7-Gx4B4Z1owS_Mmi44Ql-04SwqJUflfc,31789
|
86 |
+
pydantic/_internal/_repr.py,sha256=7F_-smiOWEUPREAnVtmq0kNDIoVYXDgBrPpazmnzfG0,4568
|
87 |
+
pydantic/_internal/_schema_generation_shared.py,sha256=vOhnCnpyWYv-_h8861ZUn8_5RtJWHMBfSYBMwfje6Hc,4852
|
88 |
+
pydantic/_internal/_signature.py,sha256=gJvpQ9vklQuYfYKI4d0zvHOGhCR44Oa_xltdMUMg59g,6293
|
89 |
+
pydantic/_internal/_std_types_schema.py,sha256=xPvG4vSxNY4I9nytK6On3nybRHd7MRxWjT_Unw1txbY,28696
|
90 |
+
pydantic/_internal/_typing_extra.py,sha256=mBYOMtlPrWtcZYgJRKdSnGsT78NPgExns0pkoUzT4vQ,18863
|
91 |
+
pydantic/_internal/_utils.py,sha256=oFdfNA3Q4vZqjFPlarcCE4eEPLv_tySvdhQvg3fhltk,12668
|
92 |
+
pydantic/_internal/_validate_call.py,sha256=pePVGIJ_G2ysBFwOHxe3C1CbIIR5CmbanmNk5EhZkfE,3226
|
93 |
+
pydantic/_internal/_validators.py,sha256=1WqylJK7FWaTZwoDgX82r4j-nCOcURLUcfaFr1PbPlU,10508
|
94 |
+
pydantic/_migration.py,sha256=j6TbRpJofjAX8lr-k2nVnQcBR9RD2B91I7Ulcw_ZzEo,11913
|
95 |
+
pydantic/alias_generators.py,sha256=Q-L6PE-67qI35Zq-Fx3sgGFIn4luDv_arYI7by35XZA,1600
|
96 |
+
pydantic/aliases.py,sha256=WjU9EQjJWOkNQObX4mwGRHfy4GIAE6oJEbGBppIDhsU,4818
|
97 |
+
pydantic/annotated_handlers.py,sha256=1LAjZImtk1cjyQyc1CJPuJTt0_uvqkfTgDTu1qqc518,4352
|
98 |
+
pydantic/class_validators.py,sha256=iQz1Tw8FBliqEapmzB7iLkbwkJAeAx5314Vksb_Kj0g,147
|
99 |
+
pydantic/color.py,sha256=Pq4DAe1HgmbhKlrZ5kbal23npquKd9c0RPwPPCS_OYM,21493
|
100 |
+
pydantic/config.py,sha256=-jA6d8nWdHD2PewBdDfiHVnUbBjsWfgOfEfNradVFb0,32206
|
101 |
+
pydantic/dataclasses.py,sha256=6GFbUp4sxSHoEkHjXcKoP9uzzbsmXveK64Nr7KbaQIE,13450
|
102 |
+
pydantic/datetime_parse.py,sha256=5lJpo3-iBTAA9YmMuDLglP-5f2k8etayAXjEi6rfEN0,149
|
103 |
+
pydantic/decorator.py,sha256=Qqx1UU19tpRVp05a2NIK5OdpLXN_a84HZPMjt_5BxdE,144
|
104 |
+
pydantic/deprecated/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
105 |
+
pydantic/deprecated/__pycache__/__init__.cpython-310.pyc,,
|
106 |
+
pydantic/deprecated/__pycache__/class_validators.cpython-310.pyc,,
|
107 |
+
pydantic/deprecated/__pycache__/config.cpython-310.pyc,,
|
108 |
+
pydantic/deprecated/__pycache__/copy_internals.cpython-310.pyc,,
|
109 |
+
pydantic/deprecated/__pycache__/decorator.cpython-310.pyc,,
|
110 |
+
pydantic/deprecated/__pycache__/json.cpython-310.pyc,,
|
111 |
+
pydantic/deprecated/__pycache__/parse.cpython-310.pyc,,
|
112 |
+
pydantic/deprecated/__pycache__/tools.cpython-310.pyc,,
|
113 |
+
pydantic/deprecated/class_validators.py,sha256=6Psv1LmdOQUdRHXj49rvf_Mfa4zZsoE4OAmtHp5o5bE,10338
|
114 |
+
pydantic/deprecated/config.py,sha256=eKhnG--ZQtJ4A7KA3xeF76E15-4pVau3B5T8D39ptFs,2663
|
115 |
+
pydantic/deprecated/copy_internals.py,sha256=SoUj1MevXt3fnloqNg5wivSUHSDPnuSj_YydzkEMzu0,7595
|
116 |
+
pydantic/deprecated/decorator.py,sha256=2LFdSWzXSVfpDzsM7V4LN3jwTkr8uM8DZF-SitgUV58,10778
|
117 |
+
pydantic/deprecated/json.py,sha256=JDkKtGzCnRj9MQ_EkCGTU1u5gQQr2PPTEt_E3v9LhZQ,4580
|
118 |
+
pydantic/deprecated/parse.py,sha256=Gzd6b_g8zJXcuE7QRq5adhx_EMJahXfcpXCF0RgrqqI,2511
|
119 |
+
pydantic/deprecated/tools.py,sha256=XUoIW9W4sgOUWQ6Xzf-Z_NukUC1l_yUwz2_n0fE3MEI,3336
|
120 |
+
pydantic/env_settings.py,sha256=quxt8c9TioRg-u74gTW-GrK6r5mFXmn-J5H8FAC9Prc,147
|
121 |
+
pydantic/error_wrappers.py,sha256=u9Dz8RgawIw8-rx7G7WGZoRtGptHXyXhHxiN9PbQ58g,149
|
122 |
+
pydantic/errors.py,sha256=cQO-I-JKRSsvNxDiXsdBWDkt8ENqp_H4pJVhK-lKC_U,4780
|
123 |
+
pydantic/fields.py,sha256=GwVaS_dcu6Z-bvrh8veCzdqBkXg5WR8hFfXz1E0t11U,49922
|
124 |
+
pydantic/functional_serializers.py,sha256=K34I1vlHQchjUWCyE2Dm8QfDv0glgboD8OLpHcGmyMg,14635
|
125 |
+
pydantic/functional_validators.py,sha256=e8ms_ug89MurgyBnP_sd4xuAuUt3HmX34cn7gk9PESk,24322
|
126 |
+
pydantic/generics.py,sha256=T1UIBvpgur_28EIcR9Dc_Wo2r9yntzqdcR-NbnOLXB8,143
|
127 |
+
pydantic/json.py,sha256=qk9fHVGWKNrvE-v2WxWLEm66t81JKttbySd9zjy0dnc,139
|
128 |
+
pydantic/json_schema.py,sha256=Plr85cBW7LF4da5SQiqvvUraGQbIOCPb9d0c_9Ix0tQ,105243
|
129 |
+
pydantic/main.py,sha256=cSbM9n5yNd0e2XKJexNV4J2mbdsTDOdHRhBaTd6uTJg,69938
|
130 |
+
pydantic/mypy.py,sha256=Qz7jHt81JqPHO6B4xxgdhIa_EXbDQ9YyJzYBI_EF9zw,55574
|
131 |
+
pydantic/networks.py,sha256=MGRk73D3zKpR_e8rIxIYPq3NjuMdIXLSH5jBljpkkjM,22461
|
132 |
+
pydantic/parse.py,sha256=BNo_W_gp1xR7kohYdHjF2m_5UNYFQxUt487-NR0RiK8,140
|
133 |
+
pydantic/plugin/__init__.py,sha256=-7bMvAKCbNYQI6-inaTvSHmKmnNFCTgxlvqWXzeZ0oM,6115
|
134 |
+
pydantic/plugin/__pycache__/__init__.cpython-310.pyc,,
|
135 |
+
pydantic/plugin/__pycache__/_loader.cpython-310.pyc,,
|
136 |
+
pydantic/plugin/__pycache__/_schema_validator.cpython-310.pyc,,
|
137 |
+
pydantic/plugin/_loader.py,sha256=rmLbIwThDmVR1JwFVi_XvrLH7b1A5teMED-O3pr6Gk4,2140
|
138 |
+
pydantic/plugin/_schema_validator.py,sha256=3eVp5-4IsIHEQrsCsh34oPf2bNyMJTVh3nGAH7IRC1M,5228
|
139 |
+
pydantic/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
140 |
+
pydantic/root_model.py,sha256=htGyAIBVbx_VS9AbHeEe_Vu0wNQEd03n9yooCYdiu8g,6188
|
141 |
+
pydantic/schema.py,sha256=EkbomWuaAdv7C3V8h6xxoT4uJKy3Mwvkg064tOUbvxg,141
|
142 |
+
pydantic/tools.py,sha256=YB4vzOx4g7reKUM_s5oTXIGxC5LGBnGsXdVICSRuh7g,140
|
143 |
+
pydantic/type_adapter.py,sha256=9JqyeNs3FaW4Nr_Ec6HizmFMcEAbDrsTKQ8q7OWekd0,18834
|
144 |
+
pydantic/types.py,sha256=3S0z-SPHYatgMQKdBh51XvEnH07avyv0msR3TrgGzTg,94034
|
145 |
+
pydantic/typing.py,sha256=sPkx0hi_RX7qSV3BB0zzHd8ZuAKbRRI37XJI4av_HzQ,137
|
146 |
+
pydantic/utils.py,sha256=twRV5SqiguiCrOA9GvrKvOG-TThfWYb7mEXDVXFZp2s,140
|
147 |
+
pydantic/v1/__init__.py,sha256=iTu8CwWWvn6zM_zYJtqhie24PImW25zokitz_06kDYw,2771
|
148 |
+
pydantic/v1/__pycache__/__init__.cpython-310.pyc,,
|
149 |
+
pydantic/v1/__pycache__/_hypothesis_plugin.cpython-310.pyc,,
|
150 |
+
pydantic/v1/__pycache__/annotated_types.cpython-310.pyc,,
|
151 |
+
pydantic/v1/__pycache__/class_validators.cpython-310.pyc,,
|
152 |
+
pydantic/v1/__pycache__/color.cpython-310.pyc,,
|
153 |
+
pydantic/v1/__pycache__/config.cpython-310.pyc,,
|
154 |
+
pydantic/v1/__pycache__/dataclasses.cpython-310.pyc,,
|
155 |
+
pydantic/v1/__pycache__/datetime_parse.cpython-310.pyc,,
|
156 |
+
pydantic/v1/__pycache__/decorator.cpython-310.pyc,,
|
157 |
+
pydantic/v1/__pycache__/env_settings.cpython-310.pyc,,
|
158 |
+
pydantic/v1/__pycache__/error_wrappers.cpython-310.pyc,,
|
159 |
+
pydantic/v1/__pycache__/errors.cpython-310.pyc,,
|
160 |
+
pydantic/v1/__pycache__/fields.cpython-310.pyc,,
|
161 |
+
pydantic/v1/__pycache__/generics.cpython-310.pyc,,
|
162 |
+
pydantic/v1/__pycache__/json.cpython-310.pyc,,
|
163 |
+
pydantic/v1/__pycache__/main.cpython-310.pyc,,
|
164 |
+
pydantic/v1/__pycache__/mypy.cpython-310.pyc,,
|
165 |
+
pydantic/v1/__pycache__/networks.cpython-310.pyc,,
|
166 |
+
pydantic/v1/__pycache__/parse.cpython-310.pyc,,
|
167 |
+
pydantic/v1/__pycache__/schema.cpython-310.pyc,,
|
168 |
+
pydantic/v1/__pycache__/tools.cpython-310.pyc,,
|
169 |
+
pydantic/v1/__pycache__/types.cpython-310.pyc,,
|
170 |
+
pydantic/v1/__pycache__/typing.cpython-310.pyc,,
|
171 |
+
pydantic/v1/__pycache__/utils.cpython-310.pyc,,
|
172 |
+
pydantic/v1/__pycache__/v1.cpython-310.pyc,,
|
173 |
+
pydantic/v1/__pycache__/validators.cpython-310.pyc,,
|
174 |
+
pydantic/v1/__pycache__/version.cpython-310.pyc,,
|
175 |
+
pydantic/v1/_hypothesis_plugin.py,sha256=gILcyAEfZ3u9YfKxtDxkReLpakjMou1VWC3FEcXmJgQ,14844
|
176 |
+
pydantic/v1/annotated_types.py,sha256=dJTDUyPj4QJj4rDcNkt9xDUMGEkAnuWzDeGE2q7Wxrc,3124
|
177 |
+
pydantic/v1/class_validators.py,sha256=0BZx0Ft19cREVHEOaA6wf_E3A0bTL4wQIGzeOinVatg,14595
|
178 |
+
pydantic/v1/color.py,sha256=cGzck7kSD5beBkOMhda4bfTICput6dMx8GGpEU5SK5Y,16811
|
179 |
+
pydantic/v1/config.py,sha256=h5ceeZ9HzDjUv0IZNYQoza0aNGFVo22iszY-6s0a3eM,6477
|
180 |
+
pydantic/v1/dataclasses.py,sha256=dO6Slbjc6_PZKi2ZFhDkcmCL1VSPoX44sV-2FBIajRQ,18073
|
181 |
+
pydantic/v1/datetime_parse.py,sha256=DhGfkbG4Vs5Oyxq3u8jM-7gFrbuUKsn-4aG2DJDJbHw,7714
|
182 |
+
pydantic/v1/decorator.py,sha256=wzuIuKKHVjaiE97YBctCU0Vho0VRlUO-aVu1IUEczFE,10263
|
183 |
+
pydantic/v1/env_settings.py,sha256=4PWxPYeK5jt59JJ4QGb90qU8pfC7qgGX44UESTmXdpE,14039
|
184 |
+
pydantic/v1/error_wrappers.py,sha256=xm128iOK5r0-P-oP0XWq2EqMEfEyjhQlj2aBpECytNc,5141
|
185 |
+
pydantic/v1/errors.py,sha256=f93z30S4s5bJEl8JXh-zFCAtLDCko9ze2hKTkOimaa8,17693
|
186 |
+
pydantic/v1/fields.py,sha256=vNZItUcuW6kBhQNQW7wA4LgiZiza4dT2Q6Dx4QvoSgE,50485
|
187 |
+
pydantic/v1/generics.py,sha256=n5TTgh3EHkG1Xw3eY9A143bUN11_4m57Db5u49hkGJ8,17805
|
188 |
+
pydantic/v1/json.py,sha256=B0gJ2WmPqw-6fsvPmgu-rwhhOy4E0JpbbYjC8HR01Ho,3346
|
189 |
+
pydantic/v1/main.py,sha256=5dcT68MxbI3WguS194pyQYUGXb3a3Ukxnq2jzoi_SXg,44376
|
190 |
+
pydantic/v1/mypy.py,sha256=E2GLG18nXJQth9UIZhrrDDyfEkgJdVUjJsdNhqa29Xo,38737
|
191 |
+
pydantic/v1/networks.py,sha256=TeV9FvCYg4ALk8j7dU1q6Ntze7yaUrCHQFEDJDnq1NI,22059
|
192 |
+
pydantic/v1/parse.py,sha256=rrVhaWLK8t03rT3oxvC6uRLuTF5iZ2NKGvGqs4iQEM0,1810
|
193 |
+
pydantic/v1/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
194 |
+
pydantic/v1/schema.py,sha256=hj0y0U-ooqNnB6kBWg_ybZXOBIjAhI4PgucQYU0MVIc,47614
|
195 |
+
pydantic/v1/tools.py,sha256=ELC66w6UaU_HzAGfJBSIP47Aq9ZGkGiWPMLkkTs6VrI,2826
|
196 |
+
pydantic/v1/types.py,sha256=cjZCEd0AjkJcwmDKOP6DlAjQn4aGyBVZHBVWBKt0jI0,35379
|
197 |
+
pydantic/v1/typing.py,sha256=5_C_fiUvWiAzW3MBJaHeuy2s3Hi52rFMxTfNPHv9_os,18996
|
198 |
+
pydantic/v1/utils.py,sha256=5w7Q3N_Fqg5H9__JQDaumw9N3EFdlc7galEsCGxEDN0,25809
|
199 |
+
pydantic/v1/v1.py,sha256=nw16mjPbyYfGLLdYDQ8DPG-nZJBs7GZF2ez2L9KVeO4,2299
|
200 |
+
pydantic/v1/validators.py,sha256=T-t9y9L_68El9p4PYkEVGEjpetNV6luav8Iwu9iTLkM,21887
|
201 |
+
pydantic/v1/version.py,sha256=rN-YMSHoE40ee3x7xyKta3ZSMlIp8Shu3_KTXTTWM8U,1039
|
202 |
+
pydantic/validate_call_decorator.py,sha256=VV0MmEYBRfTVZJ4WATN9wl7LDuM3sS_zFB45h2M7vOw,2054
|
203 |
+
pydantic/validators.py,sha256=3oPhHojp9UD3PdEZpMYMkxeLGUAabRm__zera8_T92w,145
|
204 |
+
pydantic/version.py,sha256=SxlFfFpVhlr3hYZJRqFFEujX7jMmMMlIwxto06x3L-8,2441
|
205 |
+
pydantic/warnings.py,sha256=lGHr0AuWA7bHRw68uV79fmRS1UxxIu-b6hNI2iyK-xU,2322
|
venv/lib/python3.10/site-packages/pydantic-2.7.1.dist-info/WHEEL
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: hatchling 1.24.2
|
3 |
+
Root-Is-Purelib: true
|
4 |
+
Tag: py3-none-any
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Accra
ADDED
Binary file (148 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Addis_Ababa
ADDED
Binary file (265 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Algiers
ADDED
Binary file (735 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Asmara
ADDED
Binary file (265 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Bamako
ADDED
Binary file (148 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Brazzaville
ADDED
Binary file (235 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Cairo
ADDED
Binary file (2.4 kB). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Casablanca
ADDED
Binary file (2.43 kB). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Ceuta
ADDED
Binary file (2.05 kB). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Conakry
ADDED
Binary file (148 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Dakar
ADDED
Binary file (148 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Dar_es_Salaam
ADDED
Binary file (265 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Djibouti
ADDED
Binary file (265 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Douala
ADDED
Binary file (235 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/El_Aaiun
ADDED
Binary file (2.3 kB). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Gaborone
ADDED
Binary file (149 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Johannesburg
ADDED
Binary file (246 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Juba
ADDED
Binary file (679 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Kampala
ADDED
Binary file (265 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Khartoum
ADDED
Binary file (679 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Kigali
ADDED
Binary file (149 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Kinshasa
ADDED
Binary file (235 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Lagos
ADDED
Binary file (235 Bytes). View file
|
|
venv/lib/python3.10/site-packages/pytz/zoneinfo/Africa/Libreville
ADDED
Binary file (235 Bytes). View file
|
|