parquet-converter commited on
Commit
66993a8
·
1 Parent(s): 69b8b12

Update parquet files (step 5 of 249)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Cocsoft Stream Down 6.8 Keygen Download Any Streaming Video and Audio with Ease.md +0 -137
  2. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Crack Chicken No Crock Pot.md +0 -45
  3. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Dos2usb 1.59.84 Free Licence Key Gen The Best Software for DOS to USB Printing.md +0 -124
  4. spaces/1acneusushi/gradio-2dmoleculeeditor/data/Fairyland 2 Pupils Book A Free PDF Course for Young Learners of English.md +0 -124
  5. spaces/1gistliPinn/ChatGPT4/Examples/Beatmania Iidx 20 Tricoro Anthem Hdd EXCLUSIVE.md +0 -14
  6. spaces/1gistliPinn/ChatGPT4/Examples/Contoh Makalah Pengelolaan Lingkungan Belajar yang Efektif dan Menyenangkan.md +0 -25
  7. spaces/1gistliPinn/ChatGPT4/Examples/Contoh Proposal Pertandingan Bola 17.md +0 -6
  8. spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download Angry Birds 2 and Experience the New Era of Slingshot Gameplay on Android.md +0 -107
  9. spaces/1phancelerku/anime-remove-background/Car Parking Multiplayer Download Join Thousands of Players in an Open World Mode.md +0 -132
  10. spaces/1toTree/lora_test/ppdiffusers/pipelines/repaint/__init__.py +0 -16
  11. spaces/801artistry/RVC801/infer/lib/train/process_ckpt.py +0 -261
  12. spaces/ADOPLE/ResumeAnalyzer/README.md +0 -13
  13. spaces/AI-Hobbyist/Hoyo-RVC/docs/README.ja.md +0 -104
  14. spaces/AIConsultant/MusicGen/audiocraft/losses/__init__.py +0 -21
  15. spaces/AIFILMS/generate_human_motion/VQ-Trans/models/quantize_cnn.py +0 -415
  16. spaces/AIGC-Audio/AudioGPT/audio_detection/audio_infer/utils/plot_statistics.py +0 -0
  17. spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/tts/commons/align_ops.py +0 -25
  18. spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/vocoder/parallel_wavegan/layers/residual_stack.py +0 -75
  19. spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/vocoder/parallel_wavegan/layers/upsample.py +0 -183
  20. spaces/AIGText/GlyphControl/ldm/models/diffusion/sampling_util.py +0 -22
  21. spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_0_ClothesDetection/mmyolo/configs/yolov5/crowdhuman/yolov5_s-v61_8xb16-300e_ignore_crowdhuman.py +0 -63
  22. spaces/AchyuthGamer/OpenGPT/g4f/Provider/needs_auth/OpenaiChat.py +0 -125
  23. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/boids-plugin.js +0 -18
  24. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/stringtemplate.js +0 -2
  25. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/ClickMethods.js +0 -65
  26. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/gridsizer/Factory.d.ts +0 -24
  27. spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/GetChildrenSizers.js +0 -15
  28. spaces/Akmyradov/TurkmenTTSweSTT/uroman/bin/de-accent.pl +0 -201
  29. spaces/Aloento/9Nine-PITS/transforms.py +0 -198
  30. spaces/Alpaca233/SadTalker/src/face3d/models/bfm.py +0 -331
  31. spaces/Ameaou/academic-chatgpt3.1/crazy_functions/下载arxiv论文翻译摘要.py +0 -194
  32. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/tenacity/__init__.py +0 -608
  33. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/setuptools/_reqs.py +0 -19
  34. spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/setuptools/sandbox.py +0 -530
  35. spaces/Awesimo/jojogan/e4e/models/stylegan2/op/upfirdn2d.cpp +0 -23
  36. spaces/Awiny/Image2Paragraph/README.md +0 -13
  37. spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/pascal_voc.py +0 -82
  38. spaces/Benson/text-generation/Examples/Bet 365.gr.md +0 -80
  39. spaces/Benson/text-generation/Examples/Carreras De Trfico De Coches - Juegos 3d.md +0 -75
  40. spaces/Benson/text-generation/Examples/D3dx9_30.dll Descargar Resident Evil 4.md +0 -107
  41. spaces/Benson/text-generation/Examples/Descargar Descargar Gratis Para Android.md +0 -83
  42. spaces/BetterAPI/BetterChat/src/routes/r/[id]/+page.server.ts +0 -18
  43. spaces/Big-Web/MMSD/env/Lib/site-packages/boto3/resources/factory.py +0 -600
  44. spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/cachecontrol/compat.py +0 -32
  45. spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/pygments/unistring.py +0 -153
  46. spaces/Big-Web/MMSD/env/Lib/site-packages/urllib3/response.py +0 -885
  47. spaces/BilalSardar/Voice-Cloning/README.md +0 -13
  48. spaces/CVPR/Example-Echocardiogram-Segmentation/README.md +0 -45
  49. spaces/CVPR/WALT/mmdet/models/losses/gfocal_loss.py +0 -188
  50. spaces/CVPR/lama-example/fetch_data/eval_sampler.py +0 -21
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Cocsoft Stream Down 6.8 Keygen Download Any Streaming Video and Audio with Ease.md DELETED
@@ -1,137 +0,0 @@
1
-
2
- <h1>Cocsoft Stream Down 6.8 Keygen: How to Download and Activate the Software</h1>
3
- <p>If you are looking for a powerful and easy-to-use tool to download and save streaming video and audio from the Internet, you might want to check out Cocsoft Stream Down 6.8. This software supports not only HTTP and FTP download, but also streaming media download, such as RTSP, MMS, MMSU, and MMST. In this article, we will show you how to download, install, and activate Cocsoft Stream Down 6.8 using a keygen.</p>
4
- <h2>Cocsoft Stream Down 6.8 Keygen</h2><br /><p><b><b>Download File</b> &#10145; <a href="https://byltly.com/2uKylx">https://byltly.com/2uKylx</a></b></p><br /><br />
5
- <h2>What is Cocsoft Stream Down 6.8?</h2>
6
- <p>Cocsoft Stream Down 6.8 is a streaming video media download tool developed by Cocsoft Computing Inc. It allows you to download and save multimedia streaming and RTSP (Real Time Streaming Protocol) to local files, enabling you to download movies, music, and capture streaming video and audio from the Internet.</p>
7
- <h3>Features of Cocsoft Stream Down 6.8</h3>
8
- <ul>
9
- <li>Supports various streaming protocols, such as RTSP, MMS, MMSU, MMST, HTTP, and FTP.</li>
10
- <li>Supports various file formats, such as ASF, WMV, WMA, RM, RMVB, MP3, etc.</li>
11
- <li>Supports batch download and resume broken downloads.</li>
12
- <li>Supports proxy settings and authentication.</li>
13
- <li>Supports schedule download and automatic shutdown.</li>
14
- <li>Supports drag-and-drop operation and clipboard monitoring.</li>
15
- <li>Supports multi-language interface and skin change.</li>
16
- </ul>
17
- <h3>Benefits of Cocsoft Stream Down 6.8</h3>
18
- <ul>
19
- <li>You can download and save your favorite streaming video and audio from the Internet for offline viewing or backup.</li>
20
- <li>You can enjoy high-quality video and audio without buffering or interruptions.</li>
21
- <li>You can save bandwidth and time by downloading multiple files at once.</li>
22
- <li>You can customize your download settings according to your preferences.</li>
23
- <li>You can access any streaming media content without restrictions or limitations.</li>
24
- </ul>
25
- <h2>How to download Cocsoft Stream Down 6.8?</h2>
26
- <p>To download Cocsoft Stream Down 6.8, you need to follow these steps:</p>
27
- <h3>Step 1: Visit the official website</h3>
28
- <p>The official website of Cocsoft Stream Down 6.8 is <a href="https://cocsoft-stream-down.soft32.com/">https://cocsoft-stream-down.soft32.com/</a>. You can find more information about the software and its features on this website.</p>
29
- <h3>Step 2: Choose a download link</h3>
30
- <p>On the website, you will see a green button that says "Download Now". Click on it to start downloading the software. Alternatively, you can choose a different download link from the list below the button. For example, you can choose "Download CoCSoft Stream Down from external server (availability not guaranteed)" or "Alternative download".</p>
31
- <h3>Step 3: Save the file to your computer</h3>
32
- <p>Once you click on a download link, you will be prompted to save the file to your computer. The file name is "cocstreamdown.exe" and the file size is 2.25 MB. Choose a location where you want to save the file and click "Save". The download process will start and it will take a few minutes depending on your Internet speed.</p>
33
- <p>Cocsoft Stream Down 6.8 crack download<br />
34
- How to activate Cocsoft Stream Down 6.8<br />
35
- Cocsoft Stream Down 6.8 serial number generator<br />
36
- Cocsoft Stream Down 6.8 license key free<br />
37
- Cocsoft Stream Down 6.8 full version with keygen<br />
38
- Cocsoft Stream Down 6.8 patch file<br />
39
- Cocsoft Stream Down 6.8 registration code<br />
40
- Cocsoft Stream Down 6.8 activation key online<br />
41
- Cocsoft Stream Down 6.8 product key finder<br />
42
- Cocsoft Stream Down 6.8 keygen torrent<br />
43
- Cocsoft Stream Down 6.8 cracked software<br />
44
- How to install Cocsoft Stream Down 6.8 with keygen<br />
45
- Cocsoft Stream Down 6.8 serial key free download<br />
46
- Cocsoft Stream Down 6.8 license code generator<br />
47
- Cocsoft Stream Down 6.8 full crack with keygen<br />
48
- Cocsoft Stream Down 6.8 patch download<br />
49
- Cocsoft Stream Down 6.8 activation code free<br />
50
- Cocsoft Stream Down 6.8 keygen online<br />
51
- Cocsoft Stream Down 6.8 product key generator<br />
52
- Cocsoft Stream Down 6.8 keygen download<br />
53
- Cocsoft Stream Down 6.8 crack software download<br />
54
- How to use Cocsoft Stream Down 6.8 keygen<br />
55
- Cocsoft Stream Down 6.8 serial number free download<br />
56
- Cocsoft Stream Down 6.8 license key generator online<br />
57
- Cocsoft Stream Down 6.8 full version crack with keygen<br />
58
- Cocsoft Stream Down 6.8 patch file download<br />
59
- Cocsoft Stream Down 6.8 activation key free download<br />
60
- Cocsoft Stream Down 6.8 keygen free online<br />
61
- Cocsoft Stream Down 6.8 product key free download<br />
62
- Cocsoft Stream Down 6.8 keygen software download<br />
63
- Cocsoft Stream Down 6.8 crack file download<br />
64
- How to get Cocsoft Stream Down 6.8 keygen<br />
65
- Cocsoft Stream Down 6.8 serial code free download<br />
66
- Cocsoft Stream Down 6.8 license code free online<br />
67
- Cocsoft Stream Down 6.8 full crack download with keygen<br />
68
- Cocsoft Stream Down 6.8 patch software download<br />
69
- Cocsoft Stream Down 6.8 activation code generator online<br />
70
- Cocsoft Stream Down 6.8 keygen software online<br />
71
- Cocsoft Stream Down 6.8 product code free download<br />
72
- Cocsoft Stream Down 6.8 keygen file download<br />
73
- Cocsoft Stream Down 6.8 crack software online<br />
74
- How to register Cocsoft Stream Down 6.8 with keygen<br />
75
- Cocsoft Stream Down 6.8 serial key generator online<br />
76
- Cocsoft Stream Down 6.8 license key free online<br />
77
- Cocsoft Stream Down 6.8 full version download with keygen<br />
78
- Cocsoft Stream Down 6.8 patch file online<br />
79
- Cocsoft Stream Down 6.8 activation key generator free<br />
80
- Cocsoft Stream Down 6.8 keygen online free download<br />
81
- Cocsoft Stream Down 6.8 product key online free download</p>
82
- <h2>How to install Cocsoft Stream Down 6.8?</h2>
83
- <p>To install Cocsoft Stream Down 6.8, you need to follow these steps:</p>
84
- <h3>Step 1: Run the setup file</h3>
85
- <p>After downloading the file, locate it on your computer and double-click on it to run it. You will see a welcome screen that says "Welcome to CoCSoft StreamDown Setup Wizard". Click "Next" to continue.</p>
86
- <h3>Step 2: Follow the instructions</h3>
87
- <p>The setup wizard will guide you through the installation process. You will need to choose a destination folder where you want to install the software, a start menu folder where you want to create shortcuts, and additional tasks such as creating a desktop icon or launching the software after installation. You can also change the language of the interface from English to other languages such as Chinese or French. Click "Next" after each step until you reach the final screen that says "Completing CoCSoft StreamDown Setup Wizard".</p>
88
- <h3>Step 3: Agree to the terms and conditions</h3>
89
- <p>Before finishing the installation, you will need to agree to the terms and conditions of using the software. Read them carefully and check the box that says "I accept the agreement". Then click "Finish" to complete the installation.</p>
90
- <h2>How to activate Cocsoft Stream Down 6.8?</h2>
91
- <p>To activate Cocsoft Stream Down 6.8 using a keygen, you need to follow these steps:</p>
92
- <h3>Step 1: Open the software</h3>
93
- <p>After installing the software, you can open it by clicking on its icon on your desktop or start menu. You will see a main window that shows a list of tasks such as "Add URL", "Start", "Stop", "Delete", etc.</p>
94
- <h3>Step 2: Enter the keygen</h3>
95
- <p>To activate the full version of the software, you need to enter a keygen that will generate a serial number for you. You can find a keygen online by searching for "Cocsoft Stream Down 6.8 Keygen" on Google or other search engines. Download a keygen from a reliable source and run it on your computer. You will see a window that asks you to enter your name and email address. Enter any name and email address that you want and click "Generate". You will see a serial number that is generated for you.</p>
96
- <table border="1">
97
- <tr><td>Name:</td><td>Jane Doe</td></tr>
98
- <tr><td>Email:</td><td>[email protected]</td></tr>
99
- <tr><td>Serial Number:</td><td>CSD-1234-5678-9012-3456</td></tr>
100
- </table>
101
- <h3>Step 3: Enjoy the full version</h3>
102
- <p>Copy the serial number from the keygen window and paste it into the software window where it says "Enter Serial Number". Click "OK" to confirm. You will see a message that says "Thank you for registering CoCSoft StreamDown". Click "OK" again to close it. Now you have activated the full version of Cocsoft Stream Down 6.8 and you can enjoy all its features without any limitations.</p>
103
- <h2>Conclusion</h2>
104
- <p>Cocsoft Stream Down 6.8 is a great tool for downloading and saving streaming video and audio from the Internet. It supports various protocols, formats, settings, and languages. It is easy to download, install, and activate using a keygen that generates a serial number for you. However, you should be careful when using a keygen as it may contain viruses or malware that can harm your computer or compromise your privacy. Therefore, we recommend that you use an antivirus program before running any keygen or crack on your computer. We hope this article has helped you learn how to use Cocsoft Stream Down 6.8 keygen effectively.</p>
105
- **FAQs** <ol type="a">
106
- **FAQs** <ol type="a">
107
- <li><b>What are some alternatives to Cocsoft Stream Down 6.8?</b></li>
108
- <p>Some alternatives to Cocsoft Stream Down 6.8 are:</p>
109
- <ul>
110
- <li>4K Video Downloader: This software allows you to download video and audio from YouTube, Vimeo, TikTok, Facebook, and other websites in high quality. It also supports subtitles, playlists, channels, and 3D and 360-degree videos.</li>
111
- <li>Freemake Video Downloader: This software allows you to download video and audio from over 10,000 websites, including YouTube, Facebook, Instagram, Dailymotion, and more. It also supports various formats, resolutions, and devices.</li>
112
- <li>YTD Video Downloader: This software allows you to download video and audio from YouTube and other websites. It also supports converting videos to different formats, such as MP4, AVI, WMV, MOV, etc.</li>
113
- </ul>
114
- <li><b>How can I update Cocsoft Stream Down 6.8?</b></li>
115
- <p>To update Cocsoft Stream Down 6.8, you need to visit the official website and check for any new versions available. If there is a new version, you can download it and install it over the old version. You may need to enter the keygen again to activate the new version.</p>
116
- <li><b>How can I uninstall Cocsoft Stream Down 6.8?</b></li>
117
- <p>To uninstall Cocsoft Stream Down 6.8, you need to follow these steps:</p>
118
- <ol type="1">
119
- <li>Go to the Start menu and click on Control Panel.</li>
120
- <li>Click on Programs and Features or Add or Remove Programs.</li>
121
- <li>Find Cocsoft Stream Down 6.8 in the list of programs and click on it.</li>
122
- <li>Click on Uninstall or Change/Remove.</li>
123
- <li>Follow the instructions to complete the uninstallation process.</li>
124
- </ol>
125
- <li><b>How can I contact Cocsoft Computing Inc. for support or feedback?</b></li>
126
- <p>To contact Cocsoft Computing Inc., you can use the following methods:</p>
127
- <ul>
128
- <li>Email: [email protected]</li>
129
- <li>Website: <a href="http://www.cocsoft.com/">http://www.cocsoft.com/</a></li>
130
- <li>Address: No. 18 Xueyuan Road Haidian District Beijing China</li>
131
- </ul>
132
- <li><b>Is Cocsoft Stream Down 6.8 legal to use?</b></li>
133
- <p>Cocsoft Stream Down 6.8 is legal to use as long as you comply with the terms and conditions of using the software and the streaming media content that you download. You should not use the software for any illegal or unethical purposes, such as infringing on the copyrights or privacy of others. You should also respect the rights and wishes of the content owners and creators and only download content that is allowed or authorized by them.</p>
134
- </ol>
135
- </p> 0a6ba089eb<br />
136
- <br />
137
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Crack Chicken No Crock Pot.md DELETED
@@ -1,45 +0,0 @@
1
-
2
- <h1>How to Make Crack Chicken Without a Crock Pot</h1>
3
- <p>Crack chicken is a delicious and easy dish that consists of chicken, cream cheese, ranch dressing, bacon, and cheese. It is usually made in a crock pot or slow cooker, but what if you don't have one or you are short on time? Don't worry, you can still make crack chicken without a crock pot. In this article, we will show you how to make crack chicken in the oven or on the stove top in less than an hour.</p>
4
- <h2>crack chicken no crock pot</h2><br /><p><b><b>DOWNLOAD</b> >>> <a href="https://byltly.com/2uKvml">https://byltly.com/2uKvml</a></b></p><br /><br />
5
- <h2>Ingredients</h2>
6
- <p>To make crack chicken without a crock pot, you will need the following ingredients:</p>
7
- <ul>
8
- <li>4 boneless, skinless chicken breasts</li>
9
- <li>Salt and pepper to taste</li>
10
- <li>2 tablespoons of butter</li>
11
- <li>2 (8-ounce) packages of cream cheese, softened</li>
12
- <li>1 (1-ounce) packet of ranch dressing mix</li>
13
- <li>1/4 cup of water</li>
14
- <li>8 slices of bacon, cooked and crumbled</li>
15
- <li>2 cups of shredded cheddar cheese</li>
16
- <li>Chopped green onions or parsley for garnish (optional)</li>
17
- </ul>
18
- <h2>Directions</h2>
19
- <p>To make crack chicken without a crock pot, you can follow these directions:</p>
20
- <h3>Oven Method</h3>
21
- <ol>
22
- <li>Preheat your oven to 375°F and spray a 9x13-inch baking dish with cooking spray.</li>
23
- <li>Season the chicken breasts with salt and pepper and place them in the prepared baking dish.</li>
24
- <li>In a medium bowl, beat the cream cheese with an electric mixer until smooth. Add the ranch dressing mix and water and mix well.</li>
25
- <li>Spoon the cream cheese mixture over the chicken breasts and spread it evenly.</li>
26
- <li>Sprinkle the bacon and cheese on top of the cream cheese layer.</li>
27
- <li>Bake for 25 to 30 minutes or until the chicken is cooked through and the cheese is melted.</li>
28
- <li>Garnish with green onions or parsley if desired and serve hot.</li>
29
- </ol>
30
- <h3>Stove Top Method</h3>
31
- <ol>
32
- <li>Cut the chicken breasts into bite-sized pieces and season with salt and pepper.</li>
33
- <li>In a large skillet over medium-high heat, melt the butter and cook the chicken for about 15 minutes, stirring occasionally, until golden and cooked through.</li>
34
- <li>In a small saucepan over low heat, combine the cream cheese, ranch dressing mix, and water. Stir until smooth and creamy.</li>
35
- <li>Pour the cream cheese sauce over the chicken in the skillet and stir to coat.</li>
36
- <li>Sprinkle the bacon and cheese on top of the chicken mixture and cover with a lid. Cook for another 10 minutes or until the cheese is melted.</li>
37
- <li>Garnish with green onions or parsley if desired and serve hot.</li>
38
- </ol>
39
-
40
- <p>Crack chicken is a versatile dish that can be served in many ways. You can enjoy it as a main course with a side of salad, bread, or rice. You can also use it as a filling for sandwiches, wraps, or tacos. You can even make a dip out of it by shredding the chicken and mixing it with the cream cheese sauce. Serve it with crackers, chips, or veggies for a tasty appetizer.</p>
41
- <p>Crack chicken is also a great meal prep option. You can make a large batch of it and store it in an airtight container in the refrigerator for up to 4 days or in the freezer for up to 3 months. To reheat it, simply microwave it until warm or bake it in the oven at 350°F for 15 to 20 minutes.</p>
42
- <p></p>
43
- <p>If you want to make crack chicken even more flavorful, you can add some extra ingredients to the cream cheese sauce. Some popular options are garlic powder, onion powder, dried parsley, dried dill, or hot sauce. You can also use different types of cheese, such as mozzarella, Monterey Jack, or Colby Jack. Feel free to experiment and find your favorite combination.</p> ddb901b051<br />
44
- <br />
45
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Dos2usb 1.59.84 Free Licence Key Gen The Best Software for DOS to USB Printing.md DELETED
@@ -1,124 +0,0 @@
1
-
2
- <h1>Dos2usb 1.59.84 Free Licence Key Gen: What You Need to Know</h1>
3
- <p>If you have ever used MS-DOS applications that need to print on character mode printers, you may have encountered some problems when trying to use them with modern printers that only have USB ports or network connections. In this article, we will introduce you to a software utility called Dos2usb that can solve this issue by capturing MS-DOS print jobs and redirecting them to any Windows printer. We will also show you how to install, configure, and use Dos2usb with different operating systems, as well as what are the benefits and drawbacks of this software. Finally, we will tell you how to get a free licence key gen for Dos2usb 1.59.84, which is the latest version available.</p>
4
- <h2>How Dos2usb Works</h2>
5
- <p>Dos2usb is a software utility that extends the printing ability of DOS programs by capturing MS-DOS print jobs from LPT1-LPT9 and PRN ports simultaneously and redirecting them to correspondingly selected printers (GDI printers, PDF printers, network printers, IP printers, RDP printers, any kind of virtual printers etc.). The job redirection works even if a printer is physically connected to the captured port.</p>
6
- <h2>Dos2usb 1.59.84 Free Licence Key Gen</h2><br /><p><b><b>Download</b> &#9193; <a href="https://byltly.com/2uKwaH">https://byltly.com/2uKwaH</a></b></p><br /><br />
7
- <p>Dos2usb also provides full screen DOS prompt in all versions of Windows even in RDP also, so that MS-DOS applications get advantage of fullscreen in newer Windows OS. This way, you can run your old DOS programs without losing any functionality or compatibility.</p>
8
- <h2>How to Install and Configure Dos2usb</h2>
9
- <p>Installing and configuring Dos2usb is easy and straightforward. Here are the steps you need to follow:</p>
10
- <p>Dos2usb 1.59.84 free license key generator<br />
11
- How to get Dos2usb 1.59.84 free activation code<br />
12
- Dos2usb 1.59.84 free serial number crack<br />
13
- Download Dos2usb 1.59.84 full version for free<br />
14
- Dos2usb 1.59.84 free registration key online<br />
15
- Dos2usb 1.59.84 free product key finder<br />
16
- Dos2usb 1.59.84 free licence keygen download<br />
17
- Dos2usb 1.59.84 free activation key no survey<br />
18
- Dos2usb 1.59.84 free serial key patch<br />
19
- Dos2usb 1.59.84 free license code generator<br />
20
- Dos2usb 1.59.84 free keygen software<br />
21
- Dos2usb 1.59.84 free licence key hack<br />
22
- Dos2usb 1.59.84 free serial number generator<br />
23
- Dos2usb 1.59.84 free activation code crack<br />
24
- Dos2usb 1.59.84 free registration key generator<br />
25
- Dos2usb 1.59.84 free product key crack<br />
26
- Dos2usb 1.59.84 free licence keygen online<br />
27
- Dos2usb 1.59.84 free activation key download<br />
28
- Dos2usb 1.59.84 free serial key generator<br />
29
- Dos2usb 1.59.84 free license code online<br />
30
- Dos2usb 1.59.84 free keygen download<br />
31
- Dos2usb 1.59.84 free licence key no survey<br />
32
- Dos2usb 1.59.84 free serial number online<br />
33
- Dos2usb 1.59.84 free activation code online<br />
34
- Dos2usb 1.59.84 free registration key online<br />
35
- Dos2usb 1.59.84 free product key online<br />
36
- Dos2usb 1.59.84 free licence keygen no survey<br />
37
- Dos2usb 1.59.84 free activation key online<br />
38
- Dos2usb 1.59.84 free serial key online<br />
39
- Dos2usb 1.59.84 free license code no survey<br />
40
- Dos2usb 1.59.84 free keygen online<br />
41
- Dos2usb 1.59.84 free licence key generator online<br />
42
- Dos2usb 1.59.84 free serial number no survey<br />
43
- Dos2usb 1.59.84 free activation code generator online<br />
44
- Dos2usb 1.59.84 free registration key no survey<br />
45
- Dos2usb 1.59.84 free product key no survey<br />
46
- Dos2usb 1.59.84 free licence keygen generator online<br />
47
- Dos2usb 1.59.84 free activation key no survey online<br />
48
- Dos2usb 1.59</p>
49
- <h3>How to Select Your Printer and Set Paper Size</h3>
50
- <ol>
51
- <li>Download install.exe from <a href="https://dos2usb.com/">the official website</a> and save it to your hard disk.</li>
52
- <li>Click Start -> Run… install.exe, click yes on the license agreement and wait for the installation to complete.</li>
53
- <li>Start Dos2usb by double clicking on the icon labeled DOS2USB on the desktop or in the system tray (usually right bottom corner near the clock).</li>
54
- <li>Click on Printer button.</li>
55
- <li>Select your desired printer from the list.</li>
56
- <li>Set paper size to A4 or as desired by you.</li>
57
- </ol>
58
- <h3>How to Adjust Printer Properties and Resolution</h3>
59
- <ol>
60
- <li>Click on Property button.</li>
61
- <li>Select the lowest resolution (usually 300 dpi) from the drop-down menu.</li>
62
- <li>Click on OK.</li>
63
- </ol>
64
- <h3>How to Set Default Settings and Restart Dos2usb</h3>
65
- <ol>
66
- <li>Click on Set Default button.</li>
67
- <li>Click on OK again.</li>
68
- <li>Exit Dos2usb by clicking on Exit -> OK.</li>
69
- <li>Start Dos2usb again by double clicking on the icon.</li>
70
- </ol>
71
- <h2>How to Use Dos2usb with Different Operating Systems</h2>
72
- <p>Dos2usb supports any PC running Windows 2000, XP, Vista, 7, 8, 8.1 and Windows Server 2003 (Service Pack 2), 2008, 2012 with LAN and RDP (Terminal Service) for capturing print and redirection. However, if you are using Windows 95 or Windows 98 or Windows ME, you need to change some settings in your printer driver before using Dos2usb. Here is how:</p>
73
- <h3>How to Uncheck Spool MS DOS Print Job Option</h3>
74
- <ol>
75
- <li>Click on Start Menu -> Settings -> Printers.</li>
76
- <li>If you have installed a printer and its driver on the LPT port then please follow these instructions to disable Windows default port capturing:</li>
77
- <ul>
78
- <li>Right-click on the printer and select Properties.</li>
79
- <li>Click on Details tab. This will show the LPT port where the print driver is installed.</li>
80
- <li>Click on Port Settings (right bottom corner on that page/tab).</li>
81
- <li>Uncheck / Remove Tick from the “Spool MS DOS print job” option.</li>
82
- <li>Click on OK at that dialog box.</li>
83
- <li>Click on OK on the Printer property dialog box.</li>
84
- </ul>
85
- </ol>
86
- <h3>How to Restart Your Computer</h3>
87
- <ol>
88
- <li>Restart your computer by clicking Start -> Shut Down -> Restart.</li>
89
- </ol>
90
- <h2>What are the Benefits of Dos2usb</h2>
91
- <p>Dos2usb has several benefits that make it a useful software for anyone who needs to print from DOS applications. Here are some of them:</p>
92
- <h3>How it Supports Any Type of Printer</h3>
93
- <p>Dos2usb can print directly from DOS to USB printer, network printer or any kind of printer where Windows can print. This means that you don't need to buy a new printer or use an adapter just because your old DOS program doesn't recognize it. You can use any modern printer with advanced features without losing compatibility with your legacy software.</p>
94
- <h3>How it Provides Full Screen DOS Prompt in All Versions of Windows</h3>
95
- <p>Dos2usb provides fullscreen DOS prompt for your DOS application whenever Windows denied for the fullscreen. This way, you can enjoy running your old DOS programs in full screen mode without any interruption or distortion. You can also switch between fullscreen and windowed mode easily by pressing Alt+Enter keys.</p>
96
- <h3>How it Supports Multiple Languages with Built-in Code Page</h3>
97
- <p>Dos2usb supports printing in your own language by selecting the DOS code page of your choice. It has built-in code page supports for various languages such as Arabic, Baltic, Central European, Cyrillic, Greek, Hebrew, Turkish etc. You can also customize your own code page if you want. This feature allows you to print documents in different languages without any hassle or error.</p>
98
- <h3>How it Offers Remote Assistance and Money-back Guarantee</h3>
99
- <p>Dos2usb offers remote assistance and money-back guarantee for its customers. If you have any problem or question regarding the software, you can contact the support team via email or phone during their working hours (10:00 AM to 7:00 PM IST on Monday to Saturday, except some local holidays). They will provide you with remote assistance using TeamViewer or AnyDesk software. You can also check the FAQ section on the website for common issues and solutions. Moreover, Dos2usb has a 15-day money-back guarantee policy, which means that if you are not satisfied with the software for any reason, you can request a refund within 15 days of purchase.</p>
100
- <h2>What are the Drawbacks of Dos2usb</h2>
101
- <p>Despite its benefits, Dos2usb also has some drawbacks that you should be aware of before using it. Here are some of them:</p>
102
- <h3>How it Requires a License Key for Full Functionality</h3>
103
- <p>Dos2usb is not a free software. It requires a license key for full functionality and unlimited usage. Without a license key, you can only use it for 15 days as a trial version, and you will see a watermark on your printouts. You also cannot use it on more than one computer at a time. Therefore, if you want to use Dos2usb regularly and without any limitation, you need to buy a license key online or offline.</p>
104
- <h3>How it May Not Work with Some Printers or Applications</h3>
105
- <p>Dos2usb may not work with some printers or applications that have special requirements or features. For example, some printers may not support the lowest resolution setting or some applications may not print correctly with Dos2usb. In such cases, you may need to adjust your printer settings or use another software to print from DOS. You can also contact the support team for help or advice.</p>
106
- <h1>Conclusion</h1>
107
- <p>Dos2usb is a software utility that can help you print from DOS applications to any Windows printer. It works by capturing MS-DOS print jobs and redirecting them to your desired printer. It also provides fullscreen DOS prompt in all versions of Windows and supports multiple languages with built-in code page. However, it also has some drawbacks such as requiring a license key for full functionality and not working with some printers or applications. If you want to try Dos2usb for yourself, you can download it from the official website and get a free licence key gen for Dos2usb 1.59.84.</p>
108
- <p>We hope this article has given you some useful information about Dos2usb and how to use it. If you have any questions or feedback, please feel free to leave a comment below. Thank you for reading!</p>
109
- <h4>FAQs</h4>
110
- <ul>
111
- <li>Q: How much does Dos2usb cost?</li>
112
- <li>A: Dos2usb costs $23.99 for a single user license and $119.99 for a site license (up to 10 users). You can order online using PayPal or credit card, or offline using bank transfer or cheque.</li>
113
- <li>Q: How can I get a free licence key gen for Dos2usb 1.59.84?</li>
114
- <li>A: You can get a free licence key gen for Dos2usb 1.59.84 by visiting <a href="https://trello.com/c/INJ3LOS1/12-dos2usb-15984-free-licence-key-gen">this link</a> and following the instructions.</li>
115
- <li>Q: How can I activate my license key?</li>
116
- <li>A: You can activate your license key by clicking on Activate button in Dos2usb and entering your name and license key in the dialog box.</li>
117
- <li>Q: How can I contact the support team?</li>
118
- <li>A: You can contact the support team by sending an email to [email protected] or calling +91-79-4008-4545.</li>
119
- <li>Q: How can I uninstall Dos2usb?</li>
120
- <li>A: You can uninstall Dos2usb by clicking on Start -> Control Panel -> Add/Remove Programs -> DOS2USB -> Remove.</li>
121
- </ul>
122
- </p> 0a6ba089eb<br />
123
- <br />
124
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1acneusushi/gradio-2dmoleculeeditor/data/Fairyland 2 Pupils Book A Free PDF Course for Young Learners of English.md DELETED
@@ -1,124 +0,0 @@
1
-
2
- <h1>Fairyland 2 Pupils Book: A Fun and Engaging Course for Young Learners of English</h1>
3
- <p>If you are looking for a course that will help your young learners develop their English skills in a fun and engaging way, you might want to check out Fairyland 2 Pupils Book. This book is part of the Fairyland series, which is designed for children aged 6-8 who are learning English as a foreign language. In this article, we will tell you what Fairyland 2 is, what are its main features and benefits, and how you can download it for free.</p>
4
- <h2>fairyland2pupilsbookfreedownload</h2><br /><p><b><b>Download File</b> &#10022;&#10022;&#10022; <a href="https://byltly.com/2uKwzm">https://byltly.com/2uKwzm</a></b></p><br /><br />
5
- <h2>What is Fairyland 2?</h2>
6
- <p>Fairyland 2 is a course that follows the adventures of Woody and Frosty, two friendly characters who live in the Magic Forest. Along with their friends from the forest, they explore different topics and themes that are relevant and interesting for young learners, such as family, birthday, body, weather, clothes, etc. The course consists of six modules, each with two units and a revision section. Each unit has four lessons that cover the four skills of listening, speaking, reading and writing. The course also includes songs, chants, stories, games and projects that make learning English fun and memorable.</p>
7
- <h3>The main features of Fairyland 2</h3>
8
- <p>Some of the main features of Fairyland 2 are:</p>
9
- <ul>
10
- <li>A colourful and attractive design that appeals to young learners.</li>
11
- <li>A clear and simple structure that facilitates learning and teaching.</li>
12
- <li>A variety of activities that cater to different learning styles and preferences.</li>
13
- <li>A communicative approach that encourages interaction and participation.</li>
14
- <li>A focus on vocabulary and grammar that is presented in context and recycled throughout the course.</li>
15
- <li>A cross-curricular and cultural element that exposes learners to different subjects and cultures.</li>
16
- </ul>
17
- <h3>The benefits of Fairyland 2 for teachers and students</h3>
18
- <p>Some of the benefits of using Fairyland 2 are:</p>
19
- <ul>
20
- <li>It helps students develop their English skills in a balanced and integrated way.</li>
21
- <li>It motivates students to learn English through enjoyable and meaningful tasks.</li>
22
- <li>It builds students' confidence and self-esteem by providing them with positive feedback and reinforcement.</li>
23
- <li>It supports teachers with a comprehensive Teacher's Book that contains detailed lesson plans, answer keys, extra activities, tests and tips.</li>
24
- <li>It provides teachers with additional resources such as Picture Flashcards, Posters, Audio CDs, Pupil's CD and Teacher's Resource Pack.</li>
25
- </ul>
26
- <h2>How to download Fairyland 2 Pupils Book for free</h2>
27
- <p>If you are interested in using Fairyland 2 Pupils Book with your students or children, you might be wondering how you can get it for free. After all, buying books can be expensive and not always accessible. However, before you start searching for free downloads online, you should be aware of some legal and ethical issues that might arise.</p>
28
- <h3>The legal and ethical issues of downloading books for free</h3>
29
- <p>Downloading books for free from unauthorized websites can be considered as piracy or theft. This means that you are violating the intellectual property rights of the authors and publishers who created the books. This can have negative consequences for both them and you. For them, it means that they lose revenue and recognition for their work. For you, it means that you risk facing legal action or penalties if you are caught. Moreover, downloading books for free from untrusted sources can expose your device to viruses or malware that can harm your data or privacy.</p>
30
- <p>Therefore, we do not recommend or endorse downloading books for free from illegal or dubious websites. Instead, we suggest that you look for legitimate ways to access books for free or at a low cost. Here are some examples:</p>
31
- <ul>
32
- <li>Borrowing books from your school or local library.</li>
33
- <li>Sharing books with your classmates or friends.</li>
34
- <li>Buying second-hand or used books from online or offline stores.</li>
35
- <li>Subscribing to online platforms or services that offer free or discounted books.</li>
36
- </ul>
37
- <h3>The best websites to download Fairyland 2 Pupils Book for free</h3>
38
- <p>If you still want to download Fairyland 2 Pupils Book for free online, you should be careful about which websites you use. Some websites might claim to offer free downloads but actually require you to register, pay a fee or complete a survey before you can access the files. Others might provide low-quality or incomplete files that do not match the original book. To avoid these problems, we have compiled a list of some of the best websites that offer free downloads of Fairyland 2 Pupils Book in PDF format. These websites are:</p>
39
- <table border="1">
40
- <tr><th>Website</th><th>Description</th></tr>
41
- <tr><td>Scribd</td><td>Scribd is a digital library that hosts millions of books, documents and audiobooks. You can download Fairyland 2 Pupils Book from Scribd by clicking on this link: <a href="https://www.scribd.com/document/364027876/fairyland-2-pupil-s-book-pdf">https://www.scribd.com/document/364027876/fairyland-2-pupil-s-book-pdf</a>. However, you will need to create an account or sign in with Facebook or Google to access the file. You can also get a free trial of Scribd's premium membership that gives you unlimited access to all their content.</td></tr>
42
- <tr><td>IDoc</td><td>IDoc is an online document sharing platform that allows users to upload and download various types of files. You can download Fairyland 2 Pupils Book from IDoc by clicking on this link: <a href="https://idoc.pub/documents/fairyland-2-pupils-book-6ngex6y3o2lv">https://idoc.pub/documents/fairyland-2-pupils-book-6ngex6y3o2lv</a>. You do not need to register or pay anything to use this website.</td></tr>
43
- <tr><td>Pdfdrive</td><td>Pdfdrive is a search engine that helps you find PDF files on the internet. You can download Fairyland 2 Pupils Book from Pdfdrive by clicking on this link: <a href="https://www.pdfdrive.com/fairyland-4-pupils-book-e159417475.html">https://www.pdfdrive.com/fairyland-4-pupils-book-e159417475.html</a>. You do not need to register or pay anything to use this website either.</td></tr>
44
- </table>
45
- <h3>How to use Fairyland 2 Pupils Book effectively after downloading</h3>
46
- <p>After downloading Fairyland 2 Pupils Book for free online, you might wonder how to use it effectively with your students or children. Here are some tips:</p>
47
- <p>fairyland 2 pupils book pdf free download<br />
48
- fairyland 2 pupils book online free<br />
49
- fairyland 2 pupils book ebook free download<br />
50
- fairyland 2 pupils book audio free download<br />
51
- fairyland 2 pupils book answers free download<br />
52
- fairyland 2 pupils book teacher's book free download<br />
53
- fairyland 2 pupils book workbook free download<br />
54
- fairyland 2 pupils book express publishing free download<br />
55
- fairyland 2 pupils book vk free download<br />
56
- fairyland 2 pupils book scribd free download<br />
57
- how to download fairyland 2 pupils book for free<br />
58
- where to download fairyland 2 pupils book for free<br />
59
- best sites to download fairyland 2 pupils book for free<br />
60
- fairyland 2 pupils book free download torrent<br />
61
- fairyland 2 pupils book free download zip<br />
62
- fairyland 2 pupils book free download rar<br />
63
- fairyland 2 pupils book free download epub<br />
64
- fairyland 2 pupils book free download mobi<br />
65
- fairyland 2 pupils book free download kindle<br />
66
- fairyland 2 pupils book free download google drive<br />
67
- fairyland 2 pupils book level test free download<br />
68
- fairyland 2 pupils book flashcards free download<br />
69
- fairyland 2 pupils book songs free download<br />
70
- fairyland 2 pupils book stories free download<br />
71
- fairyland 2 pupils book games free download<br />
72
- fairyland 2 pupils book activities free download<br />
73
- fairyland 2 pupils book worksheets free download<br />
74
- fairyland 2 pupils book printables free download<br />
75
- fairyland 2 pupils book posters free download<br />
76
- fairyland 2 pupils book stickers free download<br />
77
- fairyland 2 pupils book review free download<br />
78
- fairyland 2 pupils book sample pages free download<br />
79
- fairyland 2 pupils book preview free download<br />
80
- fairyland 2 pupils book flipbook free download<br />
81
- fairyland 2 pupils book video free download<br />
82
- fairyland 2 pupils book animation free download<br />
83
- fairyland 2 pupils book interactive whiteboard software free download<br />
84
- fairyland 2 pupils book digital edition free download<br />
85
- fairyland 2 pupils book app free download<br />
86
- fairyland 2 pupils book cd rom free download<br />
87
- buy fairyland 2 pupils book online with free delivery<br />
88
- get a copy of fairyland 2 pupils book for free with a subscription<br />
89
- read or listen to fairyland 2 pupils book for free with a trial offer<br />
90
- compare prices of fairyland 2 pupils book from different online stores with free shipping<br />
91
- find out how to get a discount or coupon code for fairyland 2 pupils book with a free newsletter sign up<br />
92
- learn more about the author and illustrator of fairyland 2 pupils book with a free biography and interview<br />
93
- discover the other books in the fairyland series with a free catalogue and synopsis<br />
94
- join the fan club of fairyland and get access to exclusive content and offers with a free membership and login <br />
95
- share your thoughts and opinions on fairyl</p>
96
- <ul>
97
- <li>Print out the pages that you need or use an electronic device such as a tablet or laptop to view them.</li>
98
- <li>Follow the instructions and guidelines given in the Teacher's Book or on the website <a href="http://www.expresspublishing.co.uk/us/en/content/fairyland-1-4">http://www.expresspublishing.co.uk/us/en/content/fairyland-1-4</a>.</li>
99
- <li>Use the additional resources such as Picture Flashcards, Posters, Audio CDs, Pupil's CD and Teacher's Resource Pack to enhance your lessons.</li>
100
- <li>Review the vocabulary and grammar points regularly with your students or children using the revision sections or tests.</li>
101
- <li>Encourage your students or children to practice their English skills outside the classroom or home by listening to songs or stories, watching videos or playing games related to Fairyland 2.</li>
102
- </ul>
103
- <h2>Conclusion</h2>
104
- <h3>A summary of the main points of the article</h3>
105
- <p>In this article, we have introduced you to Fairyland 2 Pupils Book, a fun and engaging course for young learners of English. We have explained what Fairyland 2 is, what are its main features and benefits, and how you can download it for free online. We have also given you some tips on how to use Fairyland 2 effectively after downloading.</p>
106
- <h3>A call to action for the readers</h3>
107
- <p>We hope that you have found this article useful and informative. If you are interested in using Fairyland 2 with your students or children, we encourage you to download it from one of the websites we have recommended and try it out for yourself. You will be amazed by how much your students or children will enjoy learning English with Fairyland 2. Don't miss this opportunity to make learning English fun and memorable!</p>
108
- <h2>FAQs</h2>
109
- <p>Here are some frequently asked questions about Fairyland 2 Pupils Book:</p>
110
- <ol>
111
- <li>What is the difference between Fairyland 1 and Fairyland 2?</li>
112
- <p>Fairyland 1 and Fairyland 2 are both courses for young learners of English aged 6-8. However, Fairyland 1 is for beginners who have little or no previous knowledge of English, while Fairyland 2 is for elementary learners who have completed Fairyland 1 or a similar course.</p>
113
- <li>How many hours of teaching does Fairyland 2 cover?</li>
114
- <p>Fairyland 2 covers about 90 hours of teaching, which can be adapted according to the needs and preferences of the teacher and the students.</p>
115
- <li>What are the other components of the Fairyland series?</li>
116
- <p>The Fairyland series consists of four levels: Fairyland 1, Fairyland 2, Fairyland 3 and Fairyland 4. Each level has a Pupil's Book, an Activity Book, a Teacher's Book, Picture Flashcards, Posters, Audio CDs, a Pupil's CD and a Teacher's Resource Pack.</p>
117
- <li>Where can I buy Fairyland 2 Pupils Book and other components?</li>
118
- <p>You can buy Fairyland 2 Pupils Book and other components from online or offline bookstores that sell Express Publishing products. You can also order them directly from the Express Publishing website <a href="http://www.expresspublishing.co.uk/us/en/content/fairyland-1-4">http://www.expresspublishing.co.uk/us/en/content/fairyland-1-4</a>.</p>
119
- <li>How can I contact Express Publishing for more information or support?</li>
120
- <p>You can contact Express Publishing by phone, fax, email or mail using the contact details given on their website <a href="http://www.expresspublishing.co.uk/us/en/contact-us">http://www.expresspublishing.co.uk/us/en/contact-us</a>. You can also follow them on social media platforms such as Facebook, Twitter, YouTube and Instagram.</p>
121
- </ol>
122
- </p> 0a6ba089eb<br />
123
- <br />
124
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1gistliPinn/ChatGPT4/Examples/Beatmania Iidx 20 Tricoro Anthem Hdd EXCLUSIVE.md DELETED
@@ -1,14 +0,0 @@
1
- <br />
2
- <h1>Beatmania IIDX 20 Tricoro: The First HD Rhythm Game with Three Colorful Events</h1>
3
- <p>Beatmania IIDX 20 Tricoro is the 20th installment of the popular arcade rhythm game series, Beatmania IIDX. It was released in September 2012 by Konami, and it was the first game in the series to run in high-definition resolution (1280x720).</p>
4
- <p>The game features a triple color scheme of red, blue, and yellow, which corresponds to the three main events of the game: LIMIT BURST (red), LEGEND CROSS (blue), and OUR SPACE WAR (yellow). Each event has its own storyline, characters, and songs, and players can unlock them by playing songs from different genres and difficulties.</p>
5
- <h2>Beatmania Iidx 20 Tricoro Anthem Hdd</h2><br /><p><b><b>DOWNLOAD</b> &#10022;&#10022;&#10022; <a href="https://imgfil.com/2uy21r">https://imgfil.com/2uy21r</a></b></p><br /><br />
6
- <p>LIMIT BURST is a story mode where players have to clear songs with various modifiers and challenges. LEGEND CROSS is a crossover event with songs from previous Beatmania IIDX games, as well as other BEMANI games. OUR SPACE WAR is a sci-fi themed event where players have to fight against alien invaders using special weapons and abilities.</p>
7
- <p>The game also features other modes and features, such as Road to SPADA, Café de Tran, Shiritsu BEMANI gakuen, Q-pro, Mimi, Nyami & Pastel-kun no minna de uchuu sensou!!, Today's Featured Songs, and WEEKLY RANKING. The game has over 600 songs in total, including new songs, revived songs, new charts, and difficulty changes.</p>
8
- <p>The game's soundtrack was released in two volumes: beatmania IIDX 20 tricoro ORIGINAL SOUNDTRACK Vol.1 in February 2013, and beatmania IIDX 21 SPADA ORIGINAL SOUNDTRACK (which contains the content of the cancelled Vol.2) in December 2013. The game's slogan is 輪音転奏。 (rinnetensou.), which means "various tunes change the world [ TRI ] for the future !!!".</p>
9
-
10
- <p>Beatmania IIDX 21 Spada is the 21st installment of the series, and the sequel to Beatmania IIDX 20 Tricoro. It was released in November 2013 by Konami, and it continued to run in high-definition resolution. The game's theme is medieval and swords, as the title of the game, Spada is Italian for sword. The UI has a dark and mysterious theme and mainly features black, silver, and purple colors.</p>
11
- <p>The game features a new unlocking system called Spada†leggendaria, where players have to play specific songs related to swords, crosses, or knights to unlock new boss songs. These boss songs are composed by artists whose names are based on famous swords, such as Sigmund, Ancient Scapes, and Close the World feat. a☆ru. The game also features other events and modes, such as Qprogue, Nettou! BEMANI Stadium, TAG seitansai, SUPER STAR -MITSURU- Perfect Revival, GUMI 5th Anniversary party Presented by BEMANI, Hakken! Yomigaetta BEMANI iseki, Today's Featured Songs, Tran Medal unlocks, and WEEKLY RANKING. The game has over 700 songs in total, including new songs, revived songs, new charts, and difficulty changes.</p>
12
- <p>The game's soundtrack was released in two volumes: beatmania IIDX 21 SPADA ORIGINAL SOUNDTRACK in December 2013 (which also contains the content of the cancelled beatmania IIDX 20 tricoro ORIGINAL SOUNDTRACK Vol.2), and beatmania IIDX 21 SPADA ORIGINAL SOUNDTRACK VOL.2 in August 2014. The game's slogan is 鍵士とは、叩っ斬ることと みつけたり。 (kenshi to wa, tatakkiru kototo mitsuketari.), which means "swordsmen are those who strike down and discover".</p> d5da3c52bf<br />
13
- <br />
14
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1gistliPinn/ChatGPT4/Examples/Contoh Makalah Pengelolaan Lingkungan Belajar yang Efektif dan Menyenangkan.md DELETED
@@ -1,25 +0,0 @@
1
- <br />
2
- <p>Sesungguhnya siapakah yang bertanggung jawab akan penyediaan dan pengelolaan lingkungan belajar bagi anak? Terlepas dari siapapun itu yang menyediakan ataupun mengelola yang jelas dan sudah pasti guru menjadi ujung tombak dalam penyediaan lingkungan belajar yang kondusif. Guru merupakan individu yang banyak terlibat dalam setiap kegiatan anak pada saat mereka belajar di sekolah. Keterampilan guru dalam meneyediakan lingkungan belajar akan berpengaruh terhadap kegiatan anak di dalam lingkungan belajar tersebut, baik dalam interaksi, eksplorasi, eksperimen maupun melakukan berbagai kegiatan kreatif lainnya.</p>
3
- <h2>Contoh Makalah Pengelolaan Lingkungan Belajar</h2><br /><p><b><b>Download File</b> &#10084; <a href="https://imgfil.com/2uy27Z">https://imgfil.com/2uy27Z</a></b></p><br /><br />
4
- <p>Menurut Kollough (1996) dalam Rusnidal (2005:52) mengungkapkan bahwa ada sejumlah hal yang berkaitan dengan anak yang harus dipertimbangkan dalam menciptakan lingkungan belajar yang kondusif diantaranya:</p>
5
- <p>Lingkungan berperan dalam pemerolehan informasi sebagai sumberbelajar anak. Semakin bertambah usia anak, maka anak akan mengalamikematangan fungsi fisik dan psikis. Kematangan kedua hal tersebutmerupakan bentuk kesiapan anak untuk merespon segala rangsangan yangdiberikan lingkungannya. Banyak jenis lembaga pendidikan anak usia diniyang menawarkan berbagai suasana lingkungan belajar anak yang mampumendorong efektifitas kegiatan belajar mengajar anak.</p>
6
- <p>Pada proses belajar mengajar pengelolaan lingkungan belajarmempunyai tujuan secara umum yaitu menyediakan fasilitas bagi bermacam-macam kegiatan siswa dalam lingkungan sosial, emosional dan intelektualdikelas. Fasilitas yang disediakan itu memungkinkan siswa untuk belajar danbekerja dan mengembangkan sikap apresiasi pada siswa.</p>
7
- <p></p>
8
- <p>Menurut Suharsimi Arikunto, pengelolaan adalah pengadministrasian,pengaturan, atau penataan suatu kegiatan. Adapun lingkungan belajar adalahsuatu tempat yang berfungsi sebagai wadah atau lapangan terlaksananyaproses belajar mengajar atau pendidikan. Tanpa adanya lingkungan,pendidikan tidak dapat berlangsung. Sedangkan indoor, berasal dari bahasa<i>Inggris, yang berarti di dalam gedung.</i></p>
9
- <p>Dun & Dun menyebutkan bahwa, kondisi belajar atau lingkunganbelajar dapat mempengaruhi konsentrasi dan penerimaan informsi bagi siswa,jadi lingkungan belajar adalah lingkungan alami yang diciptakan oleh guruatau orang lain yang bisa menambah konsentrasi siswa dan pengetahuansiswa secara efisien.</p>
10
- <p>Sesuai dengan karakteristiknya, masa usia dini disebut masa peka.Pada masa ini anak sangat sensitif atau sangat peka terhadap sesuatu disekitarnya sehingga pada masa ini merupakan saat yang paling tepat bagianak untuk menerima respons atau rangsangan yang diberikan olehlingkungannya. Dengan demikian, lingkungan sebagai unsur yangmenyediakan sejumlah rangsangan perlu mendapat perhatian dan perludiciptakan sedemikian rupa, agar menyediakan objek- objek sesuai dengankebutuhan dan perkembangan anak. Untuk itu, dibutuhkan perencanaan yangmatang. Ketepatan lingkungan belajar secara langsung maupun tidaklangsung akan sangat mempengaruhi proses dan hasil belajar yang akandicapai anak.</p>
11
- <p>Lingkungan belajar indoor adalah lingkungan belajar yang memangsudah disediakan oleh manajemen sekolahan agar digunakan untuk parasiswanya sebagai sumber belajar atau lingkungan belajar yang ada didalamsekolahan tersebut. Lingkungan belajar ini bisa berupa perpustakaan,laboratorium, auditorium dan utamanya adalah ruang kelas.</p>
12
- <p>Disiplin kolektif ketiga yang menjadi perhatian Peter Senge adalah pembentukan mental (mental models), sebuah disiplin yang ingin menekankan sikap pengembangan kepekaan dan persepsi, baik dalam diri sendiri atau orang sekitarnya. Bekerja dengan membentuk mental ini dapat membantu kita untuk lebih jelas dan jujur dalam memandang kenyataan terkini. Karena pembentukan mental dalam pendidikan sering kali tidak dapat didiskusikan, dan tersembunyi, maka<br />kritik yang harus diperhatikan oleh sekolah yang belajar adalah bagaimana kita mampu mengembangkan kapasitas untuk berbicara secara produktif dan aman tentang hal-hal yang berbahaya dan tidak nyaman. Selain itu, pengelola sekolah juga harus senantiasa aktif memikirkan asumsi-asumsi tentang apa yang terjadi dalam kelas, tingkat perkembangan siswa, dan lingkungan rumah siswa.</p>
13
- <p>Kegagalan seorang guru mencapai tujuan pembelajaran berbanding lurus dengan ketidakmampuan guru mengelola kelas. Indikator dari kegagalan itu seperti prestasi belajar murid rendah, tidak sesuai dengan standar atau batas ukuran yang ditentukan. Karena itu, pengelolaan kelas merupakan kompetensi guru yang sangat penting.</p>
14
- <p>Di sini jelas bahwa pengelolaan kelas yang efektif merupakan persyaratan mutlak bagi terciptanya proses belajar mengajar yang efektif pula. Maka dari itu pentingnya pengelolaan kelas guna menciptakan suasana kelas yang kondusif demi meningkatkan kualitas pembelajaran. Pengelolaan kelas menjadi tugas dan tanggung jawab guru dengan memberdayakan segala potensi yang ada dalam kelas demi kelangsungan proses pembelajaran. Hal ini berarti setiap guru dituntut secara profesional mengelola kelas sehingga terciptanya suasana kelas yang kondusif guna menunjang proses pembelajaran yang optimal menuntut kemampuan guru untuk mengetahui, memahami, memilih, dan menerapkan pendekatan yang dinilai efektif menciptakan suasana kelas yang kondusif.</p>
15
- <p>Disimpulkan bahwa pengelolaan kelas adalah berbagai jenis kegiatan yang dengan sengaja dilakukan oleh guru dengan tujuan menciptakan kondisi optimal bagi terjadinya proses belajar mengajar di kelas. Pengelolaan kelas sangat berkaitan dengan upaya-upaya untuk menciptakan dan mempertahankan kondisi yang optimal bagi terjadinya proses belajar (penghentian perilaku peserta didik yang menyelewengkan perhatian kelas, pemberian ganjaran, penyelesaian tugas oleh peserta didik secara tepat waktu, penetapan norma kelompok yang produktif, di dalamnya mencakup pengaturan orang (peserta didik) dan fasilitas yang ada.</p>
16
- <p>Tujuan pengelolaan kelas menurut Sudirman (dalam Djamarah 2006:170) pada hakikatnya terkandung dalam tujuan pendidikan. Tujuan pengelolaan kelas adalah penyediaan fasilitas bagi macam-macam kegiatan belajar siswa dalam lingkungan sosial, emosional, dan intelektual dalam kelas. Fasilitas yang disediakan itu memungkinkan siswa belajar dan bekerja. Terciptanya suasana sosial yang memberikan kepuasan, suasana disiplin, perkembangan intelektual, emosional, dan sikap serta apresiasi pada siswa. Sedangkan Suharsimi Arikunto (dalam Djamarah 2006:178) berpendapat bahwa tujuan pengelolaan kelas adalah agar setiap anak di kelas dapat bekerja dengan tertib sehingga segera tercapai tujuan pengajaran secara efektif dan efisian.</p>
17
- <p>Jadi, pengelolaan kelas dimaksudkan untuk menciptakan kondisi di dalam kelompok kelas yang berupa lingkungan kelas yang baik, yang memungkinkan siswa berbuat sesuai dengan kemampuannya. Kemudian, dengan pengelolaan kelas produknya harus sesuai dengan tujuan yang hendak dicapai dan agar setiap anak dikelas dapat bekerja dengan tertib, sehingga segera tercapai tujuan pengajaran secara efektif dan efisien serta agar setiap guru mampu menguasai kelas dengan menggunakan berbagai macam pendekatan dengan menyesuaikan permasalahan yang ada, sehingga tercipta suasana yang kondusif, efektif dan efisien.</p>
18
- <p>Pendekatan yang primisif dalam pengelolaan kelas merupakan seperangkat kegiatan pengajar yang memaksimalkan kebebasan pembelajar untuk melakukan sesuatu. Sehingga pembelajar bila kebebasan ini dihalangi dapat menghambat perkembangan pembelajar. Berbagai bentuk pendekatan dalam pelaksanaan pengelolaan kelas ini banyak menyerahkan segala inisiatif dan tindakan pada diri pembelajar:</p>
19
- <p>Pada dasarnya proses belajar mengajar merupakan inti dari proses pendidikan secara keseluruhan, di antaranya guru merupakan salah satu faktor yang penting dalam menentukan berhasilnya proses belajar mengajar di dalam kelas. Oleh karena itu guru dituntut untuk meningkatkan peran dan kompetensinya, guru yang kompeten akan lebih mampu menciptakan lingkungan belajar yang efektif dan akan lebih mampu mengelola kelasnya sehingga hasil belajar siswa berada pada tingkat yang optimal. Adam dan Decey (dalam Usman, 2003) mengemukakan peranan guru dalam proses belajar mengajar adalah sebagai berikut:</p>
20
- <p>Seorang guru harus dapat menguasai benar materi yag akan diajarkan juga media yang akan digunakan bahkan lingkungan sendiri juga termasuk sebagai sember belajar yang harus dipelajari oleh seorang guru. Seorang siswa mempunyai beberapa kemampuan menyerap materi berbeda-beda oleh karena itu pendidik harus pandai dalam merancang media untuk membantu siswa agar mudah memahami pelajaran. Keterampilan untuk merancang media pembelajaran adalah hal yang pokok yang harus dikuasai, sehingga pelajaran yang akan diajarkan bisa dapat diserap dengan mudah oleh peserta didik. Media pembelajaran di dalam kelas banyak macamnya misalkan torsu, chart maket, LCD, OHP/OHT.</p>
21
- <p>Peran guru merupakan salah satu faktor yang penting dalam menentukan berhasilnya proses belajar mengajar di dalam kelas. Oleh karena itu guru dituntut untuk meningkatkan peran dan kompetensinya, guru yang kompeten akan lebih mampu menciptakan lingkungan belajar yang efektif dan akan lebih mampu mengelola kelasnya sehingga hasil belajar siswa berada pada tingkat yang optimal. Adam dan Decey (dalam Usman, 2003) mengemukakan peranan guru dalam proses belajar mengajar adalah sebagai berikut:</p>
22
- <p>Dikatakan bahwa pengelolaan kelas yang efektif merupakan persyaratan mutlak bagi terciptanya proses belajar mengajar yang efektif pula. Maka dari itu pentingnya pengelolaan kelas guna menciptakan suasana kelas yang kondusif demi meningkatkan kualitas pembelajaran. Pengelolaan kelas menjadi tugas dan tanggung jawab guru dengan memberdayakan segala potensi yang ada dalam kelas demi kelangsungan proses pembelajaran.</p>
23
- <p>Guru sebagai tenaga profesional, dituntut tidak hanya mampu mengelola pembelajaran saja tetapi juga harus mampu mengelola kelas, yaitu menciptakan dan mempertahankan kondisi belajar yang optimal bagi tercapainya tujuan pengajaran. Oleh karena itu sejalan dengan upaya pemerintah dalam meningkatkan mutu di semua jenjang pendidikan, penerapan strategi pengelolaan kelas dalam pembelajaran merupakan salah satu alternatif yang diyakini dapat digunakan untuk memecahkan persoalan yang mendasar dari permasalahan pendidikan di tanah air.</p> aaccfb2cb3<br />
24
- <br />
25
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1gistliPinn/ChatGPT4/Examples/Contoh Proposal Pertandingan Bola 17.md DELETED
@@ -1,6 +0,0 @@
1
- <h2>Contoh Proposal Pertandingan Bola 17</h2><br /><p><b><b>DOWNLOAD</b> >>> <a href="https://imgfil.com/2uxXOt">https://imgfil.com/2uxXOt</a></b></p><br /><br />
2
- <br />
3
- 19, 2561 BE - sentence contoh bantuan dana HUT Viking. . OFFER BANTUAN DANA 9TH ANNIVERSARY OF VIKING RABER DAN MEMPERINGATI HARI KEMERDEKAAN. · 19.0921 AB - offer contoh seperti keluarga BANTUAN DANA DAN HUT Viking. . · 19.1801 AB - offer contoh seperti dan keluarga bepul DAN HUT Viking. . · 19.2561 AB - offer contoh seperti dan keluarga bepul BANTUAN DANA DAN HUT Viking. . · 19.2616 AB - offer contoh seperti dan keluarga bepul BANTUAN DANA DAN HUT Viking. . · 19.2621 AB - offer contoh seperti dan keluarga BANTUAN DANA DAN HUT Viking. . 19.2716 AB - sentence contoh seperti dan keluarga BANT 8a78ff9644<br />
4
- <br />
5
- <br />
6
- <p></p>
 
 
 
 
 
 
 
spaces/1pelhydcardo/ChatGPT-prompt-generator/assets/Download Angry Birds 2 and Experience the New Era of Slingshot Gameplay on Android.md DELETED
@@ -1,107 +0,0 @@
1
- <br />
2
- <h1>How to Download Angry Birds 2 for Android</h1>
3
- <p>Are you looking for a fun and addictive game to play on your Android device? Do you want to join millions of players around the world in flinging birds at pigs and saving eggs? If so, then you should download Angry Birds 2, the sequel to the most popular physics-based game ever. In this article, we will tell you what Angry Birds 2 is, why you should play it, and how to download it for Android. We will also share some tips and tricks to help you master the game and have more fun.</p>
4
- <h2>What is Angry Birds 2?</h2>
5
- <p>Angry Birds 2 is a puzzle video game developed by Rovio Entertainment and released in 2015. It is the twelfth game in the Angry Birds series, and the direct sequel to the original Angry Birds. It is a free-to-play game with optional purchases for in-game currency.</p>
6
- <h2>download angry birds 2 for android</h2><br /><p><b><b>DOWNLOAD</b> &raquo;&raquo;&raquo; <a href="https://urlin.us/2uT19Q">https://urlin.us/2uT19Q</a></b></p><br /><br />
7
- <p>The game follows the same basic premise as the previous games: you use a slingshot to launch birds at structures made of glass, wood, and stone, where pigs are hiding. Your goal is to destroy all the pigs and save the eggs. However, Angry Birds 2 also introduces some new features and improvements that make it more fun and challenging.</p>
8
- <h3>Why should you play Angry Birds 2?</h3>
9
- <p>There are many reasons why you should play Angry Birds 2, whether you are a fan of the franchise or not. Here are some of them:</p>
10
- <h4>Fun gameplay</h4>
11
- <p>Angry Birds 2 has a fun and addictive gameplay that will keep you entertained for hours. You can choose which bird to put in the slingshot and use their special abilities to defeat the pigs with strategy. You can also use spells to unleash powerful effects on the levels. The game has hundreds of levels with multiple stages, each with different challenges and surprises. You can also compete with other players in the arena or join a clan to cooperate with friends.</p>
12
- <h4>Amazing graphics</h4>
13
- <p>Angry Birds 2 has stunning graphics that make the game look good on any device. The game uses cel-shaded visuals that give it a cartoon-like style. The characters, structures, and landscapes are colorful and detailed. The animations are smooth and expressive. The game also has dynamic weather effects that change the atmosphere of each level.</p>
14
- <h4>Multiple modes and events</h4>
15
- <p>Angry Birds 2 has many modes and events that add variety and excitement to the game. You can play daily challenges, mighty eagle's bootcamp, tower of fortune, clans wars, seasonal events, limited-time events, and more. Each mode or event has its own rules, rewards, and leaderboards. You can also collect hats, feathers, gems, chests, stars, tickets, apples and more to customize your birds and boost their power. You can also unlock new birds and spells as you progress in the game.</p>
16
- <h2>How to download Angry Birds 2 for Android?</h2>
17
- <p>Downloading Angry Birds 2 for Android is easy and fast. You just need to follow these simple steps:</p>
18
- <h3>Requirements</h3>
19
- <p>Before you download the game, make sure you have the following requirements:</p>
20
- <ul>
21
- <li>An Android device with version 4.4 or higher</li>
22
- <li>At least 600 MB of free storage space</li>
23
- <li>A stable internet connection</li>
24
- </ul>
25
- <h3>Steps</h3>
26
- <p>Once you have the requirements, you can download the game from the Google Play Store by following these steps:</p>
27
- <p>How to download angry birds 2 for android phone<br />
28
- Download angry birds 2 for android apk free<br />
29
- Download angry birds 2 for android tablet<br />
30
- Download angry birds 2 for android offline<br />
31
- Download angry birds 2 for android latest version<br />
32
- Download angry birds 2 for android mod apk<br />
33
- Download angry birds 2 for android without ads<br />
34
- Download angry birds 2 for android from google play<br />
35
- Download angry birds 2 for android hack<br />
36
- Download angry birds 2 for android cheats<br />
37
- Download angry birds 2 for android tips and tricks<br />
38
- Download angry birds 2 for android gameplay<br />
39
- Download angry birds 2 for android review<br />
40
- Download angry birds 2 for android best levels<br />
41
- Download angry birds 2 for android walkthrough<br />
42
- Download angry birds 2 for android guide<br />
43
- Download angry birds 2 for android tutorial<br />
44
- Download angry birds 2 for android update<br />
45
- Download angry birds 2 for android new features<br />
46
- Download angry birds 2 for android characters<br />
47
- Download angry birds 2 for android unlockables<br />
48
- Download angry birds 2 for android achievements<br />
49
- Download angry birds 2 for android challenges<br />
50
- Download angry birds 2 for android multiplayer<br />
51
- Download angry birds 2 for android online mode<br />
52
- Download angry birds 2 for android co-op mode<br />
53
- Download angry birds 2 for android vs mode<br />
54
- Download angry birds 2 for android clans<br />
55
- Download angry birds 2 for android events<br />
56
- Download angry birds 2 for android tournaments<br />
57
- Download angry birds 2 for android leaderboards<br />
58
- Download angry birds 2 for android rewards<br />
59
- Download angry birds 2 for android skins<br />
60
- Download angry birds 2 for android costumes<br />
61
- Download angry birds 2 for android accessories<br />
62
- Download angry birds 2 for android stickers<br />
63
- Download angry birds 2 for android emojis<br />
64
- Download angry birds 2 for android wallpapers<br />
65
- Download angry birds 2 for android ringtones<br />
66
- Download angry birds 2 for android soundtracks<br />
67
- Download angry birds 2 for android comics<br />
68
- Download angry birds 2 for android books<br />
69
- Download angry birds 2 for android movies<br />
70
- Download angry birds 2 for android tv shows<br />
71
- Download angry birds 2 for android merchandise<br />
72
- Download angry birds 2 for android toys<br />
73
- Download angry birds 2 for android games like it</p>
74
- <ol>
75
- <li>Open the Google Play Store app on your device</li>
76
- <li>Search for "Angry Birds 2" or use this link: <a href="">Angry Birds 2 - Apps on Google Play</a></li>
77
- <li>Tap on the "Install" button and wait for the download to finish</li>
78
- <li>Tap on the "Open" button and enjoy the game</li>
79
- </ol>
80
- <h3>Tips and tricks</h3>
81
- <p>To play Angry Birds 2 better and get more rewards, you can use these tips and tricks:</p>
82
- <h4>Use the environment</h4>
83
- <p>The levels in Angry Birds 2 have many environmental elements that you can use to your advantage. For example, you can hit flowers to make them explode, portals to teleport your birds, fans to change the direction of your shots, and more. Experiment with different elements and see how they affect the outcome of each level.</p>
84
- <h4>Fill the Destructometer</h4>
85
- <p>The Destructometer is a meter that fills up as you cause more damage to the structures and pigs. When it is full, you get an extra card that lets you choose another bird or spell to use. You can also get extra cards by hitting golden pigs or collecting stars. Try to fill the Destructometer as much as possible to have more options and chances to win.</p>
86
- <h4>Choose your bird wisely</h4>
87
- <p>Each bird in Angry Birds 2 has a different ability and strength that can be useful against different materials and situations. For example, Red can knock back objects with his battle cry, Chuck can speed up and pierce through wood, Bomb can explode and destroy stone, Matilda can drop an egg bomb and fly upwards, and so on. You can also upgrade your birds by collecting feathers and increase their power level. Choose your bird wisely depending on the level layout and the materials you need to break.</p>
88
- <h4>Save your lives and gems</h4>
89
- <p>Angry Birds 2 is a free-to-play game, but it has some limitations that can affect your gameplay. For example, you have a limited number of lives that regenerate over time or can be refilled by spending gems or watching ads. Gems are the premium currency of the game that can be used to buy more lives, spells, chests, hats, and more. You can earn gems by completing achievements, winning arena matches, opening chests, or buying them with real money. To save your lives and gems, you should play smartly and avoid losing levels or retrying them too often. You should also spend your gems wisely and only on things that you really need or want.</p>
90
- <h2>Conclusion</h2>
91
- <p>Angry Birds 2 is a fun and addictive game that you can download for free on your Android device. It has a fun gameplay, amazing graphics, multiple modes and events, and many features that make it more enjoyable than ever. If you want to join the millions of players who love this game, follow our guide on how to download Angry Birds 2 for Android and start flinging birds at pigs today. You will not regret it!</p>
92
- <h3>FAQs</h3>
93
- <p>Here are some frequently asked questions and answers about Angry Birds 2:</p>
94
- <ol>
95
- <li><b>How many levels are there in Angry Birds 2?</b></li>
96
- <p>There are over 2000 levels in Angry Birds 2, divided into chapters with different themes and bosses. The game also adds new levels regularly with updates and events.</p>
97
- <li><b>How do I get more spells in Angry Birds 2?</b></li>
98
- <p>You can get more spells by filling the Destructometer, hitting golden pigs, collecting stars, opening chests, winning arena matches, or buying them with gems.</p>
99
- <li><b>How do I join a clan in Angry Birds 2?</b></li>
100
- <p>You can join a clan in Angry Birds 2 by tapping on the clan icon on the main screen and choosing a clan that suits your preferences and interests. You can also create your own clan or invite your friends to join your clan. Clans allow you to chat with other members, share tips and strategies, and participate in clan wars and events.</p>
101
- <li><b>How do I unlock new birds in Angry Birds 2?</b></li>
102
- <p>You can unlock new birds in Angry Birds 2 by completing certain levels or chapters, opening chests, or buying them with gems. Some of the new birds are Silver, Stella, Bubbles, Hal, Terence, and Mighty Eagle.</p>
103
- <li><b>How do I contact the support team of Angry Birds 2?</b></li>
104
- <p>If you have any issues or questions about the game, you can contact the support team of Angry Birds 2 by tapping on the settings icon on the main screen and then tapping on the help icon. You can also visit the official website of the game or the Rovio Entertainment website for more information and resources.</p>
105
- </ol></p> 197e85843d<br />
106
- <br />
107
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1phancelerku/anime-remove-background/Car Parking Multiplayer Download Join Thousands of Players in an Open World Mode.md DELETED
@@ -1,132 +0,0 @@
1
- <br />
2
- <h1>Can You Download Car Parking Multiplayer?</h1>
3
- <p>If you are looking for a fun and realistic parking simulator game, you might have heard of Car Parking Multiplayer. This game is more than just parking: it offers an open-world multiplayer mode, car tuning, free walking, and many other features. But can you download Car Parking Multiplayer on your device? The answer is yes, you can! In this article, we will show you what Car Parking Multiplayer is, how to download it on different devices, and some tips and tricks for playing it.</p>
4
- <h2>What is Car Parking Multiplayer?</h2>
5
- <p>Car Parking Multiplayer is a simulation game developed by olzhass. It is one of the most popular parking games on Google Play and App Store, with over 100 million downloads and 4.4 stars rating . In this game, you can choose from over 130 cars with real interiors, drive them in various environments, park them in challenging situations, and customize them with different parts and vinyls. You can also join thousands of other players online, compete in races, exchange cars, chat with voice or text, and even role-play as a police officer or a taxi driver.</p>
6
- <h2>can you download car parking multiplayer</h2><br /><p><b><b>DOWNLOAD</b> &#9193; <a href="https://jinyurl.com/2uNRJU">https://jinyurl.com/2uNRJU</a></b></p><br /><br />
7
- <h3>Features of Car Parking Multiplayer</h3>
8
- <p>Some of the features that make Car Parking Multiplayer stand out from other parking games are:</p>
9
- <ul>
10
- <li>Multiplayer open world mode: You can explore a free open world with real gas stations and car services, interact with other players, join or create races, and have fun in various ways.</li>
11
- <li>Car customization: You can adjust the suspension, wheel angle, engine, turbo, gearbox, exhaust, and more of your car. You can also change the appearance of your car with dynamic vinyls and body parts.</li>
12
- <li>High-quality open world: The game has highly-detailed environments with realistic graphics and physics. You can drive in different locations such as city, airport, desert, port, and more.</li>
13
- <li>Interesting gameplay: The game has 82 real-life parking and driving challenges that test your skills and accuracy. You can also drive different vehicles such as tow trucks, pickups, trucks, sports cars, and classic cars.</li>
14
- </ul>
15
- <h3>Benefits of Car Parking Multiplayer</h3>
16
- <p>Some of the benefits that you can get from playing Car Parking Multiplayer are:</p>
17
- <ul>
18
- <li>You can improve your parking and driving skills in a fun and safe way.</li>
19
- <li>You can enjoy a realistic and immersive experience of driving different cars.</li>
20
- <li>You can express your creativity and personality by customizing your car.</li>
21
- <li>You can socialize and make friends with other players from around the world.</li>
22
- </ul>
23
- <h2>How to Download Car Parking Multiplayer on Different Devices?</h2>
24
- <p>The good news is that you can download Car Parking Multiplayer on various devices such as Android phones or tablets, iOS devices (iPhone or iPad), or PC (Windows or Mac). Here are the steps for each device:</p>
25
- <p>How to download car parking multiplayer on PC<br />
26
- Car parking multiplayer free download for Android<br />
27
- Car parking multiplayer iOS app store link<br />
28
- Car parking multiplayer open world mode features<br />
29
- Car parking multiplayer tuning and racing tips<br />
30
- Car parking multiplayer best cars and skins<br />
31
- Car parking multiplayer online gameplay and chat<br />
32
- Car parking multiplayer simulation game review<br />
33
- Car parking multiplayer latest update and news<br />
34
- Car parking multiplayer cheats and hacks<br />
35
- Car parking multiplayer realistic physics and graphics<br />
36
- Car parking multiplayer custom maps and mods<br />
37
- Car parking multiplayer vs real car parking 3d<br />
38
- Car parking multiplayer challenges and missions<br />
39
- Car parking multiplayer offline mode and data usage<br />
40
- Car parking multiplayer system requirements and compatibility<br />
41
- Car parking multiplayer support and feedback<br />
42
- Car parking multiplayer community and social media<br />
43
- Car parking multiplayer fun and funny moments<br />
44
- Car parking multiplayer pros and cons<br />
45
- Car parking multiplayer beginners guide and tutorial<br />
46
- Car parking multiplayer advanced techniques and tricks<br />
47
- Car parking multiplayer police mode and roleplay<br />
48
- Car parking multiplayer gas stations and car services<br />
49
- Car parking multiplayer exchange cars with other players<br />
50
- Car parking multiplayer free walking and exploration<br />
51
- Car parking multiplayer voice chat and friend list<br />
52
- Car parking multiplayer engine tuning and swap<br />
53
- Car parking multiplayer dynamic vynils and body parts<br />
54
- Car parking multiplayer 100+ cars with real interior<br />
55
- Car parking multiplayer 16 player skins and customization<br />
56
- Car parking multiplayer highly detailed environments<br />
57
- Car parking multiplayer 82 real life parking and driving scenarios<br />
58
- Car parking multiplayer different vehicles and categories<br />
59
- Car parking multiplayer stylized and offline mode options<br />
60
- Car parking multiplayer data safety and privacy policy<br />
61
- Car parking multiplayer ratings and reviews from users<br />
62
- Car parking multiplayer developer olzhass information<br />
63
- Car parking multiplayer designed for iPad compatibility<br />
64
- Car parking multiplayer offers in-app purchases details</p>
65
- <h3>How to Download Car Parking Multiplayer on Android Devices?</h3>
66
- <p>If you have an Android device, you can download Car Parking Multiplayer from Google Play Store. Here are the steps:</p>
67
- <ol>
68
- <li>Open Google Play Store app on your device or go to play.google.com on your browser.</li>
69
- <li>Search for "Car Parking Multiplayer" in the search bar at the top or browse through the apps in the simulation category.</li>
70
- <li>Tap on the name of the app and then tap on Install (if the app is free) or the app's price (if the app is paid).</li>
71
- <li>If If you are asked to grant permissions, tap on Accept or Allow. The app will start downloading and installing on your device.</li>
72
- <li>Once the app is installed, you can open it by tapping on Open or by finding it on your home screen or app drawer.</li>
73
- </ol>
74
- <h3>How to Download Car Parking Multiplayer on iOS Devices?</h3>
75
- <p>If you have an iOS device, you can download Car Parking Multiplayer from App Store. Here are the steps:</p>
76
- <ol>
77
- <li>Open App Store app on your device or go to apps.apple.com on your browser.</li>
78
- <li>Search for "Car Parking Multiplayer" in the search bar at the bottom or browse through the apps in the simulation category.</li>
79
- <li>Tap on the name of the app and then tap on Get (if the app is free) or the app's price (if the app is paid).</li>
80
- <li>If you are asked to enter your Apple ID password or use Touch ID or Face ID, do so. The app will start downloading and installing on your device.</li>
81
- <li>Once the app is installed, you can open it by tapping on Open or by finding it on your home screen.</li>
82
- </ol>
83
- <h3>How to Download Car Parking Multiplayer on PC?</h3>
84
- <p>If you want to play Car Parking Multiplayer on your PC, you will need to use an Android emulator. An Android emulator is a software that allows you to run Android apps on your PC. There are many Android emulators available, but we recommend using BlueStacks as it is one of the most popular and reliable ones. Here are the steps:</p>
85
- <ol>
86
- <li>Go to bluestacks.com and download the latest version of BlueStacks for your PC (Windows or Mac).</li>
87
- <li>Run the installer and follow the instructions to install BlueStacks on your PC.</li>
88
- <li>Launch BlueStacks and sign in with your Google account or create a new one.</li>
89
- <li>Go to Google Play Store app within BlueStacks or click on the Play Store icon on the home screen.</li>
90
- <li>Search for "Car Parking Multiplayer" in the search bar at the top or browse through the apps in the simulation category.</li>
91
- <li>Click on the name of the app and then click on Install (if the app is free) or the app's price (if the app is paid).</li>
92
- <li>The app will start downloading and installing on your PC.</li>
93
- <li>Once the app is installed, you can open it by clicking on Open or by finding it on the home screen or app center.</li>
94
- </ol>
95
- <h2>Tips and Tricks for Playing Car Parking Multiplayer</h2>
96
- <p>Now that you have downloaded Car Parking Multiplayer on your device, you might be wondering how to play it and get better at it. Here are some tips and tricks that can help you:</p>
97
- <h3>How to Earn Money and Coins in Car Parking Multiplayer?</h3>
98
- <p>Money and coins are the main currencies in Car Parking Multiplayer. You can use them to buy new cars, upgrade your car, change your license plate, and more. There are several ways to earn money and coins in Car Parking Multiplayer, such as:</p>
99
- <ul>
100
- <li>Completing parking and driving challenges: You can earn money and coins by completing various parking and driving challenges in different locations. The more difficult the challenge, the more money and coins you will get.</li>
101
- <li>Selling cars: You can sell your cars to other players online or to dealerships offline. You can also exchange cars with other players online.</li>
102
- <li>Racing: You can join or create races with other players online and win money and coins if you finish first, second, or third.</li>
103
- <li>Daily rewards: You can get daily rewards by logging in every day. The rewards include money, coins, cars, parts, vinyls, and more.</li>
104
- </ul>
105
- <h3>How to Customize Your Car in Car Parking Multiplayer?</h3>
106
- <p>One of the fun aspects of Car Parking Multiplayer is customizing your car. You can change various aspects of your car such as color, wheels, suspension, engine, exhaust, gearbox, turbo, vinyls, body parts, and more. To customize your car, you need to go to a garage or a tuning shop. There are two types of garages in Car Parking Multiplayer: personal garage and public garage. A personal garage is where you can store your cars and access them anytime. A public garage is where you can find other players' cars and buy them if they are for sale. To go to a garage, you need to find a garage icon on the map and drive there. To go to a tuning shop, you need to find a tuning shop icon on the map and drive there. Once you are in a garage or a tuning shop, you can tap on the Customize button and start modifying your car. You can also preview your car before buying or applying any changes. To save your changes, you need to tap on the Save button and pay the required amount of money or coins.</p>
107
- <h3>How to Interact with Other Players in Car Parking Multiplayer?</h3>
108
- <p>Car Parking Multiplayer is not only a parking simulator, but also a social game. You can interact with other players in various ways, such as:</p>
109
- <ul>
110
- <li>Chatting: You can chat with other players using voice or text messages. You can also use emojis and stickers to express yourself. To chat with other players, you need to tap on the Chat button and select the player you want to talk to.</li>
111
- <li>Racing: You can join or create races with other players online and compete for money and coins. To join or create a race, you need to tap on the Race button and select the mode, location, and rules of the race.</li>
112
- <li>Trading: You can trade cars, parts, vinyls, and money with other players online. To trade with other players, you need to tap on the Trade button and select the player you want to trade with.</li>
113
- <li>Role-playing: You can role-play as a police officer, a taxi driver, a car thief, or any other character you want. You can also use different accessories and items to enhance your role-playing experience. To role-play with other players, you need to tap on the Role-play button and select the role you want to play.</li>
114
- </ul>
115
- <h2>Conclusion</h2>
116
- <p>Car Parking Multiplayer is a simulation game that offers more than just parking. It is a game that lets you drive, park, customize, and socialize with different cars and players. You can download Car Parking Multiplayer on your Android, iOS, or PC device and enjoy a realistic and immersive parking simulator game. If you are looking for a fun and challenging parking game, Car Parking Multiplayer is the game for you.</p>
117
- <h2>FAQs</h2>
118
- <p>Here are some frequently asked questions about Car Parking Multiplayer:</p>
119
- <ul>
120
- <li><b>Q: How much does Car Parking Multiplayer cost?</b></li>
121
- <li>A: Car Parking Multiplayer is free to download and play on Android and iOS devices. However, it contains ads and in-app purchases that can enhance your gameplay experience.</li>
122
- <li><b>Q: Is Car Parking Multiplayer safe for kids?</b></li>
123
- <li>A: Car Parking Multiplayer is rated 12+ on App Store and Teen on Google Play Store. It contains mild violence, profanity, and simulated gambling. Parents should supervise their kids when playing this game or use parental controls to restrict access.</li>
124
- <li><b>Q: How can I contact the developers of Car Parking Multiplayer?</b></li>
125
- <li>A: You can contact the developers of Car Parking Multiplayer by emailing them at [email protected] or by following them on Facebook or Instagram.</li>
126
- <li><b>Q: How can I report a bug or a problem in Car Parking Multiplayer?</b></li>
127
- <li>A: You can report a bug or a problem in Car Parking Multiplayer by tapping on the Settings button and then tapping on the Report button. You can also send an email to [email protected] with a screenshot or a video of the bug or problem.</li>
128
- <li><b>Q: How can I get more money and coins in Car Parking Multiplayer?</b></li>
129
- <li>A: You can get more money and coins in Car Parking Multiplayer by completing parking and driving challenges, selling or exchanging cars, joining or creating races, getting daily rewards, watching ads, or buying them with real money.</li>
130
- </ul></p> 401be4b1e0<br />
131
- <br />
132
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/1toTree/lora_test/ppdiffusers/pipelines/repaint/__init__.py DELETED
@@ -1,16 +0,0 @@
1
- # Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.
2
- # Copyright 2022 The HuggingFace Team. All rights reserved.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- # flake8: noqa
16
- from .pipeline_repaint import RePaintPipeline
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/801artistry/RVC801/infer/lib/train/process_ckpt.py DELETED
@@ -1,261 +0,0 @@
1
- import os
2
- import sys
3
- import traceback
4
- from collections import OrderedDict
5
-
6
- import torch
7
-
8
- from i18n import I18nAuto
9
-
10
- i18n = I18nAuto()
11
-
12
-
13
- def savee(ckpt, sr, if_f0, name, epoch, version, hps):
14
- try:
15
- opt = OrderedDict()
16
- opt["weight"] = {}
17
- for key in ckpt.keys():
18
- if "enc_q" in key:
19
- continue
20
- opt["weight"][key] = ckpt[key].half()
21
- opt["config"] = [
22
- hps.data.filter_length // 2 + 1,
23
- 32,
24
- hps.model.inter_channels,
25
- hps.model.hidden_channels,
26
- hps.model.filter_channels,
27
- hps.model.n_heads,
28
- hps.model.n_layers,
29
- hps.model.kernel_size,
30
- hps.model.p_dropout,
31
- hps.model.resblock,
32
- hps.model.resblock_kernel_sizes,
33
- hps.model.resblock_dilation_sizes,
34
- hps.model.upsample_rates,
35
- hps.model.upsample_initial_channel,
36
- hps.model.upsample_kernel_sizes,
37
- hps.model.spk_embed_dim,
38
- hps.model.gin_channels,
39
- hps.data.sampling_rate,
40
- ]
41
- opt["info"] = "%sepoch" % epoch
42
- opt["sr"] = sr
43
- opt["f0"] = if_f0
44
- opt["version"] = version
45
- torch.save(opt, "weights/%s.pth" % name)
46
- return "Success."
47
- except:
48
- return traceback.format_exc()
49
-
50
-
51
- def show_info(path):
52
- try:
53
- a = torch.load(path, map_location="cpu")
54
- return "模型信息:%s\n采样率:%s\n模型是否输入音高引导:%s\n版本:%s" % (
55
- a.get("info", "None"),
56
- a.get("sr", "None"),
57
- a.get("f0", "None"),
58
- a.get("version", "None"),
59
- )
60
- except:
61
- return traceback.format_exc()
62
-
63
-
64
- def extract_small_model(path, name, sr, if_f0, info, version):
65
- try:
66
- ckpt = torch.load(path, map_location="cpu")
67
- if "model" in ckpt:
68
- ckpt = ckpt["model"]
69
- opt = OrderedDict()
70
- opt["weight"] = {}
71
- for key in ckpt.keys():
72
- if "enc_q" in key:
73
- continue
74
- opt["weight"][key] = ckpt[key].half()
75
- if sr == "40k":
76
- opt["config"] = [
77
- 1025,
78
- 32,
79
- 192,
80
- 192,
81
- 768,
82
- 2,
83
- 6,
84
- 3,
85
- 0,
86
- "1",
87
- [3, 7, 11],
88
- [[1, 3, 5], [1, 3, 5], [1, 3, 5]],
89
- [10, 10, 2, 2],
90
- 512,
91
- [16, 16, 4, 4],
92
- 109,
93
- 256,
94
- 40000,
95
- ]
96
- elif sr == "48k":
97
- if version == "v1":
98
- opt["config"] = [
99
- 1025,
100
- 32,
101
- 192,
102
- 192,
103
- 768,
104
- 2,
105
- 6,
106
- 3,
107
- 0,
108
- "1",
109
- [3, 7, 11],
110
- [[1, 3, 5], [1, 3, 5], [1, 3, 5]],
111
- [10, 6, 2, 2, 2],
112
- 512,
113
- [16, 16, 4, 4, 4],
114
- 109,
115
- 256,
116
- 48000,
117
- ]
118
- else:
119
- opt["config"] = [
120
- 1025,
121
- 32,
122
- 192,
123
- 192,
124
- 768,
125
- 2,
126
- 6,
127
- 3,
128
- 0,
129
- "1",
130
- [3, 7, 11],
131
- [[1, 3, 5], [1, 3, 5], [1, 3, 5]],
132
- [12, 10, 2, 2],
133
- 512,
134
- [24, 20, 4, 4],
135
- 109,
136
- 256,
137
- 48000,
138
- ]
139
- elif sr == "32k":
140
- if version == "v1":
141
- opt["config"] = [
142
- 513,
143
- 32,
144
- 192,
145
- 192,
146
- 768,
147
- 2,
148
- 6,
149
- 3,
150
- 0,
151
- "1",
152
- [3, 7, 11],
153
- [[1, 3, 5], [1, 3, 5], [1, 3, 5]],
154
- [10, 4, 2, 2, 2],
155
- 512,
156
- [16, 16, 4, 4, 4],
157
- 109,
158
- 256,
159
- 32000,
160
- ]
161
- else:
162
- opt["config"] = [
163
- 513,
164
- 32,
165
- 192,
166
- 192,
167
- 768,
168
- 2,
169
- 6,
170
- 3,
171
- 0,
172
- "1",
173
- [3, 7, 11],
174
- [[1, 3, 5], [1, 3, 5], [1, 3, 5]],
175
- [10, 8, 2, 2],
176
- 512,
177
- [20, 16, 4, 4],
178
- 109,
179
- 256,
180
- 32000,
181
- ]
182
- if info == "":
183
- info = "Extracted model."
184
- opt["info"] = info
185
- opt["version"] = version
186
- opt["sr"] = sr
187
- opt["f0"] = int(if_f0)
188
- torch.save(opt, "weights/%s.pth" % name)
189
- return "Success."
190
- except:
191
- return traceback.format_exc()
192
-
193
-
194
- def change_info(path, info, name):
195
- try:
196
- ckpt = torch.load(path, map_location="cpu")
197
- ckpt["info"] = info
198
- if name == "":
199
- name = os.path.basename(path)
200
- torch.save(ckpt, "weights/%s" % name)
201
- return "Success."
202
- except:
203
- return traceback.format_exc()
204
-
205
-
206
- def merge(path1, path2, alpha1, sr, f0, info, name, version):
207
- try:
208
-
209
- def extract(ckpt):
210
- a = ckpt["model"]
211
- opt = OrderedDict()
212
- opt["weight"] = {}
213
- for key in a.keys():
214
- if "enc_q" in key:
215
- continue
216
- opt["weight"][key] = a[key]
217
- return opt
218
-
219
- ckpt1 = torch.load(path1, map_location="cpu")
220
- ckpt2 = torch.load(path2, map_location="cpu")
221
- cfg = ckpt1["config"]
222
- if "model" in ckpt1:
223
- ckpt1 = extract(ckpt1)
224
- else:
225
- ckpt1 = ckpt1["weight"]
226
- if "model" in ckpt2:
227
- ckpt2 = extract(ckpt2)
228
- else:
229
- ckpt2 = ckpt2["weight"]
230
- if sorted(list(ckpt1.keys())) != sorted(list(ckpt2.keys())):
231
- return "Fail to merge the models. The model architectures are not the same."
232
- opt = OrderedDict()
233
- opt["weight"] = {}
234
- for key in ckpt1.keys():
235
- # try:
236
- if key == "emb_g.weight" and ckpt1[key].shape != ckpt2[key].shape:
237
- min_shape0 = min(ckpt1[key].shape[0], ckpt2[key].shape[0])
238
- opt["weight"][key] = (
239
- alpha1 * (ckpt1[key][:min_shape0].float())
240
- + (1 - alpha1) * (ckpt2[key][:min_shape0].float())
241
- ).half()
242
- else:
243
- opt["weight"][key] = (
244
- alpha1 * (ckpt1[key].float()) + (1 - alpha1) * (ckpt2[key].float())
245
- ).half()
246
- # except:
247
- # pdb.set_trace()
248
- opt["config"] = cfg
249
- """
250
- if(sr=="40k"):opt["config"] = [1025, 32, 192, 192, 768, 2, 6, 3, 0, "1", [3, 7, 11], [[1, 3, 5], [1, 3, 5], [1, 3, 5]], [10, 10, 2, 2], 512, [16, 16, 4, 4,4], 109, 256, 40000]
251
- elif(sr=="48k"):opt["config"] = [1025, 32, 192, 192, 768, 2, 6, 3, 0, "1", [3, 7, 11], [[1, 3, 5], [1, 3, 5], [1, 3, 5]], [10,6,2,2,2], 512, [16, 16, 4, 4], 109, 256, 48000]
252
- elif(sr=="32k"):opt["config"] = [513, 32, 192, 192, 768, 2, 6, 3, 0, "1", [3, 7, 11], [[1, 3, 5], [1, 3, 5], [1, 3, 5]], [10, 4, 2, 2, 2], 512, [16, 16, 4, 4,4], 109, 256, 32000]
253
- """
254
- opt["sr"] = sr
255
- opt["f0"] = 1 if f0 == i18n("是") else 0
256
- opt["version"] = version
257
- opt["info"] = info
258
- torch.save(opt, "weights/%s.pth" % name)
259
- return "Success."
260
- except:
261
- return traceback.format_exc()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ADOPLE/ResumeAnalyzer/README.md DELETED
@@ -1,13 +0,0 @@
1
- ---
2
- title: AdopleAI website ResumeAnalyser
3
- emoji: 🏃
4
- colorFrom: gray
5
- colorTo: indigo
6
- sdk: gradio
7
- sdk_version: 3.35.2
8
- app_file: app.py
9
- pinned: false
10
- duplicated_from: ADOPLE/AdopleAI-ResumeAnalyzer
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AI-Hobbyist/Hoyo-RVC/docs/README.ja.md DELETED
@@ -1,104 +0,0 @@
1
- <div align="center">
2
-
3
- <h1>Retrieval-based-Voice-Conversion-WebUI</h1>
4
- VITSに基づく使いやすい音声変換(voice changer)framework<br><br>
5
-
6
- [![madewithlove](https://forthebadge.com/images/badges/built-with-love.svg)](https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI)
7
-
8
- <img src="https://counter.seku.su/cmoe?name=rvc&theme=r34" /><br>
9
-
10
- [![Open In Colab](https://img.shields.io/badge/Colab-F9AB00?style=for-the-badge&logo=googlecolab&color=525252)](https://colab.research.google.com/github/liujing04/Retrieval-based-Voice-Conversion-WebUI/blob/main/Retrieval_based_Voice_Conversion_WebUI.ipynb)
11
- [![Licence](https://img.shields.io/github/license/liujing04/Retrieval-based-Voice-Conversion-WebUI?style=for-the-badge)](https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/blob/main/%E4%BD%BF%E7%94%A8%E9%9C%80%E9%81%B5%E5%AE%88%E7%9A%84%E5%8D%8F%E8%AE%AE-LICENSE.txt)
12
- [![Huggingface](https://img.shields.io/badge/🤗%20-Spaces-yellow.svg?style=for-the-badge)](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)
13
-
14
- [![Discord](https://img.shields.io/badge/RVC%20Developers-Discord-7289DA?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/HcsmBBGyVk)
15
-
16
- </div>
17
-
18
- ------
19
-
20
- [**更新日誌**](https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/blob/main/Changelog_CN.md)
21
-
22
- [**English**](./README.en.md) | [**中文简体**](../README.md) | [**日本語**](./README.ja.md) | [**한국어**](./README.ko.md) ([**韓國語**](./README.ko.han.md))
23
-
24
- > デモ動画は[こちら](https://www.bilibili.com/video/BV1pm4y1z7Gm/)でご覧ください。
25
-
26
- > RVCによるリアルタイム音声変換: [w-okada/voice-changer](https://github.com/w-okada/voice-changer)
27
-
28
- > 著作権侵害を心配することなく使用できるように、基底モデルは約50時間の高品質なオープンソースデータセットで訓練されています。
29
-
30
- > 今後も、次々と使用許可のある高品質な歌声の資料集を追加し、基底モデルを訓練する予定です。
31
-
32
- ## はじめに
33
- 本リポジトリには下記の特徴があります。
34
-
35
- + Top1検索を用いることで、生の特徴量を訓練用データセット特徴量に変換し、トーンリーケージを削減します。
36
- + 比較的貧弱なGPUでも、高速かつ簡単に訓練できます。
37
- + 少量のデータセットからでも、比較的良い結果を得ることができます。(10分以上のノイズの少ない音声を推奨します。)
38
- + モデルを融合することで、音声を混ぜることができます。(ckpt processingタブの、ckpt mergeを使用します。)
39
- + 使いやすいWebUI。
40
- + UVR5 Modelも含んでいるため、人の声とBGMを素早く分離できます。
41
-
42
- ## 環境構築
43
- Poetryで依存関係をインストールすることをお勧めします。
44
-
45
- 下記のコマンドは、Python3.8以上の環境で実行する必要があります:
46
- ```bash
47
- # PyTorch関連の依存関係をインストール。インストール済の場合は省略。
48
- # 参照先: https://pytorch.org/get-started/locally/
49
- pip install torch torchvision torchaudio
50
-
51
- #Windows+ Nvidia Ampere Architecture(RTX30xx)の場合、 #21 に従い、pytorchに対応するcuda versionを指定する必要があります。
52
- #pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
53
-
54
- # PyTorch関連の依存関係をインストール。インストール済の場合は省略。
55
- # 参照先: https://python-poetry.org/docs/#installation
56
- curl -sSL https://install.python-poetry.org | python3 -
57
-
58
- # Poetry経由で依存関係をインストール
59
- poetry install
60
- ```
61
-
62
- pipでも依存関係のインストールが可能です:
63
-
64
- ```bash
65
- pip install -r requirements.txt
66
- ```
67
-
68
- ## 基底modelsを準備
69
- RVCは推論/訓練のために、様々な事前訓練を行った基底モデルを必要とします。
70
-
71
- modelsは[Hugging Face space](https://huggingface.co/lj1995/VoiceConversionWebUI/tree/main/)からダウンロードできます。
72
-
73
- 以下は、RVCに必要な基底モデルやその他のファイルの一覧です。
74
- ```bash
75
- hubert_base.pt
76
-
77
- ./pretrained
78
-
79
- ./uvr5_weights
80
-
81
- # ffmpegがすでにinstallされている場合は省略
82
- ./ffmpeg
83
- ```
84
- その後、下記のコマンドでWebUIを起動します。
85
- ```bash
86
- python infer-web.py
87
- ```
88
- Windowsをお使いの方は、直接`RVC-beta.7z`をダウンロード後に展開し、`go-web.bat`をクリックすることで、WebUIを起動することができます。(7zipが必要です。)
89
-
90
- また、リポジトリに[小白简易教程.doc](./小白简易教程.doc)がありますので、参考にしてください(中国語版のみ)。
91
-
92
- ## 参考プロジェクト
93
- + [ContentVec](https://github.com/auspicious3000/contentvec/)
94
- + [VITS](https://github.com/jaywalnut310/vits)
95
- + [HIFIGAN](https://github.com/jik876/hifi-gan)
96
- + [Gradio](https://github.com/gradio-app/gradio)
97
- + [FFmpeg](https://github.com/FFmpeg/FFmpeg)
98
- + [Ultimate Vocal Remover](https://github.com/Anjok07/ultimatevocalremovergui)
99
- + [audio-slicer](https://github.com/openvpi/audio-slicer)
100
-
101
- ## 貢献者(contributor)の皆様の尽力に感謝します
102
- <a href="https://github.com/liujing04/Retrieval-based-Voice-Conversion-WebUI/graphs/contributors" target="_blank">
103
- <img src="https://contrib.rocks/image?repo=liujing04/Retrieval-based-Voice-Conversion-WebUI" />
104
- </a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIConsultant/MusicGen/audiocraft/losses/__init__.py DELETED
@@ -1,21 +0,0 @@
1
- # Copyright (c) Meta Platforms, Inc. and affiliates.
2
- # All rights reserved.
3
- #
4
- # This source code is licensed under the license found in the
5
- # LICENSE file in the root directory of this source tree.
6
- """Loss related classes and functions. In particular the loss balancer from
7
- EnCodec, and the usual spectral losses."""
8
-
9
- # flake8: noqa
10
- from .balancer import Balancer
11
- from .sisnr import SISNR
12
- from .stftloss import (
13
- LogSTFTMagnitudeLoss,
14
- MRSTFTLoss,
15
- SpectralConvergenceLoss,
16
- STFTLoss
17
- )
18
- from .specloss import (
19
- MelSpectrogramL1Loss,
20
- MultiScaleMelSpectrogramLoss,
21
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIFILMS/generate_human_motion/VQ-Trans/models/quantize_cnn.py DELETED
@@ -1,415 +0,0 @@
1
- import numpy as np
2
- import torch
3
- import torch.nn as nn
4
- import torch.nn.functional as F
5
-
6
- class QuantizeEMAReset(nn.Module):
7
- def __init__(self, nb_code, code_dim, args):
8
- super().__init__()
9
- self.nb_code = nb_code
10
- self.code_dim = code_dim
11
- self.mu = args.mu
12
- self.reset_codebook()
13
-
14
- def reset_codebook(self):
15
- self.init = False
16
- self.code_sum = None
17
- self.code_count = None
18
- if torch.cuda.is_available():
19
- self.register_buffer('codebook', torch.zeros(self.nb_code, self.code_dim).cuda())
20
- else:
21
- self.register_buffer('codebook', torch.zeros(self.nb_code, self.code_dim))
22
-
23
- def _tile(self, x):
24
- nb_code_x, code_dim = x.shape
25
- if nb_code_x < self.nb_code:
26
- n_repeats = (self.nb_code + nb_code_x - 1) // nb_code_x
27
- std = 0.01 / np.sqrt(code_dim)
28
- out = x.repeat(n_repeats, 1)
29
- out = out + torch.randn_like(out) * std
30
- else :
31
- out = x
32
- return out
33
-
34
- def init_codebook(self, x):
35
- out = self._tile(x)
36
- self.codebook = out[:self.nb_code]
37
- self.code_sum = self.codebook.clone()
38
- self.code_count = torch.ones(self.nb_code, device=self.codebook.device)
39
- self.init = True
40
-
41
- @torch.no_grad()
42
- def compute_perplexity(self, code_idx) :
43
- # Calculate new centres
44
- code_onehot = torch.zeros(self.nb_code, code_idx.shape[0], device=code_idx.device) # nb_code, N * L
45
- code_onehot.scatter_(0, code_idx.view(1, code_idx.shape[0]), 1)
46
-
47
- code_count = code_onehot.sum(dim=-1) # nb_code
48
- prob = code_count / torch.sum(code_count)
49
- perplexity = torch.exp(-torch.sum(prob * torch.log(prob + 1e-7)))
50
- return perplexity
51
-
52
- @torch.no_grad()
53
- def update_codebook(self, x, code_idx):
54
-
55
- code_onehot = torch.zeros(self.nb_code, x.shape[0], device=x.device) # nb_code, N * L
56
- code_onehot.scatter_(0, code_idx.view(1, x.shape[0]), 1)
57
-
58
- code_sum = torch.matmul(code_onehot, x) # nb_code, w
59
- code_count = code_onehot.sum(dim=-1) # nb_code
60
-
61
- out = self._tile(x)
62
- code_rand = out[:self.nb_code]
63
-
64
- # Update centres
65
- self.code_sum = self.mu * self.code_sum + (1. - self.mu) * code_sum # w, nb_code
66
- self.code_count = self.mu * self.code_count + (1. - self.mu) * code_count # nb_code
67
-
68
- usage = (self.code_count.view(self.nb_code, 1) >= 1.0).float()
69
- code_update = self.code_sum.view(self.nb_code, self.code_dim) / self.code_count.view(self.nb_code, 1)
70
-
71
- self.codebook = usage * code_update + (1 - usage) * code_rand
72
- prob = code_count / torch.sum(code_count)
73
- perplexity = torch.exp(-torch.sum(prob * torch.log(prob + 1e-7)))
74
-
75
-
76
- return perplexity
77
-
78
- def preprocess(self, x):
79
- # NCT -> NTC -> [NT, C]
80
- x = x.permute(0, 2, 1).contiguous()
81
- x = x.view(-1, x.shape[-1])
82
- return x
83
-
84
- def quantize(self, x):
85
- # Calculate latent code x_l
86
- k_w = self.codebook.t()
87
- distance = torch.sum(x ** 2, dim=-1, keepdim=True) - 2 * torch.matmul(x, k_w) + torch.sum(k_w ** 2, dim=0,
88
- keepdim=True) # (N * L, b)
89
- _, code_idx = torch.min(distance, dim=-1)
90
- return code_idx
91
-
92
- def dequantize(self, code_idx):
93
- x = F.embedding(code_idx, self.codebook)
94
- return x
95
-
96
-
97
- def forward(self, x):
98
- N, width, T = x.shape
99
-
100
- # Preprocess
101
- x = self.preprocess(x)
102
-
103
- # Init codebook if not inited
104
- if self.training and not self.init:
105
- self.init_codebook(x)
106
-
107
- # quantize and dequantize through bottleneck
108
- code_idx = self.quantize(x)
109
- x_d = self.dequantize(code_idx)
110
-
111
- # Update embeddings
112
- if self.training:
113
- perplexity = self.update_codebook(x, code_idx)
114
- else :
115
- perplexity = self.compute_perplexity(code_idx)
116
-
117
- # Loss
118
- commit_loss = F.mse_loss(x, x_d.detach())
119
-
120
- # Passthrough
121
- x_d = x + (x_d - x).detach()
122
-
123
- # Postprocess
124
- x_d = x_d.view(N, T, -1).permute(0, 2, 1).contiguous() #(N, DIM, T)
125
-
126
- return x_d, commit_loss, perplexity
127
-
128
-
129
-
130
- class Quantizer(nn.Module):
131
- def __init__(self, n_e, e_dim, beta):
132
- super(Quantizer, self).__init__()
133
-
134
- self.e_dim = e_dim
135
- self.n_e = n_e
136
- self.beta = beta
137
-
138
- self.embedding = nn.Embedding(self.n_e, self.e_dim)
139
- self.embedding.weight.data.uniform_(-1.0 / self.n_e, 1.0 / self.n_e)
140
-
141
- def forward(self, z):
142
-
143
- N, width, T = z.shape
144
- z = self.preprocess(z)
145
- assert z.shape[-1] == self.e_dim
146
- z_flattened = z.contiguous().view(-1, self.e_dim)
147
-
148
- # B x V
149
- d = torch.sum(z_flattened ** 2, dim=1, keepdim=True) + \
150
- torch.sum(self.embedding.weight**2, dim=1) - 2 * \
151
- torch.matmul(z_flattened, self.embedding.weight.t())
152
- # B x 1
153
- min_encoding_indices = torch.argmin(d, dim=1)
154
- z_q = self.embedding(min_encoding_indices).view(z.shape)
155
-
156
- # compute loss for embedding
157
- loss = torch.mean((z_q - z.detach())**2) + self.beta * \
158
- torch.mean((z_q.detach() - z)**2)
159
-
160
- # preserve gradients
161
- z_q = z + (z_q - z).detach()
162
- z_q = z_q.view(N, T, -1).permute(0, 2, 1).contiguous() #(N, DIM, T)
163
-
164
- min_encodings = F.one_hot(min_encoding_indices, self.n_e).type(z.dtype)
165
- e_mean = torch.mean(min_encodings, dim=0)
166
- perplexity = torch.exp(-torch.sum(e_mean*torch.log(e_mean + 1e-10)))
167
- return z_q, loss, perplexity
168
-
169
- def quantize(self, z):
170
-
171
- assert z.shape[-1] == self.e_dim
172
-
173
- # B x V
174
- d = torch.sum(z ** 2, dim=1, keepdim=True) + \
175
- torch.sum(self.embedding.weight ** 2, dim=1) - 2 * \
176
- torch.matmul(z, self.embedding.weight.t())
177
- # B x 1
178
- min_encoding_indices = torch.argmin(d, dim=1)
179
- return min_encoding_indices
180
-
181
- def dequantize(self, indices):
182
-
183
- index_flattened = indices.view(-1)
184
- z_q = self.embedding(index_flattened)
185
- z_q = z_q.view(indices.shape + (self.e_dim, )).contiguous()
186
- return z_q
187
-
188
- def preprocess(self, x):
189
- # NCT -> NTC -> [NT, C]
190
- x = x.permute(0, 2, 1).contiguous()
191
- x = x.view(-1, x.shape[-1])
192
- return x
193
-
194
-
195
-
196
- class QuantizeReset(nn.Module):
197
- def __init__(self, nb_code, code_dim, args):
198
- super().__init__()
199
- self.nb_code = nb_code
200
- self.code_dim = code_dim
201
- self.reset_codebook()
202
- self.codebook = nn.Parameter(torch.randn(nb_code, code_dim))
203
-
204
- def reset_codebook(self):
205
- self.init = False
206
- self.code_count = None
207
-
208
- def _tile(self, x):
209
- nb_code_x, code_dim = x.shape
210
- if nb_code_x < self.nb_code:
211
- n_repeats = (self.nb_code + nb_code_x - 1) // nb_code_x
212
- std = 0.01 / np.sqrt(code_dim)
213
- out = x.repeat(n_repeats, 1)
214
- out = out + torch.randn_like(out) * std
215
- else :
216
- out = x
217
- return out
218
-
219
- def init_codebook(self, x):
220
- out = self._tile(x)
221
- self.codebook = nn.Parameter(out[:self.nb_code])
222
- self.code_count = torch.ones(self.nb_code, device=self.codebook.device)
223
- self.init = True
224
-
225
- @torch.no_grad()
226
- def compute_perplexity(self, code_idx) :
227
- # Calculate new centres
228
- code_onehot = torch.zeros(self.nb_code, code_idx.shape[0], device=code_idx.device) # nb_code, N * L
229
- code_onehot.scatter_(0, code_idx.view(1, code_idx.shape[0]), 1)
230
-
231
- code_count = code_onehot.sum(dim=-1) # nb_code
232
- prob = code_count / torch.sum(code_count)
233
- perplexity = torch.exp(-torch.sum(prob * torch.log(prob + 1e-7)))
234
- return perplexity
235
-
236
- def update_codebook(self, x, code_idx):
237
-
238
- code_onehot = torch.zeros(self.nb_code, x.shape[0], device=x.device) # nb_code, N * L
239
- code_onehot.scatter_(0, code_idx.view(1, x.shape[0]), 1)
240
-
241
- code_count = code_onehot.sum(dim=-1) # nb_code
242
-
243
- out = self._tile(x)
244
- code_rand = out[:self.nb_code]
245
-
246
- # Update centres
247
- self.code_count = code_count # nb_code
248
- usage = (self.code_count.view(self.nb_code, 1) >= 1.0).float()
249
-
250
- self.codebook.data = usage * self.codebook.data + (1 - usage) * code_rand
251
- prob = code_count / torch.sum(code_count)
252
- perplexity = torch.exp(-torch.sum(prob * torch.log(prob + 1e-7)))
253
-
254
-
255
- return perplexity
256
-
257
- def preprocess(self, x):
258
- # NCT -> NTC -> [NT, C]
259
- x = x.permute(0, 2, 1).contiguous()
260
- x = x.view(-1, x.shape[-1])
261
- return x
262
-
263
- def quantize(self, x):
264
- # Calculate latent code x_l
265
- k_w = self.codebook.t()
266
- distance = torch.sum(x ** 2, dim=-1, keepdim=True) - 2 * torch.matmul(x, k_w) + torch.sum(k_w ** 2, dim=0,
267
- keepdim=True) # (N * L, b)
268
- _, code_idx = torch.min(distance, dim=-1)
269
- return code_idx
270
-
271
- def dequantize(self, code_idx):
272
- x = F.embedding(code_idx, self.codebook)
273
- return x
274
-
275
-
276
- def forward(self, x):
277
- N, width, T = x.shape
278
- # Preprocess
279
- x = self.preprocess(x)
280
- # Init codebook if not inited
281
- if self.training and not self.init:
282
- self.init_codebook(x)
283
- # quantize and dequantize through bottleneck
284
- code_idx = self.quantize(x)
285
- x_d = self.dequantize(code_idx)
286
- # Update embeddings
287
- if self.training:
288
- perplexity = self.update_codebook(x, code_idx)
289
- else :
290
- perplexity = self.compute_perplexity(code_idx)
291
-
292
- # Loss
293
- commit_loss = F.mse_loss(x, x_d.detach())
294
-
295
- # Passthrough
296
- x_d = x + (x_d - x).detach()
297
-
298
- # Postprocess
299
- x_d = x_d.view(N, T, -1).permute(0, 2, 1).contiguous() #(N, DIM, T)
300
-
301
- return x_d, commit_loss, perplexity
302
-
303
- class QuantizeEMA(nn.Module):
304
- def __init__(self, nb_code, code_dim, args):
305
- super().__init__()
306
- self.nb_code = nb_code
307
- self.code_dim = code_dim
308
- self.mu = 0.99
309
- self.reset_codebook()
310
-
311
- def reset_codebook(self):
312
- self.init = False
313
- self.code_sum = None
314
- self.code_count = None
315
- self.register_buffer('codebook', torch.zeros(self.nb_code, self.code_dim).cuda())
316
-
317
- def _tile(self, x):
318
- nb_code_x, code_dim = x.shape
319
- if nb_code_x < self.nb_code:
320
- n_repeats = (self.nb_code + nb_code_x - 1) // nb_code_x
321
- std = 0.01 / np.sqrt(code_dim)
322
- out = x.repeat(n_repeats, 1)
323
- out = out + torch.randn_like(out) * std
324
- else :
325
- out = x
326
- return out
327
-
328
- def init_codebook(self, x):
329
- out = self._tile(x)
330
- self.codebook = out[:self.nb_code]
331
- self.code_sum = self.codebook.clone()
332
- self.code_count = torch.ones(self.nb_code, device=self.codebook.device)
333
- self.init = True
334
-
335
- @torch.no_grad()
336
- def compute_perplexity(self, code_idx) :
337
- # Calculate new centres
338
- code_onehot = torch.zeros(self.nb_code, code_idx.shape[0], device=code_idx.device) # nb_code, N * L
339
- code_onehot.scatter_(0, code_idx.view(1, code_idx.shape[0]), 1)
340
-
341
- code_count = code_onehot.sum(dim=-1) # nb_code
342
- prob = code_count / torch.sum(code_count)
343
- perplexity = torch.exp(-torch.sum(prob * torch.log(prob + 1e-7)))
344
- return perplexity
345
-
346
- @torch.no_grad()
347
- def update_codebook(self, x, code_idx):
348
-
349
- code_onehot = torch.zeros(self.nb_code, x.shape[0], device=x.device) # nb_code, N * L
350
- code_onehot.scatter_(0, code_idx.view(1, x.shape[0]), 1)
351
-
352
- code_sum = torch.matmul(code_onehot, x) # nb_code, w
353
- code_count = code_onehot.sum(dim=-1) # nb_code
354
-
355
- # Update centres
356
- self.code_sum = self.mu * self.code_sum + (1. - self.mu) * code_sum # w, nb_code
357
- self.code_count = self.mu * self.code_count + (1. - self.mu) * code_count # nb_code
358
-
359
- code_update = self.code_sum.view(self.nb_code, self.code_dim) / self.code_count.view(self.nb_code, 1)
360
-
361
- self.codebook = code_update
362
- prob = code_count / torch.sum(code_count)
363
- perplexity = torch.exp(-torch.sum(prob * torch.log(prob + 1e-7)))
364
-
365
- return perplexity
366
-
367
- def preprocess(self, x):
368
- # NCT -> NTC -> [NT, C]
369
- x = x.permute(0, 2, 1).contiguous()
370
- x = x.view(-1, x.shape[-1])
371
- return x
372
-
373
- def quantize(self, x):
374
- # Calculate latent code x_l
375
- k_w = self.codebook.t()
376
- distance = torch.sum(x ** 2, dim=-1, keepdim=True) - 2 * torch.matmul(x, k_w) + torch.sum(k_w ** 2, dim=0,
377
- keepdim=True) # (N * L, b)
378
- _, code_idx = torch.min(distance, dim=-1)
379
- return code_idx
380
-
381
- def dequantize(self, code_idx):
382
- x = F.embedding(code_idx, self.codebook)
383
- return x
384
-
385
-
386
- def forward(self, x):
387
- N, width, T = x.shape
388
-
389
- # Preprocess
390
- x = self.preprocess(x)
391
-
392
- # Init codebook if not inited
393
- if self.training and not self.init:
394
- self.init_codebook(x)
395
-
396
- # quantize and dequantize through bottleneck
397
- code_idx = self.quantize(x)
398
- x_d = self.dequantize(code_idx)
399
-
400
- # Update embeddings
401
- if self.training:
402
- perplexity = self.update_codebook(x, code_idx)
403
- else :
404
- perplexity = self.compute_perplexity(code_idx)
405
-
406
- # Loss
407
- commit_loss = F.mse_loss(x, x_d.detach())
408
-
409
- # Passthrough
410
- x_d = x + (x_d - x).detach()
411
-
412
- # Postprocess
413
- x_d = x_d.view(N, T, -1).permute(0, 2, 1).contiguous() #(N, DIM, T)
414
-
415
- return x_d, commit_loss, perplexity
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGC-Audio/AudioGPT/audio_detection/audio_infer/utils/plot_statistics.py DELETED
The diff for this file is too large to render. See raw diff
 
spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/tts/commons/align_ops.py DELETED
@@ -1,25 +0,0 @@
1
- import torch
2
- import torch.nn.functional as F
3
-
4
-
5
- def build_word_mask(x2word, y2word):
6
- return (x2word[:, :, None] == y2word[:, None, :]).long()
7
-
8
-
9
- def mel2ph_to_mel2word(mel2ph, ph2word):
10
- mel2word = (ph2word - 1).gather(1, (mel2ph - 1).clamp(min=0)) + 1
11
- mel2word = mel2word * (mel2ph > 0).long()
12
- return mel2word
13
-
14
-
15
- def clip_mel2token_to_multiple(mel2token, frames_multiple):
16
- max_frames = mel2token.shape[1] // frames_multiple * frames_multiple
17
- mel2token = mel2token[:, :max_frames]
18
- return mel2token
19
-
20
-
21
- def expand_states(h, mel2token):
22
- h = F.pad(h, [0, 0, 1, 0])
23
- mel2token_ = mel2token[..., None].repeat([1, 1, h.shape[-1]])
24
- h = torch.gather(h, 1, mel2token_) # [B, T, H]
25
- return h
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/vocoder/parallel_wavegan/layers/residual_stack.py DELETED
@@ -1,75 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- # Copyright 2020 Tomoki Hayashi
4
- # MIT License (https://opensource.org/licenses/MIT)
5
-
6
- """Residual stack module in MelGAN."""
7
-
8
- import torch
9
-
10
- from . import CausalConv1d
11
-
12
-
13
- class ResidualStack(torch.nn.Module):
14
- """Residual stack module introduced in MelGAN."""
15
-
16
- def __init__(self,
17
- kernel_size=3,
18
- channels=32,
19
- dilation=1,
20
- bias=True,
21
- nonlinear_activation="LeakyReLU",
22
- nonlinear_activation_params={"negative_slope": 0.2},
23
- pad="ReflectionPad1d",
24
- pad_params={},
25
- use_causal_conv=False,
26
- ):
27
- """Initialize ResidualStack module.
28
-
29
- Args:
30
- kernel_size (int): Kernel size of dilation convolution layer.
31
- channels (int): Number of channels of convolution layers.
32
- dilation (int): Dilation factor.
33
- bias (bool): Whether to add bias parameter in convolution layers.
34
- nonlinear_activation (str): Activation function module name.
35
- nonlinear_activation_params (dict): Hyperparameters for activation function.
36
- pad (str): Padding function module name before dilated convolution layer.
37
- pad_params (dict): Hyperparameters for padding function.
38
- use_causal_conv (bool): Whether to use causal convolution.
39
-
40
- """
41
- super(ResidualStack, self).__init__()
42
-
43
- # defile residual stack part
44
- if not use_causal_conv:
45
- assert (kernel_size - 1) % 2 == 0, "Not support even number kernel size."
46
- self.stack = torch.nn.Sequential(
47
- getattr(torch.nn, nonlinear_activation)(**nonlinear_activation_params),
48
- getattr(torch.nn, pad)((kernel_size - 1) // 2 * dilation, **pad_params),
49
- torch.nn.Conv1d(channels, channels, kernel_size, dilation=dilation, bias=bias),
50
- getattr(torch.nn, nonlinear_activation)(**nonlinear_activation_params),
51
- torch.nn.Conv1d(channels, channels, 1, bias=bias),
52
- )
53
- else:
54
- self.stack = torch.nn.Sequential(
55
- getattr(torch.nn, nonlinear_activation)(**nonlinear_activation_params),
56
- CausalConv1d(channels, channels, kernel_size, dilation=dilation,
57
- bias=bias, pad=pad, pad_params=pad_params),
58
- getattr(torch.nn, nonlinear_activation)(**nonlinear_activation_params),
59
- torch.nn.Conv1d(channels, channels, 1, bias=bias),
60
- )
61
-
62
- # defile extra layer for skip connection
63
- self.skip_layer = torch.nn.Conv1d(channels, channels, 1, bias=bias)
64
-
65
- def forward(self, c):
66
- """Calculate forward propagation.
67
-
68
- Args:
69
- c (Tensor): Input tensor (B, channels, T).
70
-
71
- Returns:
72
- Tensor: Output tensor (B, chennels, T).
73
-
74
- """
75
- return self.stack(c) + self.skip_layer(c)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGC-Audio/AudioGPT/text_to_speech/modules/vocoder/parallel_wavegan/layers/upsample.py DELETED
@@ -1,183 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
-
3
- """Upsampling module.
4
-
5
- This code is modified from https://github.com/r9y9/wavenet_vocoder.
6
-
7
- """
8
-
9
- import numpy as np
10
- import torch
11
- import torch.nn.functional as F
12
-
13
- from . import Conv1d
14
-
15
-
16
- class Stretch2d(torch.nn.Module):
17
- """Stretch2d module."""
18
-
19
- def __init__(self, x_scale, y_scale, mode="nearest"):
20
- """Initialize Stretch2d module.
21
-
22
- Args:
23
- x_scale (int): X scaling factor (Time axis in spectrogram).
24
- y_scale (int): Y scaling factor (Frequency axis in spectrogram).
25
- mode (str): Interpolation mode.
26
-
27
- """
28
- super(Stretch2d, self).__init__()
29
- self.x_scale = x_scale
30
- self.y_scale = y_scale
31
- self.mode = mode
32
-
33
- def forward(self, x):
34
- """Calculate forward propagation.
35
-
36
- Args:
37
- x (Tensor): Input tensor (B, C, F, T).
38
-
39
- Returns:
40
- Tensor: Interpolated tensor (B, C, F * y_scale, T * x_scale),
41
-
42
- """
43
- return F.interpolate(
44
- x, scale_factor=(self.y_scale, self.x_scale), mode=self.mode)
45
-
46
-
47
- class Conv2d(torch.nn.Conv2d):
48
- """Conv2d module with customized initialization."""
49
-
50
- def __init__(self, *args, **kwargs):
51
- """Initialize Conv2d module."""
52
- super(Conv2d, self).__init__(*args, **kwargs)
53
-
54
- def reset_parameters(self):
55
- """Reset parameters."""
56
- self.weight.data.fill_(1. / np.prod(self.kernel_size))
57
- if self.bias is not None:
58
- torch.nn.init.constant_(self.bias, 0.0)
59
-
60
-
61
- class UpsampleNetwork(torch.nn.Module):
62
- """Upsampling network module."""
63
-
64
- def __init__(self,
65
- upsample_scales,
66
- nonlinear_activation=None,
67
- nonlinear_activation_params={},
68
- interpolate_mode="nearest",
69
- freq_axis_kernel_size=1,
70
- use_causal_conv=False,
71
- ):
72
- """Initialize upsampling network module.
73
-
74
- Args:
75
- upsample_scales (list): List of upsampling scales.
76
- nonlinear_activation (str): Activation function name.
77
- nonlinear_activation_params (dict): Arguments for specified activation function.
78
- interpolate_mode (str): Interpolation mode.
79
- freq_axis_kernel_size (int): Kernel size in the direction of frequency axis.
80
-
81
- """
82
- super(UpsampleNetwork, self).__init__()
83
- self.use_causal_conv = use_causal_conv
84
- self.up_layers = torch.nn.ModuleList()
85
- for scale in upsample_scales:
86
- # interpolation layer
87
- stretch = Stretch2d(scale, 1, interpolate_mode)
88
- self.up_layers += [stretch]
89
-
90
- # conv layer
91
- assert (freq_axis_kernel_size - 1) % 2 == 0, "Not support even number freq axis kernel size."
92
- freq_axis_padding = (freq_axis_kernel_size - 1) // 2
93
- kernel_size = (freq_axis_kernel_size, scale * 2 + 1)
94
- if use_causal_conv:
95
- padding = (freq_axis_padding, scale * 2)
96
- else:
97
- padding = (freq_axis_padding, scale)
98
- conv = Conv2d(1, 1, kernel_size=kernel_size, padding=padding, bias=False)
99
- self.up_layers += [conv]
100
-
101
- # nonlinear
102
- if nonlinear_activation is not None:
103
- nonlinear = getattr(torch.nn, nonlinear_activation)(**nonlinear_activation_params)
104
- self.up_layers += [nonlinear]
105
-
106
- def forward(self, c):
107
- """Calculate forward propagation.
108
-
109
- Args:
110
- c : Input tensor (B, C, T).
111
-
112
- Returns:
113
- Tensor: Upsampled tensor (B, C, T'), where T' = T * prod(upsample_scales).
114
-
115
- """
116
- c = c.unsqueeze(1) # (B, 1, C, T)
117
- for f in self.up_layers:
118
- if self.use_causal_conv and isinstance(f, Conv2d):
119
- c = f(c)[..., :c.size(-1)]
120
- else:
121
- c = f(c)
122
- return c.squeeze(1) # (B, C, T')
123
-
124
-
125
- class ConvInUpsampleNetwork(torch.nn.Module):
126
- """Convolution + upsampling network module."""
127
-
128
- def __init__(self,
129
- upsample_scales,
130
- nonlinear_activation=None,
131
- nonlinear_activation_params={},
132
- interpolate_mode="nearest",
133
- freq_axis_kernel_size=1,
134
- aux_channels=80,
135
- aux_context_window=0,
136
- use_causal_conv=False
137
- ):
138
- """Initialize convolution + upsampling network module.
139
-
140
- Args:
141
- upsample_scales (list): List of upsampling scales.
142
- nonlinear_activation (str): Activation function name.
143
- nonlinear_activation_params (dict): Arguments for specified activation function.
144
- mode (str): Interpolation mode.
145
- freq_axis_kernel_size (int): Kernel size in the direction of frequency axis.
146
- aux_channels (int): Number of channels of pre-convolutional layer.
147
- aux_context_window (int): Context window size of the pre-convolutional layer.
148
- use_causal_conv (bool): Whether to use causal structure.
149
-
150
- """
151
- super(ConvInUpsampleNetwork, self).__init__()
152
- self.aux_context_window = aux_context_window
153
- self.use_causal_conv = use_causal_conv and aux_context_window > 0
154
- # To capture wide-context information in conditional features
155
- kernel_size = aux_context_window + 1 if use_causal_conv else 2 * aux_context_window + 1
156
- # NOTE(kan-bayashi): Here do not use padding because the input is already padded
157
- self.conv_in = Conv1d(aux_channels, aux_channels, kernel_size=kernel_size, bias=False)
158
- self.upsample = UpsampleNetwork(
159
- upsample_scales=upsample_scales,
160
- nonlinear_activation=nonlinear_activation,
161
- nonlinear_activation_params=nonlinear_activation_params,
162
- interpolate_mode=interpolate_mode,
163
- freq_axis_kernel_size=freq_axis_kernel_size,
164
- use_causal_conv=use_causal_conv,
165
- )
166
-
167
- def forward(self, c):
168
- """Calculate forward propagation.
169
-
170
- Args:
171
- c : Input tensor (B, C, T').
172
-
173
- Returns:
174
- Tensor: Upsampled tensor (B, C, T),
175
- where T = (T' - aux_context_window * 2) * prod(upsample_scales).
176
-
177
- Note:
178
- The length of inputs considers the context window size.
179
-
180
- """
181
- c_ = self.conv_in(c)
182
- c = c_[:, :, :-self.aux_context_window] if self.use_causal_conv else c_
183
- return self.upsample(c)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AIGText/GlyphControl/ldm/models/diffusion/sampling_util.py DELETED
@@ -1,22 +0,0 @@
1
- import torch
2
- import numpy as np
3
-
4
-
5
- def append_dims(x, target_dims):
6
- """Appends dimensions to the end of a tensor until it has target_dims dimensions.
7
- From https://github.com/crowsonkb/k-diffusion/blob/master/k_diffusion/utils.py"""
8
- dims_to_append = target_dims - x.ndim
9
- if dims_to_append < 0:
10
- raise ValueError(f'input has {x.ndim} dims but target_dims is {target_dims}, which is less')
11
- return x[(...,) + (None,) * dims_to_append]
12
-
13
-
14
- def norm_thresholding(x0, value):
15
- s = append_dims(x0.pow(2).flatten(1).mean(1).sqrt().clamp(min=value), x0.ndim)
16
- return x0 * (value / s)
17
-
18
-
19
- def spatial_norm_thresholding(x0, value):
20
- # b c h w
21
- s = x0.pow(2).mean(1, keepdim=True).sqrt().clamp(min=value)
22
- return x0 * (value / s)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/ATang0729/Forecast4Muses/Model/Model6/Model6_0_ClothesDetection/mmyolo/configs/yolov5/crowdhuman/yolov5_s-v61_8xb16-300e_ignore_crowdhuman.py DELETED
@@ -1,63 +0,0 @@
1
- _base_ = 'yolov5_s-v61_fast_8xb16-300e_crowdhuman.py'
2
-
3
- model = dict(
4
- data_preprocessor=dict(
5
- _delete_=True,
6
- type='mmdet.DetDataPreprocessor',
7
- mean=[0., 0., 0.],
8
- std=[255., 255., 255.],
9
- bgr_to_rgb=True),
10
- bbox_head=dict(ignore_iof_thr=0.5))
11
-
12
- img_scale = _base_.img_scale
13
-
14
- albu_train_transforms = [
15
- dict(type='Blur', p=0.01),
16
- dict(type='MedianBlur', p=0.01),
17
- dict(type='ToGray', p=0.01),
18
- dict(type='CLAHE', p=0.01)
19
- ]
20
-
21
- pre_transform = [
22
- dict(type='LoadImageFromFile', file_client_args=_base_.file_client_args),
23
- # only change this
24
- dict(type='mmdet.LoadAnnotations', with_bbox=True)
25
- ]
26
-
27
- train_pipeline = [
28
- *pre_transform,
29
- dict(
30
- type='Mosaic',
31
- img_scale=img_scale,
32
- pad_val=114.0,
33
- pre_transform=pre_transform),
34
- dict(
35
- type='YOLOv5RandomAffine',
36
- max_rotate_degree=0.0,
37
- max_shear_degree=0.0,
38
- scaling_ratio_range=(0.5, 1.5),
39
- # img_scale is (width, height)
40
- border=(-img_scale[0] // 2, -img_scale[1] // 2),
41
- border_val=(114, 114, 114)),
42
- dict(
43
- type='mmdet.Albu',
44
- transforms=albu_train_transforms,
45
- bbox_params=dict(
46
- type='BboxParams',
47
- format='pascal_voc',
48
- label_fields=['gt_bboxes_labels', 'gt_ignore_flags']),
49
- keymap={
50
- 'img': 'image',
51
- 'gt_bboxes': 'bboxes'
52
- }),
53
- dict(type='YOLOv5HSVRandomAug'),
54
- dict(type='mmdet.RandomFlip', prob=0.5),
55
- dict(
56
- type='mmdet.PackDetInputs',
57
- meta_keys=('img_id', 'img_path', 'ori_shape', 'img_shape', 'flip',
58
- 'flip_direction'))
59
- ]
60
-
61
- train_dataloader = dict(
62
- collate_fn=dict(type='pseudo_collate'),
63
- dataset=dict(pipeline=train_pipeline))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AchyuthGamer/OpenGPT/g4f/Provider/needs_auth/OpenaiChat.py DELETED
@@ -1,125 +0,0 @@
1
- from __future__ import annotations
2
-
3
- import uuid, json, time
4
-
5
- from ..base_provider import AsyncGeneratorProvider
6
- from ..helper import get_browser, get_cookies, format_prompt
7
- from ...typing import AsyncGenerator
8
- from ...requests import StreamSession
9
-
10
- class OpenaiChat(AsyncGeneratorProvider):
11
- url = "https://chat.openai.com"
12
- needs_auth = True
13
- working = True
14
- supports_gpt_35_turbo = True
15
- _access_token = None
16
-
17
- @classmethod
18
- async def create_async_generator(
19
- cls,
20
- model: str,
21
- messages: list[dict[str, str]],
22
- proxy: str = None,
23
- access_token: str = None,
24
- cookies: dict = None,
25
- timeout: int = 30,
26
- **kwargs: dict
27
- ) -> AsyncGenerator:
28
- proxies = {"https": proxy}
29
- if not access_token:
30
- access_token = await cls.get_access_token(cookies, proxies)
31
- headers = {
32
- "Accept": "text/event-stream",
33
- "Authorization": f"Bearer {access_token}",
34
- }
35
- async with StreamSession(proxies=proxies, headers=headers, impersonate="chrome107", timeout=timeout) as session:
36
- messages = [
37
- {
38
- "id": str(uuid.uuid4()),
39
- "author": {"role": "user"},
40
- "content": {"content_type": "text", "parts": [format_prompt(messages)]},
41
- },
42
- ]
43
- data = {
44
- "action": "next",
45
- "messages": messages,
46
- "conversation_id": None,
47
- "parent_message_id": str(uuid.uuid4()),
48
- "model": "text-davinci-002-render-sha",
49
- "history_and_training_disabled": True,
50
- }
51
- async with session.post(f"{cls.url}/backend-api/conversation", json=data) as response:
52
- response.raise_for_status()
53
- last_message = ""
54
- async for line in response.iter_lines():
55
- if line.startswith(b"data: "):
56
- line = line[6:]
57
- if line == b"[DONE]":
58
- break
59
- try:
60
- line = json.loads(line)
61
- except:
62
- continue
63
- if "message" not in line or "message_type" not in line["message"]["metadata"]:
64
- continue
65
- if line["message"]["metadata"]["message_type"] == "next":
66
- new_message = line["message"]["content"]["parts"][0]
67
- yield new_message[len(last_message):]
68
- last_message = new_message
69
-
70
- @classmethod
71
- def browse_access_token(cls) -> str:
72
- try:
73
- from selenium.webdriver.common.by import By
74
- from selenium.webdriver.support.ui import WebDriverWait
75
- from selenium.webdriver.support import expected_conditions as EC
76
-
77
- driver = get_browser()
78
- except ImportError:
79
- return
80
-
81
- driver.get(f"{cls.url}/")
82
- try:
83
- WebDriverWait(driver, 1200).until(
84
- EC.presence_of_element_located((By.ID, "prompt-textarea"))
85
- )
86
- javascript = "return (await (await fetch('/api/auth/session')).json())['accessToken']"
87
- return driver.execute_script(javascript)
88
- finally:
89
- time.sleep(1)
90
- driver.quit()
91
-
92
- @classmethod
93
- async def fetch_access_token(cls, cookies: dict, proxies: dict = None) -> str:
94
- async with StreamSession(proxies=proxies, cookies=cookies, impersonate="chrome107") as session:
95
- async with session.get(f"{cls.url}/api/auth/session") as response:
96
- response.raise_for_status()
97
- auth = await response.json()
98
- if "accessToken" in auth:
99
- return auth["accessToken"]
100
-
101
- @classmethod
102
- async def get_access_token(cls, cookies: dict = None, proxies: dict = None) -> str:
103
- if not cls._access_token:
104
- cookies = cookies if cookies else get_cookies("chat.openai.com")
105
- if cookies:
106
- cls._access_token = await cls.fetch_access_token(cookies, proxies)
107
- if not cls._access_token:
108
- cls._access_token = cls.browse_access_token()
109
- if not cls._access_token:
110
- raise RuntimeError("Read access token failed")
111
- return cls._access_token
112
-
113
- @classmethod
114
- @property
115
- def params(cls):
116
- params = [
117
- ("model", "str"),
118
- ("messages", "list[dict[str, str]]"),
119
- ("stream", "bool"),
120
- ("proxy", "str"),
121
- ("access_token", "str"),
122
- ("cookies", "dict[str, str]")
123
- ]
124
- param = ", ".join([": ".join(p) for p in params])
125
- return f"g4f.provider.{cls.__name__} supports: ({param})"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/boids-plugin.js DELETED
@@ -1,18 +0,0 @@
1
- import Boids from './boids.js';
2
-
3
- class BoidsPlugin extends Phaser.Plugins.BasePlugin {
4
-
5
- constructor(pluginManager) {
6
- super(pluginManager);
7
- }
8
-
9
- start() {
10
- var eventEmitter = this.game.events;
11
- eventEmitter.on('destroy', this.destroy, this);
12
- }
13
-
14
- add(gameObject, config) {
15
- return new Boids(gameObject, config);
16
- }
17
- }
18
- export default BoidsPlugin;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/plugins/stringtemplate.js DELETED
@@ -1,2 +0,0 @@
1
- import StringTemplate from './string/stringtemplate/StringTemplate.js';
2
- export default StringTemplate;
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/basesizer/ClickMethods.js DELETED
@@ -1,65 +0,0 @@
1
- import Click from '../click/Click.js';
2
-
3
- export default {
4
- onClick(gameObject, callback, scope, config) {
5
- if (!gameObject) {
6
- return this;
7
- }
8
-
9
- if (typeof (gameObject) === 'function') {
10
- config = scope;
11
- scope = callback;
12
- callback = gameObject;
13
- gameObject = this;
14
- }
15
-
16
- if (gameObject._click === undefined) {
17
- gameObject._click = new Click(gameObject, config);
18
- }
19
- gameObject._click.on('click', callback, scope);
20
-
21
- return this;
22
- },
23
-
24
- offClick(gameObject, callback, scope) {
25
- if (typeof (gameObject) === 'function') {
26
- scope = callback;
27
- callback = gameObject;
28
- gameObject = this;
29
- }
30
-
31
- if (gameObject._click === undefined) {
32
- return this;
33
- }
34
- gameObject._click.off('click', callback, scope);
35
-
36
- return this;
37
- },
38
-
39
- enableClick(gameObject, enabled) {
40
- if (gameObject && typeof (gameObject) !== 'object') {
41
- enabled = gameObject;
42
- gameObject = this;
43
- }
44
-
45
- if (gameObject._click === undefined) {
46
- return this;
47
- }
48
-
49
- gameObject._click.setEnable(enabled);
50
- return this;
51
- },
52
-
53
- disableClick(gameObject) {
54
- if (gameObject && typeof (gameObject) !== 'object') {
55
- gameObject = this;
56
- }
57
-
58
- if (gameObject._click === undefined) {
59
- return this;
60
- }
61
- gameObject._click.setEnable(false);
62
-
63
- return this;
64
- }
65
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/gridsizer/Factory.d.ts DELETED
@@ -1,24 +0,0 @@
1
- import GridSizer from './GridSizer';
2
-
3
-
4
- export default function (
5
- config?: GridSizer.IConfig
6
- ): GridSizer;
7
-
8
- export default function (
9
- x: number, y: number,
10
- config?: GridSizer.IConfig
11
- ): GridSizer;
12
-
13
- export default function (
14
- x: number, y: number,
15
- width: number, height: number,
16
- config?: GridSizer.IConfig
17
- ): GridSizer;
18
-
19
- export default function (
20
- x: number, y: number,
21
- width: number, height: number,
22
- column: number, row: number,
23
- config?: GridSizer.IConfig
24
- ): GridSizer;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/AgentVerse/agentVerse/ui/src/phaser3-rex-plugins/templates/ui/sizer/GetChildrenSizers.js DELETED
@@ -1,15 +0,0 @@
1
- var GetChildrenSizers = function(out) {
2
- if (out === undefined) {
3
- out = [];
4
- }
5
- var children = this.sizerChildren,
6
- child;
7
- for (var i = 0, cnt = children.length; i < cnt; i++) {
8
- child = children[i];
9
- if (child.isRexSizer) {
10
- out.push(child);
11
- }
12
- }
13
- return out;
14
- }
15
- export default GetChildrenSizers;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Akmyradov/TurkmenTTSweSTT/uroman/bin/de-accent.pl DELETED
@@ -1,201 +0,0 @@
1
- #!/usr/bin/perl -w
2
-
3
- sub print_version {
4
- print STDERR "$0 version 1.1\n";
5
- print STDERR " Author: Ulf Hermjakob\n";
6
- print STDERR " Last changed: March 14, 2011\n";
7
- }
8
-
9
- sub print_usage {
10
- print STDERR "$0 [options] < with_accents.txt > without_accents.txt\n";
11
- print STDERR " -h or -help\n";
12
- print STDERR " -v or -version\n";
13
- }
14
-
15
- sub de_accent_string {
16
- local($s) = @_;
17
-
18
- # $s =~ tr/A-Z/a-z/;
19
- unless (0) {
20
- # Latin-1
21
- if ($s =~ /\xC3[\x80-\xBF]/) {
22
- $s =~ s/(À|Á|Â|Ã|Ä|Å)/A/g;
23
- $s =~ s/Æ/Ae/g;
24
- $s =~ s/Ç/C/g;
25
- $s =~ s/Ð/D/g;
26
- $s =~ s/(È|É|Ê|Ë)/E/g;
27
- $s =~ s/(Ì|Í|Î|Ï)/I/g;
28
- $s =~ s/Ñ/N/g;
29
- $s =~ s/(Ò|Ó|Ô|Õ|Ö|Ø)/O/g;
30
- $s =~ s/(Ù|Ú|Û|Ü)/U/g;
31
- $s =~ s/Þ/Th/g;
32
- $s =~ s/Ý/Y/g;
33
- $s =~ s/(à|á|â|ã|ä|å)/a/g;
34
- $s =~ s/æ/ae/g;
35
- $s =~ s/ç/c/g;
36
- $s =~ s/(è|é|ê|ë)/e/g;
37
- $s =~ s/(ì|í|î|ï)/i/g;
38
- $s =~ s/ð/d/g;
39
- $s =~ s/ñ/n/g;
40
- $s =~ s/(ò|ó|ô|õ|ö)/o/g;
41
- $s =~ s/ß/ss/g;
42
- $s =~ s/þ/th/g;
43
- $s =~ s/(ù|ú|û|ü)/u/g;
44
- $s =~ s/(ý|ÿ)/y/g;
45
- }
46
- # Latin Extended-A
47
- if ($s =~ /[\xC4-\xC5][\x80-\xBF]/) {
48
- $s =~ s/(Ā|Ă|Ą)/A/g;
49
- $s =~ s/(ā|ă|ą)/a/g;
50
- $s =~ s/(Ć|Ĉ|Ċ|Č)/C/g;
51
- $s =~ s/(ć|ĉ|ċ|č)/c/g;
52
- $s =~ s/(Ď|Đ)/D/g;
53
- $s =~ s/(ď|đ)/d/g;
54
- $s =~ s/(Ē|Ĕ|Ė|Ę|Ě)/E/g;
55
- $s =~ s/(ē|ĕ|ė|ę|ě)/e/g;
56
- $s =~ s/(Ĝ|Ğ|Ġ|Ģ)/G/g;
57
- $s =~ s/(ĝ|ğ|ġ|ģ)/g/g;
58
- $s =~ s/(Ĥ|Ħ)/H/g;
59
- $s =~ s/(ĥ|ħ)/h/g;
60
- $s =~ s/(Ĩ|Ī|Ĭ|Į|İ)/I/g;
61
- $s =~ s/(ĩ|ī|ĭ|į|ı)/i/g;
62
- $s =~ s/IJ/Ij/g;
63
- $s =~ s/ij/ij/g;
64
- $s =~ s/Ĵ/J/g;
65
- $s =~ s/ĵ/j/g;
66
- $s =~ s/Ķ/K/g;
67
- $s =~ s/(ķ|ĸ)/k/g;
68
- $s =~ s/(Ĺ|Ļ|Ľ|Ŀ|Ł)/L/g;
69
- $s =~ s/(ļ|ľ|ŀ|ł)/l/g;
70
- $s =~ s/(Ń|Ņ|Ň|Ŋ)/N/g;
71
- $s =~ s/(ń|ņ|ň|ʼn|ŋ)/n/g;
72
- $s =~ s/(Ō|Ŏ|Ő)/O/g;
73
- $s =~ s/(ō|ŏ|ő)/o/g;
74
- $s =~ s/Œ/Oe/g;
75
- $s =~ s/œ/oe/g;
76
- $s =~ s/(Ŕ|Ŗ|Ř)/R/g;
77
- $s =~ s/(ŕ|ŗ|ř)/r/g;
78
- $s =~ s/(Ś|Ŝ|Ş|Š)/S/g;
79
- $s =~ s/(ś|ŝ|ş|š|ſ)/s/g;
80
- $s =~ s/(Ţ|Ť|Ŧ)/T/g;
81
- $s =~ s/(ţ|ť|ŧ)/t/g;
82
- $s =~ s/(Ũ|Ū|Ŭ|Ů|Ű|Ų)/U/g;
83
- $s =~ s/(ũ|ū|ŭ|ů|ű|ų)/u/g;
84
- $s =~ s/Ŵ/W/g;
85
- $s =~ s/ŵ/w/g;
86
- $s =~ s/(Ŷ|Ÿ)/Y/g;
87
- $s =~ s/ŷ/y/g;
88
- $s =~ s/(Ź|Ż|Ž)/Z/g;
89
- $s =~ s/(ź|ż|ž)/z/g;
90
- }
91
- # Latin Extended Additional
92
- if ($s =~ /\xE1[\xB8-\xBF][\x80-\xBF]/) {
93
- $s =~ s/(ḁ|ạ|ả|ấ|ầ|ẩ|ẫ|ậ|ắ|ằ|ẳ|ẵ|ặ|ẚ)/a/g;
94
- $s =~ s/(ḃ|ḅ|ḇ)/b/g;
95
- $s =~ s/(ḉ)/c/g;
96
- $s =~ s/(ḋ|ḍ|ḏ|ḑ|ḓ)/d/g;
97
- $s =~ s/(ḕ|ḗ|ḙ|ḛ|ḝ|ẹ|ẻ|ẽ|ế|ề|ể|ễ|ệ)/e/g;
98
- $s =~ s/(ḟ)/f/g;
99
- $s =~ s/(ḡ)/g/g;
100
- $s =~ s/(ḣ|ḥ|ḧ|ḩ|ḫ)/h/g;
101
- $s =~ s/(ḭ|ḯ|ỉ|ị)/i/g;
102
- $s =~ s/(ḱ|ḳ|ḵ)/k/g;
103
- $s =~ s/(ḷ|ḹ|ḻ|ḽ)/l/g;
104
- $s =~ s/(ḿ|ṁ|ṃ)/m/g;
105
- $s =~ s/(ṅ|ṇ|ṉ|ṋ)/m/g;
106
- $s =~ s/(ọ|ỏ|ố|ồ|ổ|ỗ|ộ|ớ|ờ|ở|ỡ|ợ|ṍ|ṏ|ṑ|ṓ)/o/g;
107
- $s =~ s/(ṕ|ṗ)/p/g;
108
- $s =~ s/(ṙ|ṛ|ṝ|ṟ)/r/g;
109
- $s =~ s/(ṡ|ṣ|ṥ|ṧ|ṩ|ẛ)/s/g;
110
- $s =~ s/(ṫ|ṭ|ṯ|ṱ)/t/g;
111
- $s =~ s/(ṳ|ṵ|ṷ|ṹ|ṻ|ụ|ủ|ứ|ừ|ử|ữ|ự)/u/g;
112
- $s =~ s/(ṽ|ṿ)/v/g;
113
- $s =~ s/(ẁ|ẃ|ẅ|ẇ|ẉ|ẘ)/w/g;
114
- $s =~ s/(ẋ|ẍ)/x/g;
115
- $s =~ s/(ẏ|ỳ|ỵ|ỷ|ỹ|ẙ)/y/g;
116
- $s =~ s/(ẑ|ẓ|ẕ)/z/g;
117
- $s =~ s/(Ḁ|Ạ|Ả|Ấ|Ầ|Ẩ|Ẫ|Ậ|Ắ|Ằ|Ẳ|Ẵ|Ặ)/A/g;
118
- $s =~ s/(Ḃ|Ḅ|Ḇ)/B/g;
119
- $s =~ s/(Ḉ)/C/g;
120
- $s =~ s/(Ḋ|Ḍ|Ḏ|Ḑ|Ḓ)/D/g;
121
- $s =~ s/(Ḕ|Ḗ|Ḙ|Ḛ|Ḝ|Ẹ|Ẻ|Ẽ|Ế|Ề|Ể|Ễ|Ệ)/E/g;
122
- $s =~ s/(Ḟ)/F/g;
123
- $s =~ s/(Ḡ)/G/g;
124
- $s =~ s/(Ḣ|Ḥ|Ḧ|Ḩ|Ḫ)/H/g;
125
- $s =~ s/(Ḭ|Ḯ|Ỉ|Ị)/I/g;
126
- $s =~ s/(Ḱ|Ḳ|Ḵ)/K/g;
127
- $s =~ s/(Ḷ|Ḹ|Ḻ|Ḽ)/L/g;
128
- $s =~ s/(Ḿ|Ṁ|Ṃ)/M/g;
129
- $s =~ s/(Ṅ|Ṇ|Ṉ|Ṋ)/N/g;
130
- $s =~ s/(Ṍ|Ṏ|Ṑ|Ṓ|Ọ|Ỏ|Ố|Ồ|Ổ|Ỗ|Ộ|Ớ|Ờ|Ở|Ỡ|Ợ)/O/g;
131
- $s =~ s/(Ṕ|Ṗ)/P/g;
132
- $s =~ s/(Ṙ|Ṛ|Ṝ|Ṟ)/R/g;
133
- $s =~ s/(Ṡ|Ṣ|Ṥ|Ṧ|Ṩ)/S/g;
134
- $s =~ s/(Ṫ|Ṭ|Ṯ|Ṱ)/T/g;
135
- $s =~ s/(Ṳ|Ṵ|Ṷ|Ṹ|Ṻ|Ụ|Ủ|Ứ|Ừ|Ử|Ữ|Ự)/U/g;
136
- $s =~ s/(Ṽ|Ṿ)/V/g;
137
- $s =~ s/(Ẁ|Ẃ|Ẅ|Ẇ|Ẉ)/W/g;
138
- $s =~ s/(Ẍ)/X/g;
139
- $s =~ s/(Ẏ|Ỳ|Ỵ|Ỷ|Ỹ)/Y/g;
140
- $s =~ s/(Ẑ|Ẓ|Ẕ)/Z/g;
141
- }
142
- # Greek letters
143
- if ($s =~ /\xCE[\x86-\xAB]/) {
144
- $s =~ s/ά/α/g;
145
- $s =~ s/έ/ε/g;
146
- $s =~ s/ί/ι/g;
147
- $s =~ s/ϊ/ι/g;
148
- $s =~ s/ΐ/ι/g;
149
- $s =~ s/ό/ο/g;
150
- $s =~ s/ύ/υ/g;
151
- $s =~ s/ϋ/υ/g;
152
- $s =~ s/ΰ/υ/g;
153
- $s =~ s/ώ/ω/g;
154
- $s =~ s/Ά/Α/g;
155
- $s =~ s/Έ/Ε/g;
156
- $s =~ s/Ή/Η/g;
157
- $s =~ s/Ί/Ι/g;
158
- $s =~ s/Ϊ/Ι/g;
159
- $s =~ s/Ύ/Υ/g;
160
- $s =~ s/Ϋ/Υ/g;
161
- $s =~ s/Ώ/Ω/g;
162
- }
163
- # Cyrillic letters
164
- if ($s =~ /\xD0[\x80-\xAF]/) {
165
- $s =~ s/Ѐ/Е/g;
166
- $s =~ s/Ё/Е/g;
167
- $s =~ s/Ѓ/Г/g;
168
- $s =~ s/Ќ/К/g;
169
- $s =~ s/Ѝ/И/g;
170
- $s =~ s/Й/И/g;
171
- $s =~ s/ѐ/е/g;
172
- $s =~ s/ё/е/g;
173
- $s =~ s/ѓ/г/g;
174
- $s =~ s/ќ/к/g;
175
- $s =~ s/ѝ/и/g;
176
- $s =~ s/й/и/g;
177
- }
178
- }
179
- return $s;
180
- }
181
-
182
- while (@ARGV) {
183
- $arg = shift @ARGV;
184
- if ($arg =~ /^-*(h|help)$/i) {
185
- &print_usage;
186
- exit 1;
187
- } elsif ($arg =~ /^-*(v|version)$/i) {
188
- &print_version;
189
- exit 1;
190
- } else {
191
- print STDERR "Ignoring unrecognized argument $arg\n";
192
- }
193
- }
194
-
195
- $line_number = 0;
196
- while (<>) {
197
- $line_number++;
198
- print &de_accent_string($_);
199
- }
200
- exit 0;
201
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Aloento/9Nine-PITS/transforms.py DELETED
@@ -1,198 +0,0 @@
1
- # from https://github.com/jaywalnut310/vits
2
- import numpy as np
3
- import torch
4
- from torch.nn import functional as F
5
-
6
- DEFAULT_MIN_BIN_WIDTH = 1e-3
7
- DEFAULT_MIN_BIN_HEIGHT = 1e-3
8
- DEFAULT_MIN_DERIVATIVE = 1e-3
9
-
10
-
11
- def piecewise_rational_quadratic_transform(
12
- inputs,
13
- unnormalized_widths,
14
- unnormalized_heights,
15
- unnormalized_derivatives,
16
- inverse=False,
17
- tails=None,
18
- tail_bound=1.,
19
- min_bin_width=DEFAULT_MIN_BIN_WIDTH,
20
- min_bin_height=DEFAULT_MIN_BIN_HEIGHT,
21
- min_derivative=DEFAULT_MIN_DERIVATIVE
22
- ):
23
- if tails is None:
24
- spline_fn = rational_quadratic_spline
25
- spline_kwargs = {}
26
- else:
27
- spline_fn = unconstrained_rational_quadratic_spline
28
- spline_kwargs = {
29
- 'tails': tails,
30
- 'tail_bound': tail_bound
31
- }
32
-
33
- outputs, logabsdet = spline_fn(
34
- inputs=inputs,
35
- unnormalized_widths=unnormalized_widths,
36
- unnormalized_heights=unnormalized_heights,
37
- unnormalized_derivatives=unnormalized_derivatives,
38
- inverse=inverse,
39
- min_bin_width=min_bin_width,
40
- min_bin_height=min_bin_height,
41
- min_derivative=min_derivative,
42
- **spline_kwargs
43
- )
44
- return outputs, logabsdet
45
-
46
-
47
- def searchsorted(bin_locations, inputs, eps=1e-6):
48
- bin_locations[..., -1] += eps
49
- return torch.sum(
50
- inputs[..., None] >= bin_locations,
51
- dim=-1
52
- ) - 1
53
-
54
-
55
- def unconstrained_rational_quadratic_spline(
56
- inputs,
57
- unnormalized_widths,
58
- unnormalized_heights,
59
- unnormalized_derivatives,
60
- inverse=False,
61
- tails='linear',
62
- tail_bound=1.,
63
- min_bin_width=DEFAULT_MIN_BIN_WIDTH,
64
- min_bin_height=DEFAULT_MIN_BIN_HEIGHT,
65
- min_derivative=DEFAULT_MIN_DERIVATIVE
66
- ):
67
- inside_interval_mask = (inputs >= -tail_bound) & (inputs <= tail_bound)
68
- outside_interval_mask = ~inside_interval_mask
69
-
70
- outputs = torch.zeros_like(inputs)
71
- logabsdet = torch.zeros_like(inputs)
72
-
73
- if tails == 'linear':
74
- unnormalized_derivatives = F.pad(unnormalized_derivatives, pad=(1, 1))
75
- constant = np.log(np.exp(1 - min_derivative) - 1)
76
- unnormalized_derivatives[..., 0] = constant
77
- unnormalized_derivatives[..., -1] = constant
78
-
79
- outputs[outside_interval_mask] = inputs[outside_interval_mask]
80
- logabsdet[outside_interval_mask] = 0
81
- else:
82
- raise RuntimeError('{} tails are not implemented.'.format(tails))
83
-
84
- outputs[inside_interval_mask], logabsdet[inside_interval_mask] = rational_quadratic_spline(
85
- inputs=inputs[inside_interval_mask],
86
- unnormalized_widths=unnormalized_widths[inside_interval_mask, :],
87
- unnormalized_heights=unnormalized_heights[inside_interval_mask, :],
88
- unnormalized_derivatives=unnormalized_derivatives[inside_interval_mask, :],
89
- inverse=inverse,
90
- left=-tail_bound, right=tail_bound, bottom=-tail_bound, top=tail_bound,
91
- min_bin_width=min_bin_width,
92
- min_bin_height=min_bin_height,
93
- min_derivative=min_derivative
94
- )
95
-
96
- return outputs, logabsdet
97
-
98
-
99
- def rational_quadratic_spline(
100
- inputs,
101
- unnormalized_widths,
102
- unnormalized_heights,
103
- unnormalized_derivatives,
104
- inverse=False,
105
- left=0., right=1., bottom=0., top=1.,
106
- min_bin_width=DEFAULT_MIN_BIN_WIDTH,
107
- min_bin_height=DEFAULT_MIN_BIN_HEIGHT,
108
- min_derivative=DEFAULT_MIN_DERIVATIVE
109
- ):
110
- if torch.min(inputs) < left or torch.max(inputs) > right:
111
- raise ValueError('Input to a transform is not within its domain')
112
-
113
- num_bins = unnormalized_widths.shape[-1]
114
-
115
- if min_bin_width * num_bins > 1.0:
116
- raise ValueError('Minimal bin width too large for the number of bins')
117
- if min_bin_height * num_bins > 1.0:
118
- raise ValueError('Minimal bin height too large for the number of bins')
119
-
120
- widths = F.softmax(unnormalized_widths, dim=-1)
121
- widths = min_bin_width + (1 - min_bin_width * num_bins) * widths
122
- cumwidths = torch.cumsum(widths, dim=-1)
123
- cumwidths = F.pad(cumwidths, pad=(1, 0), mode='constant', value=0.0)
124
- cumwidths = (right - left) * cumwidths + left
125
- cumwidths[..., 0] = left
126
- cumwidths[..., -1] = right
127
- widths = cumwidths[..., 1:] - cumwidths[..., :-1]
128
-
129
- derivatives = min_derivative + F.softplus(unnormalized_derivatives)
130
-
131
- heights = F.softmax(unnormalized_heights, dim=-1)
132
- heights = min_bin_height + (1 - min_bin_height * num_bins) * heights
133
- cumheights = torch.cumsum(heights, dim=-1)
134
- cumheights = F.pad(cumheights, pad=(1, 0), mode='constant', value=0.0)
135
- cumheights = (top - bottom) * cumheights + bottom
136
- cumheights[..., 0] = bottom
137
- cumheights[..., -1] = top
138
- heights = cumheights[..., 1:] - cumheights[..., :-1]
139
-
140
- if inverse:
141
- bin_idx = searchsorted(cumheights, inputs)[..., None]
142
- else:
143
- bin_idx = searchsorted(cumwidths, inputs)[..., None]
144
-
145
- input_cumwidths = cumwidths.gather(-1, bin_idx)[..., 0]
146
- input_bin_widths = widths.gather(-1, bin_idx)[..., 0]
147
-
148
- input_cumheights = cumheights.gather(-1, bin_idx)[..., 0]
149
- delta = heights / widths
150
- input_delta = delta.gather(-1, bin_idx)[..., 0]
151
-
152
- input_derivatives = derivatives.gather(-1, bin_idx)[..., 0]
153
- input_derivatives_plus_one = derivatives[..., 1:].gather(-1, bin_idx)[..., 0]
154
-
155
- input_heights = heights.gather(-1, bin_idx)[..., 0]
156
-
157
- if inverse:
158
- a = (((inputs - input_cumheights) * (input_derivatives
159
- + input_derivatives_plus_one
160
- - 2 * input_delta)
161
- + input_heights * (input_delta - input_derivatives)))
162
- b = (input_heights * input_derivatives
163
- - (inputs - input_cumheights) * (input_derivatives
164
- + input_derivatives_plus_one
165
- - 2 * input_delta))
166
- c = - input_delta * (inputs - input_cumheights)
167
-
168
- discriminant = b.pow(2) - 4 * a * c
169
- assert (discriminant >= 0).all()
170
-
171
- root = (2 * c) / (-b - torch.sqrt(discriminant))
172
- outputs = root * input_bin_widths + input_cumwidths
173
-
174
- theta_one_minus_theta = root * (1 - root)
175
- denominator = input_delta + ((input_derivatives + input_derivatives_plus_one - 2 * input_delta)
176
- * theta_one_minus_theta)
177
- derivative_numerator = input_delta.pow(2) * (input_derivatives_plus_one * root.pow(2)
178
- + 2 * input_delta * theta_one_minus_theta
179
- + input_derivatives * (1 - root).pow(2))
180
- logabsdet = torch.log(derivative_numerator) - 2 * torch.log(denominator)
181
-
182
- return outputs, -logabsdet
183
- else:
184
- theta = (inputs - input_cumwidths) / input_bin_widths
185
- theta_one_minus_theta = theta * (1 - theta)
186
-
187
- numerator = input_heights * (input_delta * theta.pow(2)
188
- + input_derivatives * theta_one_minus_theta)
189
- denominator = input_delta + ((input_derivatives + input_derivatives_plus_one - 2 * input_delta)
190
- * theta_one_minus_theta)
191
- outputs = input_cumheights + numerator / denominator
192
-
193
- derivative_numerator = input_delta.pow(2) * (input_derivatives_plus_one * theta.pow(2)
194
- + 2 * input_delta * theta_one_minus_theta
195
- + input_derivatives * (1 - theta).pow(2))
196
- logabsdet = torch.log(derivative_numerator) - 2 * torch.log(denominator)
197
-
198
- return outputs, logabsdet
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Alpaca233/SadTalker/src/face3d/models/bfm.py DELETED
@@ -1,331 +0,0 @@
1
- """This script defines the parametric 3d face model for Deep3DFaceRecon_pytorch
2
- """
3
-
4
- import numpy as np
5
- import torch
6
- import torch.nn.functional as F
7
- from scipy.io import loadmat
8
- from src.face3d.util.load_mats import transferBFM09
9
- import os
10
-
11
- def perspective_projection(focal, center):
12
- # return p.T (N, 3) @ (3, 3)
13
- return np.array([
14
- focal, 0, center,
15
- 0, focal, center,
16
- 0, 0, 1
17
- ]).reshape([3, 3]).astype(np.float32).transpose()
18
-
19
- class SH:
20
- def __init__(self):
21
- self.a = [np.pi, 2 * np.pi / np.sqrt(3.), 2 * np.pi / np.sqrt(8.)]
22
- self.c = [1/np.sqrt(4 * np.pi), np.sqrt(3.) / np.sqrt(4 * np.pi), 3 * np.sqrt(5.) / np.sqrt(12 * np.pi)]
23
-
24
-
25
-
26
- class ParametricFaceModel:
27
- def __init__(self,
28
- bfm_folder='./BFM',
29
- recenter=True,
30
- camera_distance=10.,
31
- init_lit=np.array([
32
- 0.8, 0, 0, 0, 0, 0, 0, 0, 0
33
- ]),
34
- focal=1015.,
35
- center=112.,
36
- is_train=True,
37
- default_name='BFM_model_front.mat'):
38
-
39
- if not os.path.isfile(os.path.join(bfm_folder, default_name)):
40
- transferBFM09(bfm_folder)
41
-
42
- model = loadmat(os.path.join(bfm_folder, default_name))
43
- # mean face shape. [3*N,1]
44
- self.mean_shape = model['meanshape'].astype(np.float32)
45
- # identity basis. [3*N,80]
46
- self.id_base = model['idBase'].astype(np.float32)
47
- # expression basis. [3*N,64]
48
- self.exp_base = model['exBase'].astype(np.float32)
49
- # mean face texture. [3*N,1] (0-255)
50
- self.mean_tex = model['meantex'].astype(np.float32)
51
- # texture basis. [3*N,80]
52
- self.tex_base = model['texBase'].astype(np.float32)
53
- # face indices for each vertex that lies in. starts from 0. [N,8]
54
- self.point_buf = model['point_buf'].astype(np.int64) - 1
55
- # vertex indices for each face. starts from 0. [F,3]
56
- self.face_buf = model['tri'].astype(np.int64) - 1
57
- # vertex indices for 68 landmarks. starts from 0. [68,1]
58
- self.keypoints = np.squeeze(model['keypoints']).astype(np.int64) - 1
59
-
60
- if is_train:
61
- # vertex indices for small face region to compute photometric error. starts from 0.
62
- self.front_mask = np.squeeze(model['frontmask2_idx']).astype(np.int64) - 1
63
- # vertex indices for each face from small face region. starts from 0. [f,3]
64
- self.front_face_buf = model['tri_mask2'].astype(np.int64) - 1
65
- # vertex indices for pre-defined skin region to compute reflectance loss
66
- self.skin_mask = np.squeeze(model['skinmask'])
67
-
68
- if recenter:
69
- mean_shape = self.mean_shape.reshape([-1, 3])
70
- mean_shape = mean_shape - np.mean(mean_shape, axis=0, keepdims=True)
71
- self.mean_shape = mean_shape.reshape([-1, 1])
72
-
73
- self.persc_proj = perspective_projection(focal, center)
74
- self.device = 'cpu'
75
- self.camera_distance = camera_distance
76
- self.SH = SH()
77
- self.init_lit = init_lit.reshape([1, 1, -1]).astype(np.float32)
78
-
79
-
80
- def to(self, device):
81
- self.device = device
82
- for key, value in self.__dict__.items():
83
- if type(value).__module__ == np.__name__:
84
- setattr(self, key, torch.tensor(value).to(device))
85
-
86
-
87
- def compute_shape(self, id_coeff, exp_coeff):
88
- """
89
- Return:
90
- face_shape -- torch.tensor, size (B, N, 3)
91
-
92
- Parameters:
93
- id_coeff -- torch.tensor, size (B, 80), identity coeffs
94
- exp_coeff -- torch.tensor, size (B, 64), expression coeffs
95
- """
96
- batch_size = id_coeff.shape[0]
97
- id_part = torch.einsum('ij,aj->ai', self.id_base, id_coeff)
98
- exp_part = torch.einsum('ij,aj->ai', self.exp_base, exp_coeff)
99
- face_shape = id_part + exp_part + self.mean_shape.reshape([1, -1])
100
- return face_shape.reshape([batch_size, -1, 3])
101
-
102
-
103
- def compute_texture(self, tex_coeff, normalize=True):
104
- """
105
- Return:
106
- face_texture -- torch.tensor, size (B, N, 3), in RGB order, range (0, 1.)
107
-
108
- Parameters:
109
- tex_coeff -- torch.tensor, size (B, 80)
110
- """
111
- batch_size = tex_coeff.shape[0]
112
- face_texture = torch.einsum('ij,aj->ai', self.tex_base, tex_coeff) + self.mean_tex
113
- if normalize:
114
- face_texture = face_texture / 255.
115
- return face_texture.reshape([batch_size, -1, 3])
116
-
117
-
118
- def compute_norm(self, face_shape):
119
- """
120
- Return:
121
- vertex_norm -- torch.tensor, size (B, N, 3)
122
-
123
- Parameters:
124
- face_shape -- torch.tensor, size (B, N, 3)
125
- """
126
-
127
- v1 = face_shape[:, self.face_buf[:, 0]]
128
- v2 = face_shape[:, self.face_buf[:, 1]]
129
- v3 = face_shape[:, self.face_buf[:, 2]]
130
- e1 = v1 - v2
131
- e2 = v2 - v3
132
- face_norm = torch.cross(e1, e2, dim=-1)
133
- face_norm = F.normalize(face_norm, dim=-1, p=2)
134
- face_norm = torch.cat([face_norm, torch.zeros(face_norm.shape[0], 1, 3).to(self.device)], dim=1)
135
-
136
- vertex_norm = torch.sum(face_norm[:, self.point_buf], dim=2)
137
- vertex_norm = F.normalize(vertex_norm, dim=-1, p=2)
138
- return vertex_norm
139
-
140
-
141
- def compute_color(self, face_texture, face_norm, gamma):
142
- """
143
- Return:
144
- face_color -- torch.tensor, size (B, N, 3), range (0, 1.)
145
-
146
- Parameters:
147
- face_texture -- torch.tensor, size (B, N, 3), from texture model, range (0, 1.)
148
- face_norm -- torch.tensor, size (B, N, 3), rotated face normal
149
- gamma -- torch.tensor, size (B, 27), SH coeffs
150
- """
151
- batch_size = gamma.shape[0]
152
- v_num = face_texture.shape[1]
153
- a, c = self.SH.a, self.SH.c
154
- gamma = gamma.reshape([batch_size, 3, 9])
155
- gamma = gamma + self.init_lit
156
- gamma = gamma.permute(0, 2, 1)
157
- Y = torch.cat([
158
- a[0] * c[0] * torch.ones_like(face_norm[..., :1]).to(self.device),
159
- -a[1] * c[1] * face_norm[..., 1:2],
160
- a[1] * c[1] * face_norm[..., 2:],
161
- -a[1] * c[1] * face_norm[..., :1],
162
- a[2] * c[2] * face_norm[..., :1] * face_norm[..., 1:2],
163
- -a[2] * c[2] * face_norm[..., 1:2] * face_norm[..., 2:],
164
- 0.5 * a[2] * c[2] / np.sqrt(3.) * (3 * face_norm[..., 2:] ** 2 - 1),
165
- -a[2] * c[2] * face_norm[..., :1] * face_norm[..., 2:],
166
- 0.5 * a[2] * c[2] * (face_norm[..., :1] ** 2 - face_norm[..., 1:2] ** 2)
167
- ], dim=-1)
168
- r = Y @ gamma[..., :1]
169
- g = Y @ gamma[..., 1:2]
170
- b = Y @ gamma[..., 2:]
171
- face_color = torch.cat([r, g, b], dim=-1) * face_texture
172
- return face_color
173
-
174
-
175
- def compute_rotation(self, angles):
176
- """
177
- Return:
178
- rot -- torch.tensor, size (B, 3, 3) pts @ trans_mat
179
-
180
- Parameters:
181
- angles -- torch.tensor, size (B, 3), radian
182
- """
183
-
184
- batch_size = angles.shape[0]
185
- ones = torch.ones([batch_size, 1]).to(self.device)
186
- zeros = torch.zeros([batch_size, 1]).to(self.device)
187
- x, y, z = angles[:, :1], angles[:, 1:2], angles[:, 2:],
188
-
189
- rot_x = torch.cat([
190
- ones, zeros, zeros,
191
- zeros, torch.cos(x), -torch.sin(x),
192
- zeros, torch.sin(x), torch.cos(x)
193
- ], dim=1).reshape([batch_size, 3, 3])
194
-
195
- rot_y = torch.cat([
196
- torch.cos(y), zeros, torch.sin(y),
197
- zeros, ones, zeros,
198
- -torch.sin(y), zeros, torch.cos(y)
199
- ], dim=1).reshape([batch_size, 3, 3])
200
-
201
- rot_z = torch.cat([
202
- torch.cos(z), -torch.sin(z), zeros,
203
- torch.sin(z), torch.cos(z), zeros,
204
- zeros, zeros, ones
205
- ], dim=1).reshape([batch_size, 3, 3])
206
-
207
- rot = rot_z @ rot_y @ rot_x
208
- return rot.permute(0, 2, 1)
209
-
210
-
211
- def to_camera(self, face_shape):
212
- face_shape[..., -1] = self.camera_distance - face_shape[..., -1]
213
- return face_shape
214
-
215
- def to_image(self, face_shape):
216
- """
217
- Return:
218
- face_proj -- torch.tensor, size (B, N, 2), y direction is opposite to v direction
219
-
220
- Parameters:
221
- face_shape -- torch.tensor, size (B, N, 3)
222
- """
223
- # to image_plane
224
- face_proj = face_shape @ self.persc_proj
225
- face_proj = face_proj[..., :2] / face_proj[..., 2:]
226
-
227
- return face_proj
228
-
229
-
230
- def transform(self, face_shape, rot, trans):
231
- """
232
- Return:
233
- face_shape -- torch.tensor, size (B, N, 3) pts @ rot + trans
234
-
235
- Parameters:
236
- face_shape -- torch.tensor, size (B, N, 3)
237
- rot -- torch.tensor, size (B, 3, 3)
238
- trans -- torch.tensor, size (B, 3)
239
- """
240
- return face_shape @ rot + trans.unsqueeze(1)
241
-
242
-
243
- def get_landmarks(self, face_proj):
244
- """
245
- Return:
246
- face_lms -- torch.tensor, size (B, 68, 2)
247
-
248
- Parameters:
249
- face_proj -- torch.tensor, size (B, N, 2)
250
- """
251
- return face_proj[:, self.keypoints]
252
-
253
- def split_coeff(self, coeffs):
254
- """
255
- Return:
256
- coeffs_dict -- a dict of torch.tensors
257
-
258
- Parameters:
259
- coeffs -- torch.tensor, size (B, 256)
260
- """
261
- id_coeffs = coeffs[:, :80]
262
- exp_coeffs = coeffs[:, 80: 144]
263
- tex_coeffs = coeffs[:, 144: 224]
264
- angles = coeffs[:, 224: 227]
265
- gammas = coeffs[:, 227: 254]
266
- translations = coeffs[:, 254:]
267
- return {
268
- 'id': id_coeffs,
269
- 'exp': exp_coeffs,
270
- 'tex': tex_coeffs,
271
- 'angle': angles,
272
- 'gamma': gammas,
273
- 'trans': translations
274
- }
275
- def compute_for_render(self, coeffs):
276
- """
277
- Return:
278
- face_vertex -- torch.tensor, size (B, N, 3), in camera coordinate
279
- face_color -- torch.tensor, size (B, N, 3), in RGB order
280
- landmark -- torch.tensor, size (B, 68, 2), y direction is opposite to v direction
281
- Parameters:
282
- coeffs -- torch.tensor, size (B, 257)
283
- """
284
- coef_dict = self.split_coeff(coeffs)
285
- face_shape = self.compute_shape(coef_dict['id'], coef_dict['exp'])
286
- rotation = self.compute_rotation(coef_dict['angle'])
287
-
288
-
289
- face_shape_transformed = self.transform(face_shape, rotation, coef_dict['trans'])
290
- face_vertex = self.to_camera(face_shape_transformed)
291
-
292
- face_proj = self.to_image(face_vertex)
293
- landmark = self.get_landmarks(face_proj)
294
-
295
- face_texture = self.compute_texture(coef_dict['tex'])
296
- face_norm = self.compute_norm(face_shape)
297
- face_norm_roted = face_norm @ rotation
298
- face_color = self.compute_color(face_texture, face_norm_roted, coef_dict['gamma'])
299
-
300
- return face_vertex, face_texture, face_color, landmark
301
-
302
- def compute_for_render_woRotation(self, coeffs):
303
- """
304
- Return:
305
- face_vertex -- torch.tensor, size (B, N, 3), in camera coordinate
306
- face_color -- torch.tensor, size (B, N, 3), in RGB order
307
- landmark -- torch.tensor, size (B, 68, 2), y direction is opposite to v direction
308
- Parameters:
309
- coeffs -- torch.tensor, size (B, 257)
310
- """
311
- coef_dict = self.split_coeff(coeffs)
312
- face_shape = self.compute_shape(coef_dict['id'], coef_dict['exp'])
313
- #rotation = self.compute_rotation(coef_dict['angle'])
314
-
315
-
316
- #face_shape_transformed = self.transform(face_shape, rotation, coef_dict['trans'])
317
- face_vertex = self.to_camera(face_shape)
318
-
319
- face_proj = self.to_image(face_vertex)
320
- landmark = self.get_landmarks(face_proj)
321
-
322
- face_texture = self.compute_texture(coef_dict['tex'])
323
- face_norm = self.compute_norm(face_shape)
324
- face_norm_roted = face_norm # @ rotation
325
- face_color = self.compute_color(face_texture, face_norm_roted, coef_dict['gamma'])
326
-
327
- return face_vertex, face_texture, face_color, landmark
328
-
329
-
330
- if __name__ == '__main__':
331
- transferBFM09()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ameaou/academic-chatgpt3.1/crazy_functions/下载arxiv论文翻译摘要.py DELETED
@@ -1,194 +0,0 @@
1
- from toolbox import update_ui
2
- from toolbox import CatchException, report_execption, write_results_to_file, get_conf
3
- import re, requests, unicodedata, os
4
- from .crazy_utils import request_gpt_model_in_new_thread_with_ui_alive
5
- def download_arxiv_(url_pdf):
6
- if 'arxiv.org' not in url_pdf:
7
- if ('.' in url_pdf) and ('/' not in url_pdf):
8
- new_url = 'https://arxiv.org/abs/'+url_pdf
9
- print('下载编号:', url_pdf, '自动定位:', new_url)
10
- # download_arxiv_(new_url)
11
- return download_arxiv_(new_url)
12
- else:
13
- print('不能识别的URL!')
14
- return None
15
- if 'abs' in url_pdf:
16
- url_pdf = url_pdf.replace('abs', 'pdf')
17
- url_pdf = url_pdf + '.pdf'
18
-
19
- url_abs = url_pdf.replace('.pdf', '').replace('pdf', 'abs')
20
- title, other_info = get_name(_url_=url_abs)
21
-
22
- paper_id = title.split()[0] # '[1712.00559]'
23
- if '2' in other_info['year']:
24
- title = other_info['year'] + ' ' + title
25
-
26
- known_conf = ['NeurIPS', 'NIPS', 'Nature', 'Science', 'ICLR', 'AAAI']
27
- for k in known_conf:
28
- if k in other_info['comment']:
29
- title = k + ' ' + title
30
-
31
- download_dir = './gpt_log/arxiv/'
32
- os.makedirs(download_dir, exist_ok=True)
33
-
34
- title_str = title.replace('?', '?')\
35
- .replace(':', ':')\
36
- .replace('\"', '“')\
37
- .replace('\n', '')\
38
- .replace(' ', ' ')\
39
- .replace(' ', ' ')
40
-
41
- requests_pdf_url = url_pdf
42
- file_path = download_dir+title_str
43
- # if os.path.exists(file_path):
44
- # print('返回缓存文件')
45
- # return './gpt_log/arxiv/'+title_str
46
-
47
- print('下载中')
48
- proxies, = get_conf('proxies')
49
- r = requests.get(requests_pdf_url, proxies=proxies)
50
- with open(file_path, 'wb+') as f:
51
- f.write(r.content)
52
- print('下载完成')
53
-
54
- # print('输出下载命令:','aria2c -o \"%s\" %s'%(title_str,url_pdf))
55
- # subprocess.call('aria2c --all-proxy=\"172.18.116.150:11084\" -o \"%s\" %s'%(download_dir+title_str,url_pdf), shell=True)
56
-
57
- x = "%s %s %s.bib" % (paper_id, other_info['year'], other_info['authors'])
58
- x = x.replace('?', '?')\
59
- .replace(':', ':')\
60
- .replace('\"', '“')\
61
- .replace('\n', '')\
62
- .replace(' ', ' ')\
63
- .replace(' ', ' ')
64
- return './gpt_log/arxiv/'+title_str, other_info
65
-
66
-
67
- def get_name(_url_):
68
- import os
69
- from bs4 import BeautifulSoup
70
- print('正在获取文献名!')
71
- print(_url_)
72
-
73
- # arxiv_recall = {}
74
- # if os.path.exists('./arxiv_recall.pkl'):
75
- # with open('./arxiv_recall.pkl', 'rb') as f:
76
- # arxiv_recall = pickle.load(f)
77
-
78
- # if _url_ in arxiv_recall:
79
- # print('在缓存中')
80
- # return arxiv_recall[_url_]
81
-
82
- proxies, = get_conf('proxies')
83
- res = requests.get(_url_, proxies=proxies)
84
-
85
- bs = BeautifulSoup(res.text, 'html.parser')
86
- other_details = {}
87
-
88
- # get year
89
- try:
90
- year = bs.find_all(class_='dateline')[0].text
91
- year = re.search(r'(\d{4})', year, re.M | re.I).group(1)
92
- other_details['year'] = year
93
- abstract = bs.find_all(class_='abstract mathjax')[0].text
94
- other_details['abstract'] = abstract
95
- except:
96
- other_details['year'] = ''
97
- print('年份获取失败')
98
-
99
- # get author
100
- try:
101
- authors = bs.find_all(class_='authors')[0].text
102
- authors = authors.split('Authors:')[1]
103
- other_details['authors'] = authors
104
- except:
105
- other_details['authors'] = ''
106
- print('authors获取失败')
107
-
108
- # get comment
109
- try:
110
- comment = bs.find_all(class_='metatable')[0].text
111
- real_comment = None
112
- for item in comment.replace('\n', ' ').split(' '):
113
- if 'Comments' in item:
114
- real_comment = item
115
- if real_comment is not None:
116
- other_details['comment'] = real_comment
117
- else:
118
- other_details['comment'] = ''
119
- except:
120
- other_details['comment'] = ''
121
- print('年份获取失败')
122
-
123
- title_str = BeautifulSoup(
124
- res.text, 'html.parser').find('title').contents[0]
125
- print('获取成功:', title_str)
126
- # arxiv_recall[_url_] = (title_str+'.pdf', other_details)
127
- # with open('./arxiv_recall.pkl', 'wb') as f:
128
- # pickle.dump(arxiv_recall, f)
129
-
130
- return title_str+'.pdf', other_details
131
-
132
-
133
-
134
- @CatchException
135
- def 下载arxiv论文并翻译摘要(txt, llm_kwargs, plugin_kwargs, chatbot, history, system_prompt, web_port):
136
-
137
- CRAZY_FUNCTION_INFO = "下载arxiv论文并翻译摘要,函数插件作者[binary-husky]。正在提取摘要并下载PDF文档……"
138
- import glob
139
- import os
140
-
141
- # 基本信息:功能、贡献者
142
- chatbot.append(["函数插件功能?", CRAZY_FUNCTION_INFO])
143
- yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
144
-
145
- # 尝试导入依赖,如果缺少依赖,则给出安装建议
146
- try:
147
- import pdfminer, bs4
148
- except:
149
- report_execption(chatbot, history,
150
- a = f"解析项目: {txt}",
151
- b = f"导入软件依赖失败。使用该模块需要额外依赖,安装方法```pip install --upgrade pdfminer beautifulsoup4```。")
152
- yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
153
- return
154
-
155
- # 清空历史,以免输入溢出
156
- history = []
157
-
158
- # 提取摘要,下载PDF文档
159
- try:
160
- pdf_path, info = download_arxiv_(txt)
161
- except:
162
- report_execption(chatbot, history,
163
- a = f"解析项目: {txt}",
164
- b = f"下载pdf文件未成功")
165
- yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
166
- return
167
-
168
- # 翻译摘要等
169
- i_say = f"请你阅读以下学术论文相关的材料,提取摘要,翻译为中文。材料如下:{str(info)}"
170
- i_say_show_user = f'请你阅读以下学术论文相关的材料,提取摘要,翻译为中文。论文:{pdf_path}'
171
- chatbot.append((i_say_show_user, "[Local Message] waiting gpt response."))
172
- yield from update_ui(chatbot=chatbot, history=history) # 刷新界面
173
- msg = '正常'
174
- # ** gpt request **
175
- # 单线,获取文章meta信息
176
- gpt_say = yield from request_gpt_model_in_new_thread_with_ui_alive(
177
- inputs=i_say,
178
- inputs_show_user=i_say_show_user,
179
- llm_kwargs=llm_kwargs,
180
- chatbot=chatbot, history=[],
181
- sys_prompt="Your job is to collect information from materials and translate to Chinese。",
182
- )
183
-
184
- chatbot[-1] = (i_say_show_user, gpt_say)
185
- history.append(i_say_show_user); history.append(gpt_say)
186
- yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
187
- # 写入文件
188
- import shutil
189
- # 重置文件的创建时间
190
- shutil.copyfile(pdf_path, f'./gpt_log/{os.path.basename(pdf_path)}'); os.remove(pdf_path)
191
- res = write_results_to_file(history)
192
- chatbot.append(("完成了吗?", res + "\n\nPDF文件也已经下载"))
193
- yield from update_ui(chatbot=chatbot, history=history, msg=msg) # 刷新界面
194
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/pip/_vendor/tenacity/__init__.py DELETED
@@ -1,608 +0,0 @@
1
- # Copyright 2016-2018 Julien Danjou
2
- # Copyright 2017 Elisey Zanko
3
- # Copyright 2016 Étienne Bersac
4
- # Copyright 2016 Joshua Harlow
5
- # Copyright 2013-2014 Ray Holder
6
- #
7
- # Licensed under the Apache License, Version 2.0 (the "License");
8
- # you may not use this file except in compliance with the License.
9
- # You may obtain a copy of the License at
10
- #
11
- # http://www.apache.org/licenses/LICENSE-2.0
12
- #
13
- # Unless required by applicable law or agreed to in writing, software
14
- # distributed under the License is distributed on an "AS IS" BASIS,
15
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- # See the License for the specific language governing permissions and
17
- # limitations under the License.
18
-
19
-
20
- import functools
21
- import sys
22
- import threading
23
- import time
24
- import typing as t
25
- import warnings
26
- from abc import ABC, abstractmethod
27
- from concurrent import futures
28
- from inspect import iscoroutinefunction
29
-
30
- # Import all built-in retry strategies for easier usage.
31
- from .retry import retry_base # noqa
32
- from .retry import retry_all # noqa
33
- from .retry import retry_always # noqa
34
- from .retry import retry_any # noqa
35
- from .retry import retry_if_exception # noqa
36
- from .retry import retry_if_exception_type # noqa
37
- from .retry import retry_if_exception_cause_type # noqa
38
- from .retry import retry_if_not_exception_type # noqa
39
- from .retry import retry_if_not_result # noqa
40
- from .retry import retry_if_result # noqa
41
- from .retry import retry_never # noqa
42
- from .retry import retry_unless_exception_type # noqa
43
- from .retry import retry_if_exception_message # noqa
44
- from .retry import retry_if_not_exception_message # noqa
45
-
46
- # Import all nap strategies for easier usage.
47
- from .nap import sleep # noqa
48
- from .nap import sleep_using_event # noqa
49
-
50
- # Import all built-in stop strategies for easier usage.
51
- from .stop import stop_after_attempt # noqa
52
- from .stop import stop_after_delay # noqa
53
- from .stop import stop_all # noqa
54
- from .stop import stop_any # noqa
55
- from .stop import stop_never # noqa
56
- from .stop import stop_when_event_set # noqa
57
-
58
- # Import all built-in wait strategies for easier usage.
59
- from .wait import wait_chain # noqa
60
- from .wait import wait_combine # noqa
61
- from .wait import wait_exponential # noqa
62
- from .wait import wait_fixed # noqa
63
- from .wait import wait_incrementing # noqa
64
- from .wait import wait_none # noqa
65
- from .wait import wait_random # noqa
66
- from .wait import wait_random_exponential # noqa
67
- from .wait import wait_random_exponential as wait_full_jitter # noqa
68
- from .wait import wait_exponential_jitter # noqa
69
-
70
- # Import all built-in before strategies for easier usage.
71
- from .before import before_log # noqa
72
- from .before import before_nothing # noqa
73
-
74
- # Import all built-in after strategies for easier usage.
75
- from .after import after_log # noqa
76
- from .after import after_nothing # noqa
77
-
78
- # Import all built-in after strategies for easier usage.
79
- from .before_sleep import before_sleep_log # noqa
80
- from .before_sleep import before_sleep_nothing # noqa
81
-
82
- # Replace a conditional import with a hard-coded None so that pip does
83
- # not attempt to use tornado even if it is present in the environment.
84
- # If tornado is non-None, tenacity will attempt to execute some code
85
- # that is sensitive to the version of tornado, which could break pip
86
- # if an old version is found.
87
- tornado = None # type: ignore
88
-
89
- if t.TYPE_CHECKING:
90
- import types
91
-
92
- from .retry import RetryBaseT
93
- from .stop import StopBaseT
94
- from .wait import WaitBaseT
95
-
96
-
97
- WrappedFnReturnT = t.TypeVar("WrappedFnReturnT")
98
- WrappedFn = t.TypeVar("WrappedFn", bound=t.Callable[..., t.Any])
99
-
100
-
101
- class TryAgain(Exception):
102
- """Always retry the executed function when raised."""
103
-
104
-
105
- NO_RESULT = object()
106
-
107
-
108
- class DoAttempt:
109
- pass
110
-
111
-
112
- class DoSleep(float):
113
- pass
114
-
115
-
116
- class BaseAction:
117
- """Base class for representing actions to take by retry object.
118
-
119
- Concrete implementations must define:
120
- - __init__: to initialize all necessary fields
121
- - REPR_FIELDS: class variable specifying attributes to include in repr(self)
122
- - NAME: for identification in retry object methods and callbacks
123
- """
124
-
125
- REPR_FIELDS: t.Sequence[str] = ()
126
- NAME: t.Optional[str] = None
127
-
128
- def __repr__(self) -> str:
129
- state_str = ", ".join(f"{field}={getattr(self, field)!r}" for field in self.REPR_FIELDS)
130
- return f"{self.__class__.__name__}({state_str})"
131
-
132
- def __str__(self) -> str:
133
- return repr(self)
134
-
135
-
136
- class RetryAction(BaseAction):
137
- REPR_FIELDS = ("sleep",)
138
- NAME = "retry"
139
-
140
- def __init__(self, sleep: t.SupportsFloat) -> None:
141
- self.sleep = float(sleep)
142
-
143
-
144
- _unset = object()
145
-
146
-
147
- def _first_set(first: t.Union[t.Any, object], second: t.Any) -> t.Any:
148
- return second if first is _unset else first
149
-
150
-
151
- class RetryError(Exception):
152
- """Encapsulates the last attempt instance right before giving up."""
153
-
154
- def __init__(self, last_attempt: "Future") -> None:
155
- self.last_attempt = last_attempt
156
- super().__init__(last_attempt)
157
-
158
- def reraise(self) -> "t.NoReturn":
159
- if self.last_attempt.failed:
160
- raise self.last_attempt.result()
161
- raise self
162
-
163
- def __str__(self) -> str:
164
- return f"{self.__class__.__name__}[{self.last_attempt}]"
165
-
166
-
167
- class AttemptManager:
168
- """Manage attempt context."""
169
-
170
- def __init__(self, retry_state: "RetryCallState"):
171
- self.retry_state = retry_state
172
-
173
- def __enter__(self) -> None:
174
- pass
175
-
176
- def __exit__(
177
- self,
178
- exc_type: t.Optional[t.Type[BaseException]],
179
- exc_value: t.Optional[BaseException],
180
- traceback: t.Optional["types.TracebackType"],
181
- ) -> t.Optional[bool]:
182
- if exc_type is not None and exc_value is not None:
183
- self.retry_state.set_exception((exc_type, exc_value, traceback))
184
- return True # Swallow exception.
185
- else:
186
- # We don't have the result, actually.
187
- self.retry_state.set_result(None)
188
- return None
189
-
190
-
191
- class BaseRetrying(ABC):
192
- def __init__(
193
- self,
194
- sleep: t.Callable[[t.Union[int, float]], None] = sleep,
195
- stop: "StopBaseT" = stop_never,
196
- wait: "WaitBaseT" = wait_none(),
197
- retry: "RetryBaseT" = retry_if_exception_type(),
198
- before: t.Callable[["RetryCallState"], None] = before_nothing,
199
- after: t.Callable[["RetryCallState"], None] = after_nothing,
200
- before_sleep: t.Optional[t.Callable[["RetryCallState"], None]] = None,
201
- reraise: bool = False,
202
- retry_error_cls: t.Type[RetryError] = RetryError,
203
- retry_error_callback: t.Optional[t.Callable[["RetryCallState"], t.Any]] = None,
204
- ):
205
- self.sleep = sleep
206
- self.stop = stop
207
- self.wait = wait
208
- self.retry = retry
209
- self.before = before
210
- self.after = after
211
- self.before_sleep = before_sleep
212
- self.reraise = reraise
213
- self._local = threading.local()
214
- self.retry_error_cls = retry_error_cls
215
- self.retry_error_callback = retry_error_callback
216
-
217
- def copy(
218
- self,
219
- sleep: t.Union[t.Callable[[t.Union[int, float]], None], object] = _unset,
220
- stop: t.Union["StopBaseT", object] = _unset,
221
- wait: t.Union["WaitBaseT", object] = _unset,
222
- retry: t.Union[retry_base, object] = _unset,
223
- before: t.Union[t.Callable[["RetryCallState"], None], object] = _unset,
224
- after: t.Union[t.Callable[["RetryCallState"], None], object] = _unset,
225
- before_sleep: t.Union[t.Optional[t.Callable[["RetryCallState"], None]], object] = _unset,
226
- reraise: t.Union[bool, object] = _unset,
227
- retry_error_cls: t.Union[t.Type[RetryError], object] = _unset,
228
- retry_error_callback: t.Union[t.Optional[t.Callable[["RetryCallState"], t.Any]], object] = _unset,
229
- ) -> "BaseRetrying":
230
- """Copy this object with some parameters changed if needed."""
231
- return self.__class__(
232
- sleep=_first_set(sleep, self.sleep),
233
- stop=_first_set(stop, self.stop),
234
- wait=_first_set(wait, self.wait),
235
- retry=_first_set(retry, self.retry),
236
- before=_first_set(before, self.before),
237
- after=_first_set(after, self.after),
238
- before_sleep=_first_set(before_sleep, self.before_sleep),
239
- reraise=_first_set(reraise, self.reraise),
240
- retry_error_cls=_first_set(retry_error_cls, self.retry_error_cls),
241
- retry_error_callback=_first_set(retry_error_callback, self.retry_error_callback),
242
- )
243
-
244
- def __repr__(self) -> str:
245
- return (
246
- f"<{self.__class__.__name__} object at 0x{id(self):x} ("
247
- f"stop={self.stop}, "
248
- f"wait={self.wait}, "
249
- f"sleep={self.sleep}, "
250
- f"retry={self.retry}, "
251
- f"before={self.before}, "
252
- f"after={self.after})>"
253
- )
254
-
255
- @property
256
- def statistics(self) -> t.Dict[str, t.Any]:
257
- """Return a dictionary of runtime statistics.
258
-
259
- This dictionary will be empty when the controller has never been
260
- ran. When it is running or has ran previously it should have (but
261
- may not) have useful and/or informational keys and values when
262
- running is underway and/or completed.
263
-
264
- .. warning:: The keys in this dictionary **should** be some what
265
- stable (not changing), but there existence **may**
266
- change between major releases as new statistics are
267
- gathered or removed so before accessing keys ensure that
268
- they actually exist and handle when they do not.
269
-
270
- .. note:: The values in this dictionary are local to the thread
271
- running call (so if multiple threads share the same retrying
272
- object - either directly or indirectly) they will each have
273
- there own view of statistics they have collected (in the
274
- future we may provide a way to aggregate the various
275
- statistics from each thread).
276
- """
277
- try:
278
- return self._local.statistics # type: ignore[no-any-return]
279
- except AttributeError:
280
- self._local.statistics = t.cast(t.Dict[str, t.Any], {})
281
- return self._local.statistics
282
-
283
- def wraps(self, f: WrappedFn) -> WrappedFn:
284
- """Wrap a function for retrying.
285
-
286
- :param f: A function to wraps for retrying.
287
- """
288
-
289
- @functools.wraps(f)
290
- def wrapped_f(*args: t.Any, **kw: t.Any) -> t.Any:
291
- return self(f, *args, **kw)
292
-
293
- def retry_with(*args: t.Any, **kwargs: t.Any) -> WrappedFn:
294
- return self.copy(*args, **kwargs).wraps(f)
295
-
296
- wrapped_f.retry = self # type: ignore[attr-defined]
297
- wrapped_f.retry_with = retry_with # type: ignore[attr-defined]
298
-
299
- return wrapped_f # type: ignore[return-value]
300
-
301
- def begin(self) -> None:
302
- self.statistics.clear()
303
- self.statistics["start_time"] = time.monotonic()
304
- self.statistics["attempt_number"] = 1
305
- self.statistics["idle_for"] = 0
306
-
307
- def iter(self, retry_state: "RetryCallState") -> t.Union[DoAttempt, DoSleep, t.Any]: # noqa
308
- fut = retry_state.outcome
309
- if fut is None:
310
- if self.before is not None:
311
- self.before(retry_state)
312
- return DoAttempt()
313
-
314
- is_explicit_retry = fut.failed and isinstance(fut.exception(), TryAgain)
315
- if not (is_explicit_retry or self.retry(retry_state)):
316
- return fut.result()
317
-
318
- if self.after is not None:
319
- self.after(retry_state)
320
-
321
- self.statistics["delay_since_first_attempt"] = retry_state.seconds_since_start
322
- if self.stop(retry_state):
323
- if self.retry_error_callback:
324
- return self.retry_error_callback(retry_state)
325
- retry_exc = self.retry_error_cls(fut)
326
- if self.reraise:
327
- raise retry_exc.reraise()
328
- raise retry_exc from fut.exception()
329
-
330
- if self.wait:
331
- sleep = self.wait(retry_state)
332
- else:
333
- sleep = 0.0
334
- retry_state.next_action = RetryAction(sleep)
335
- retry_state.idle_for += sleep
336
- self.statistics["idle_for"] += sleep
337
- self.statistics["attempt_number"] += 1
338
-
339
- if self.before_sleep is not None:
340
- self.before_sleep(retry_state)
341
-
342
- return DoSleep(sleep)
343
-
344
- def __iter__(self) -> t.Generator[AttemptManager, None, None]:
345
- self.begin()
346
-
347
- retry_state = RetryCallState(self, fn=None, args=(), kwargs={})
348
- while True:
349
- do = self.iter(retry_state=retry_state)
350
- if isinstance(do, DoAttempt):
351
- yield AttemptManager(retry_state=retry_state)
352
- elif isinstance(do, DoSleep):
353
- retry_state.prepare_for_next_attempt()
354
- self.sleep(do)
355
- else:
356
- break
357
-
358
- @abstractmethod
359
- def __call__(
360
- self,
361
- fn: t.Callable[..., WrappedFnReturnT],
362
- *args: t.Any,
363
- **kwargs: t.Any,
364
- ) -> WrappedFnReturnT:
365
- pass
366
-
367
-
368
- class Retrying(BaseRetrying):
369
- """Retrying controller."""
370
-
371
- def __call__(
372
- self,
373
- fn: t.Callable[..., WrappedFnReturnT],
374
- *args: t.Any,
375
- **kwargs: t.Any,
376
- ) -> WrappedFnReturnT:
377
- self.begin()
378
-
379
- retry_state = RetryCallState(retry_object=self, fn=fn, args=args, kwargs=kwargs)
380
- while True:
381
- do = self.iter(retry_state=retry_state)
382
- if isinstance(do, DoAttempt):
383
- try:
384
- result = fn(*args, **kwargs)
385
- except BaseException: # noqa: B902
386
- retry_state.set_exception(sys.exc_info()) # type: ignore[arg-type]
387
- else:
388
- retry_state.set_result(result)
389
- elif isinstance(do, DoSleep):
390
- retry_state.prepare_for_next_attempt()
391
- self.sleep(do)
392
- else:
393
- return do # type: ignore[no-any-return]
394
-
395
-
396
- if sys.version_info[1] >= 9:
397
- FutureGenericT = futures.Future[t.Any]
398
- else:
399
- FutureGenericT = futures.Future
400
-
401
-
402
- class Future(FutureGenericT):
403
- """Encapsulates a (future or past) attempted call to a target function."""
404
-
405
- def __init__(self, attempt_number: int) -> None:
406
- super().__init__()
407
- self.attempt_number = attempt_number
408
-
409
- @property
410
- def failed(self) -> bool:
411
- """Return whether a exception is being held in this future."""
412
- return self.exception() is not None
413
-
414
- @classmethod
415
- def construct(cls, attempt_number: int, value: t.Any, has_exception: bool) -> "Future":
416
- """Construct a new Future object."""
417
- fut = cls(attempt_number)
418
- if has_exception:
419
- fut.set_exception(value)
420
- else:
421
- fut.set_result(value)
422
- return fut
423
-
424
-
425
- class RetryCallState:
426
- """State related to a single call wrapped with Retrying."""
427
-
428
- def __init__(
429
- self,
430
- retry_object: BaseRetrying,
431
- fn: t.Optional[WrappedFn],
432
- args: t.Any,
433
- kwargs: t.Any,
434
- ) -> None:
435
- #: Retry call start timestamp
436
- self.start_time = time.monotonic()
437
- #: Retry manager object
438
- self.retry_object = retry_object
439
- #: Function wrapped by this retry call
440
- self.fn = fn
441
- #: Arguments of the function wrapped by this retry call
442
- self.args = args
443
- #: Keyword arguments of the function wrapped by this retry call
444
- self.kwargs = kwargs
445
-
446
- #: The number of the current attempt
447
- self.attempt_number: int = 1
448
- #: Last outcome (result or exception) produced by the function
449
- self.outcome: t.Optional[Future] = None
450
- #: Timestamp of the last outcome
451
- self.outcome_timestamp: t.Optional[float] = None
452
- #: Time spent sleeping in retries
453
- self.idle_for: float = 0.0
454
- #: Next action as decided by the retry manager
455
- self.next_action: t.Optional[RetryAction] = None
456
-
457
- @property
458
- def seconds_since_start(self) -> t.Optional[float]:
459
- if self.outcome_timestamp is None:
460
- return None
461
- return self.outcome_timestamp - self.start_time
462
-
463
- def prepare_for_next_attempt(self) -> None:
464
- self.outcome = None
465
- self.outcome_timestamp = None
466
- self.attempt_number += 1
467
- self.next_action = None
468
-
469
- def set_result(self, val: t.Any) -> None:
470
- ts = time.monotonic()
471
- fut = Future(self.attempt_number)
472
- fut.set_result(val)
473
- self.outcome, self.outcome_timestamp = fut, ts
474
-
475
- def set_exception(
476
- self, exc_info: t.Tuple[t.Type[BaseException], BaseException, "types.TracebackType| None"]
477
- ) -> None:
478
- ts = time.monotonic()
479
- fut = Future(self.attempt_number)
480
- fut.set_exception(exc_info[1])
481
- self.outcome, self.outcome_timestamp = fut, ts
482
-
483
- def __repr__(self) -> str:
484
- if self.outcome is None:
485
- result = "none yet"
486
- elif self.outcome.failed:
487
- exception = self.outcome.exception()
488
- result = f"failed ({exception.__class__.__name__} {exception})"
489
- else:
490
- result = f"returned {self.outcome.result()}"
491
-
492
- slept = float(round(self.idle_for, 2))
493
- clsname = self.__class__.__name__
494
- return f"<{clsname} {id(self)}: attempt #{self.attempt_number}; slept for {slept}; last result: {result}>"
495
-
496
-
497
- @t.overload
498
- def retry(func: WrappedFn) -> WrappedFn:
499
- ...
500
-
501
-
502
- @t.overload
503
- def retry(
504
- sleep: t.Callable[[t.Union[int, float]], None] = sleep,
505
- stop: "StopBaseT" = stop_never,
506
- wait: "WaitBaseT" = wait_none(),
507
- retry: "RetryBaseT" = retry_if_exception_type(),
508
- before: t.Callable[["RetryCallState"], None] = before_nothing,
509
- after: t.Callable[["RetryCallState"], None] = after_nothing,
510
- before_sleep: t.Optional[t.Callable[["RetryCallState"], None]] = None,
511
- reraise: bool = False,
512
- retry_error_cls: t.Type["RetryError"] = RetryError,
513
- retry_error_callback: t.Optional[t.Callable[["RetryCallState"], t.Any]] = None,
514
- ) -> t.Callable[[WrappedFn], WrappedFn]:
515
- ...
516
-
517
-
518
- def retry(*dargs: t.Any, **dkw: t.Any) -> t.Any:
519
- """Wrap a function with a new `Retrying` object.
520
-
521
- :param dargs: positional arguments passed to Retrying object
522
- :param dkw: keyword arguments passed to the Retrying object
523
- """
524
- # support both @retry and @retry() as valid syntax
525
- if len(dargs) == 1 and callable(dargs[0]):
526
- return retry()(dargs[0])
527
- else:
528
-
529
- def wrap(f: WrappedFn) -> WrappedFn:
530
- if isinstance(f, retry_base):
531
- warnings.warn(
532
- f"Got retry_base instance ({f.__class__.__name__}) as callable argument, "
533
- f"this will probably hang indefinitely (did you mean retry={f.__class__.__name__}(...)?)"
534
- )
535
- r: "BaseRetrying"
536
- if iscoroutinefunction(f):
537
- r = AsyncRetrying(*dargs, **dkw)
538
- elif tornado and hasattr(tornado.gen, "is_coroutine_function") and tornado.gen.is_coroutine_function(f):
539
- r = TornadoRetrying(*dargs, **dkw)
540
- else:
541
- r = Retrying(*dargs, **dkw)
542
-
543
- return r.wraps(f)
544
-
545
- return wrap
546
-
547
-
548
- from pip._vendor.tenacity._asyncio import AsyncRetrying # noqa:E402,I100
549
-
550
- if tornado:
551
- from pip._vendor.tenacity.tornadoweb import TornadoRetrying
552
-
553
-
554
- __all__ = [
555
- "retry_base",
556
- "retry_all",
557
- "retry_always",
558
- "retry_any",
559
- "retry_if_exception",
560
- "retry_if_exception_type",
561
- "retry_if_exception_cause_type",
562
- "retry_if_not_exception_type",
563
- "retry_if_not_result",
564
- "retry_if_result",
565
- "retry_never",
566
- "retry_unless_exception_type",
567
- "retry_if_exception_message",
568
- "retry_if_not_exception_message",
569
- "sleep",
570
- "sleep_using_event",
571
- "stop_after_attempt",
572
- "stop_after_delay",
573
- "stop_all",
574
- "stop_any",
575
- "stop_never",
576
- "stop_when_event_set",
577
- "wait_chain",
578
- "wait_combine",
579
- "wait_exponential",
580
- "wait_fixed",
581
- "wait_incrementing",
582
- "wait_none",
583
- "wait_random",
584
- "wait_random_exponential",
585
- "wait_full_jitter",
586
- "wait_exponential_jitter",
587
- "before_log",
588
- "before_nothing",
589
- "after_log",
590
- "after_nothing",
591
- "before_sleep_log",
592
- "before_sleep_nothing",
593
- "retry",
594
- "WrappedFn",
595
- "TryAgain",
596
- "NO_RESULT",
597
- "DoAttempt",
598
- "DoSleep",
599
- "BaseAction",
600
- "RetryAction",
601
- "RetryError",
602
- "AttemptManager",
603
- "BaseRetrying",
604
- "Retrying",
605
- "Future",
606
- "RetryCallState",
607
- "AsyncRetrying",
608
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/setuptools/_reqs.py DELETED
@@ -1,19 +0,0 @@
1
- import setuptools.extern.jaraco.text as text
2
-
3
- from pkg_resources import Requirement
4
-
5
-
6
- def parse_strings(strs):
7
- """
8
- Yield requirement strings for each specification in `strs`.
9
-
10
- `strs` must be a string, or a (possibly-nested) iterable thereof.
11
- """
12
- return text.join_continuation(map(text.drop_comment, text.yield_lines(strs)))
13
-
14
-
15
- def parse(strs):
16
- """
17
- Deprecated drop-in replacement for pkg_resources.parse_requirements.
18
- """
19
- return map(Requirement, parse_strings(strs))
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Ataturk-Chatbot/HuggingFaceChat/venv/lib/python3.11/site-packages/setuptools/sandbox.py DELETED
@@ -1,530 +0,0 @@
1
- import os
2
- import sys
3
- import tempfile
4
- import operator
5
- import functools
6
- import itertools
7
- import re
8
- import contextlib
9
- import pickle
10
- import textwrap
11
- import builtins
12
-
13
- import pkg_resources
14
- from distutils.errors import DistutilsError
15
- from pkg_resources import working_set
16
-
17
- if sys.platform.startswith('java'):
18
- import org.python.modules.posix.PosixModule as _os
19
- else:
20
- _os = sys.modules[os.name]
21
- try:
22
- _file = file
23
- except NameError:
24
- _file = None
25
- _open = open
26
-
27
-
28
- __all__ = [
29
- "AbstractSandbox",
30
- "DirectorySandbox",
31
- "SandboxViolation",
32
- "run_setup",
33
- ]
34
-
35
-
36
- def _execfile(filename, globals, locals=None):
37
- """
38
- Python 3 implementation of execfile.
39
- """
40
- mode = 'rb'
41
- with open(filename, mode) as stream:
42
- script = stream.read()
43
- if locals is None:
44
- locals = globals
45
- code = compile(script, filename, 'exec')
46
- exec(code, globals, locals)
47
-
48
-
49
- @contextlib.contextmanager
50
- def save_argv(repl=None):
51
- saved = sys.argv[:]
52
- if repl is not None:
53
- sys.argv[:] = repl
54
- try:
55
- yield saved
56
- finally:
57
- sys.argv[:] = saved
58
-
59
-
60
- @contextlib.contextmanager
61
- def save_path():
62
- saved = sys.path[:]
63
- try:
64
- yield saved
65
- finally:
66
- sys.path[:] = saved
67
-
68
-
69
- @contextlib.contextmanager
70
- def override_temp(replacement):
71
- """
72
- Monkey-patch tempfile.tempdir with replacement, ensuring it exists
73
- """
74
- os.makedirs(replacement, exist_ok=True)
75
-
76
- saved = tempfile.tempdir
77
-
78
- tempfile.tempdir = replacement
79
-
80
- try:
81
- yield
82
- finally:
83
- tempfile.tempdir = saved
84
-
85
-
86
- @contextlib.contextmanager
87
- def pushd(target):
88
- saved = os.getcwd()
89
- os.chdir(target)
90
- try:
91
- yield saved
92
- finally:
93
- os.chdir(saved)
94
-
95
-
96
- class UnpickleableException(Exception):
97
- """
98
- An exception representing another Exception that could not be pickled.
99
- """
100
-
101
- @staticmethod
102
- def dump(type, exc):
103
- """
104
- Always return a dumped (pickled) type and exc. If exc can't be pickled,
105
- wrap it in UnpickleableException first.
106
- """
107
- try:
108
- return pickle.dumps(type), pickle.dumps(exc)
109
- except Exception:
110
- # get UnpickleableException inside the sandbox
111
- from setuptools.sandbox import UnpickleableException as cls
112
-
113
- return cls.dump(cls, cls(repr(exc)))
114
-
115
-
116
- class ExceptionSaver:
117
- """
118
- A Context Manager that will save an exception, serialized, and restore it
119
- later.
120
- """
121
-
122
- def __enter__(self):
123
- return self
124
-
125
- def __exit__(self, type, exc, tb):
126
- if not exc:
127
- return
128
-
129
- # dump the exception
130
- self._saved = UnpickleableException.dump(type, exc)
131
- self._tb = tb
132
-
133
- # suppress the exception
134
- return True
135
-
136
- def resume(self):
137
- "restore and re-raise any exception"
138
-
139
- if '_saved' not in vars(self):
140
- return
141
-
142
- type, exc = map(pickle.loads, self._saved)
143
- raise exc.with_traceback(self._tb)
144
-
145
-
146
- @contextlib.contextmanager
147
- def save_modules():
148
- """
149
- Context in which imported modules are saved.
150
-
151
- Translates exceptions internal to the context into the equivalent exception
152
- outside the context.
153
- """
154
- saved = sys.modules.copy()
155
- with ExceptionSaver() as saved_exc:
156
- yield saved
157
-
158
- sys.modules.update(saved)
159
- # remove any modules imported since
160
- del_modules = (
161
- mod_name
162
- for mod_name in sys.modules
163
- if mod_name not in saved
164
- # exclude any encodings modules. See #285
165
- and not mod_name.startswith('encodings.')
166
- )
167
- _clear_modules(del_modules)
168
-
169
- saved_exc.resume()
170
-
171
-
172
- def _clear_modules(module_names):
173
- for mod_name in list(module_names):
174
- del sys.modules[mod_name]
175
-
176
-
177
- @contextlib.contextmanager
178
- def save_pkg_resources_state():
179
- saved = pkg_resources.__getstate__()
180
- try:
181
- yield saved
182
- finally:
183
- pkg_resources.__setstate__(saved)
184
-
185
-
186
- @contextlib.contextmanager
187
- def setup_context(setup_dir):
188
- temp_dir = os.path.join(setup_dir, 'temp')
189
- with save_pkg_resources_state():
190
- with save_modules():
191
- with save_path():
192
- hide_setuptools()
193
- with save_argv():
194
- with override_temp(temp_dir):
195
- with pushd(setup_dir):
196
- # ensure setuptools commands are available
197
- __import__('setuptools')
198
- yield
199
-
200
-
201
- _MODULES_TO_HIDE = {
202
- 'setuptools',
203
- 'distutils',
204
- 'pkg_resources',
205
- 'Cython',
206
- '_distutils_hack',
207
- }
208
-
209
-
210
- def _needs_hiding(mod_name):
211
- """
212
- >>> _needs_hiding('setuptools')
213
- True
214
- >>> _needs_hiding('pkg_resources')
215
- True
216
- >>> _needs_hiding('setuptools_plugin')
217
- False
218
- >>> _needs_hiding('setuptools.__init__')
219
- True
220
- >>> _needs_hiding('distutils')
221
- True
222
- >>> _needs_hiding('os')
223
- False
224
- >>> _needs_hiding('Cython')
225
- True
226
- """
227
- base_module = mod_name.split('.', 1)[0]
228
- return base_module in _MODULES_TO_HIDE
229
-
230
-
231
- def hide_setuptools():
232
- """
233
- Remove references to setuptools' modules from sys.modules to allow the
234
- invocation to import the most appropriate setuptools. This technique is
235
- necessary to avoid issues such as #315 where setuptools upgrading itself
236
- would fail to find a function declared in the metadata.
237
- """
238
- _distutils_hack = sys.modules.get('_distutils_hack', None)
239
- if _distutils_hack is not None:
240
- _distutils_hack.remove_shim()
241
-
242
- modules = filter(_needs_hiding, sys.modules)
243
- _clear_modules(modules)
244
-
245
-
246
- def run_setup(setup_script, args):
247
- """Run a distutils setup script, sandboxed in its directory"""
248
- setup_dir = os.path.abspath(os.path.dirname(setup_script))
249
- with setup_context(setup_dir):
250
- try:
251
- sys.argv[:] = [setup_script] + list(args)
252
- sys.path.insert(0, setup_dir)
253
- # reset to include setup dir, w/clean callback list
254
- working_set.__init__()
255
- working_set.callbacks.append(lambda dist: dist.activate())
256
-
257
- with DirectorySandbox(setup_dir):
258
- ns = dict(__file__=setup_script, __name__='__main__')
259
- _execfile(setup_script, ns)
260
- except SystemExit as v:
261
- if v.args and v.args[0]:
262
- raise
263
- # Normal exit, just return
264
-
265
-
266
- class AbstractSandbox:
267
- """Wrap 'os' module and 'open()' builtin for virtualizing setup scripts"""
268
-
269
- _active = False
270
-
271
- def __init__(self):
272
- self._attrs = [
273
- name
274
- for name in dir(_os)
275
- if not name.startswith('_') and hasattr(self, name)
276
- ]
277
-
278
- def _copy(self, source):
279
- for name in self._attrs:
280
- setattr(os, name, getattr(source, name))
281
-
282
- def __enter__(self):
283
- self._copy(self)
284
- if _file:
285
- builtins.file = self._file
286
- builtins.open = self._open
287
- self._active = True
288
-
289
- def __exit__(self, exc_type, exc_value, traceback):
290
- self._active = False
291
- if _file:
292
- builtins.file = _file
293
- builtins.open = _open
294
- self._copy(_os)
295
-
296
- def run(self, func):
297
- """Run 'func' under os sandboxing"""
298
- with self:
299
- return func()
300
-
301
- def _mk_dual_path_wrapper(name):
302
- original = getattr(_os, name)
303
-
304
- def wrap(self, src, dst, *args, **kw):
305
- if self._active:
306
- src, dst = self._remap_pair(name, src, dst, *args, **kw)
307
- return original(src, dst, *args, **kw)
308
-
309
- return wrap
310
-
311
- for name in ["rename", "link", "symlink"]:
312
- if hasattr(_os, name):
313
- locals()[name] = _mk_dual_path_wrapper(name)
314
-
315
- def _mk_single_path_wrapper(name, original=None):
316
- original = original or getattr(_os, name)
317
-
318
- def wrap(self, path, *args, **kw):
319
- if self._active:
320
- path = self._remap_input(name, path, *args, **kw)
321
- return original(path, *args, **kw)
322
-
323
- return wrap
324
-
325
- if _file:
326
- _file = _mk_single_path_wrapper('file', _file)
327
- _open = _mk_single_path_wrapper('open', _open)
328
- for name in [
329
- "stat",
330
- "listdir",
331
- "chdir",
332
- "open",
333
- "chmod",
334
- "chown",
335
- "mkdir",
336
- "remove",
337
- "unlink",
338
- "rmdir",
339
- "utime",
340
- "lchown",
341
- "chroot",
342
- "lstat",
343
- "startfile",
344
- "mkfifo",
345
- "mknod",
346
- "pathconf",
347
- "access",
348
- ]:
349
- if hasattr(_os, name):
350
- locals()[name] = _mk_single_path_wrapper(name)
351
-
352
- def _mk_single_with_return(name):
353
- original = getattr(_os, name)
354
-
355
- def wrap(self, path, *args, **kw):
356
- if self._active:
357
- path = self._remap_input(name, path, *args, **kw)
358
- return self._remap_output(name, original(path, *args, **kw))
359
- return original(path, *args, **kw)
360
-
361
- return wrap
362
-
363
- for name in ['readlink', 'tempnam']:
364
- if hasattr(_os, name):
365
- locals()[name] = _mk_single_with_return(name)
366
-
367
- def _mk_query(name):
368
- original = getattr(_os, name)
369
-
370
- def wrap(self, *args, **kw):
371
- retval = original(*args, **kw)
372
- if self._active:
373
- return self._remap_output(name, retval)
374
- return retval
375
-
376
- return wrap
377
-
378
- for name in ['getcwd', 'tmpnam']:
379
- if hasattr(_os, name):
380
- locals()[name] = _mk_query(name)
381
-
382
- def _validate_path(self, path):
383
- """Called to remap or validate any path, whether input or output"""
384
- return path
385
-
386
- def _remap_input(self, operation, path, *args, **kw):
387
- """Called for path inputs"""
388
- return self._validate_path(path)
389
-
390
- def _remap_output(self, operation, path):
391
- """Called for path outputs"""
392
- return self._validate_path(path)
393
-
394
- def _remap_pair(self, operation, src, dst, *args, **kw):
395
- """Called for path pairs like rename, link, and symlink operations"""
396
- return (
397
- self._remap_input(operation + '-from', src, *args, **kw),
398
- self._remap_input(operation + '-to', dst, *args, **kw),
399
- )
400
-
401
-
402
- if hasattr(os, 'devnull'):
403
- _EXCEPTIONS = [os.devnull]
404
- else:
405
- _EXCEPTIONS = []
406
-
407
-
408
- class DirectorySandbox(AbstractSandbox):
409
- """Restrict operations to a single subdirectory - pseudo-chroot"""
410
-
411
- write_ops = dict.fromkeys(
412
- [
413
- "open",
414
- "chmod",
415
- "chown",
416
- "mkdir",
417
- "remove",
418
- "unlink",
419
- "rmdir",
420
- "utime",
421
- "lchown",
422
- "chroot",
423
- "mkfifo",
424
- "mknod",
425
- "tempnam",
426
- ]
427
- )
428
-
429
- _exception_patterns = []
430
- "exempt writing to paths that match the pattern"
431
-
432
- def __init__(self, sandbox, exceptions=_EXCEPTIONS):
433
- self._sandbox = os.path.normcase(os.path.realpath(sandbox))
434
- self._prefix = os.path.join(self._sandbox, '')
435
- self._exceptions = [
436
- os.path.normcase(os.path.realpath(path)) for path in exceptions
437
- ]
438
- AbstractSandbox.__init__(self)
439
-
440
- def _violation(self, operation, *args, **kw):
441
- from setuptools.sandbox import SandboxViolation
442
-
443
- raise SandboxViolation(operation, args, kw)
444
-
445
- if _file:
446
-
447
- def _file(self, path, mode='r', *args, **kw):
448
- if mode not in ('r', 'rt', 'rb', 'rU', 'U') and not self._ok(path):
449
- self._violation("file", path, mode, *args, **kw)
450
- return _file(path, mode, *args, **kw)
451
-
452
- def _open(self, path, mode='r', *args, **kw):
453
- if mode not in ('r', 'rt', 'rb', 'rU', 'U') and not self._ok(path):
454
- self._violation("open", path, mode, *args, **kw)
455
- return _open(path, mode, *args, **kw)
456
-
457
- def tmpnam(self):
458
- self._violation("tmpnam")
459
-
460
- def _ok(self, path):
461
- active = self._active
462
- try:
463
- self._active = False
464
- realpath = os.path.normcase(os.path.realpath(path))
465
- return (
466
- self._exempted(realpath)
467
- or realpath == self._sandbox
468
- or realpath.startswith(self._prefix)
469
- )
470
- finally:
471
- self._active = active
472
-
473
- def _exempted(self, filepath):
474
- start_matches = (
475
- filepath.startswith(exception) for exception in self._exceptions
476
- )
477
- pattern_matches = (
478
- re.match(pattern, filepath) for pattern in self._exception_patterns
479
- )
480
- candidates = itertools.chain(start_matches, pattern_matches)
481
- return any(candidates)
482
-
483
- def _remap_input(self, operation, path, *args, **kw):
484
- """Called for path inputs"""
485
- if operation in self.write_ops and not self._ok(path):
486
- self._violation(operation, os.path.realpath(path), *args, **kw)
487
- return path
488
-
489
- def _remap_pair(self, operation, src, dst, *args, **kw):
490
- """Called for path pairs like rename, link, and symlink operations"""
491
- if not self._ok(src) or not self._ok(dst):
492
- self._violation(operation, src, dst, *args, **kw)
493
- return (src, dst)
494
-
495
- def open(self, file, flags, mode=0o777, *args, **kw):
496
- """Called for low-level os.open()"""
497
- if flags & WRITE_FLAGS and not self._ok(file):
498
- self._violation("os.open", file, flags, mode, *args, **kw)
499
- return _os.open(file, flags, mode, *args, **kw)
500
-
501
-
502
- WRITE_FLAGS = functools.reduce(
503
- operator.or_,
504
- [
505
- getattr(_os, a, 0)
506
- for a in "O_WRONLY O_RDWR O_APPEND O_CREAT O_TRUNC O_TEMPORARY".split()
507
- ],
508
- )
509
-
510
-
511
- class SandboxViolation(DistutilsError):
512
- """A setup script attempted to modify the filesystem outside the sandbox"""
513
-
514
- tmpl = textwrap.dedent(
515
- """
516
- SandboxViolation: {cmd}{args!r} {kwargs}
517
-
518
- The package setup script has attempted to modify files on your system
519
- that are not within the EasyInstall build area, and has been aborted.
520
-
521
- This package cannot be safely installed by EasyInstall, and may not
522
- support alternate installation locations even if you run its setup
523
- script by hand. Please inform the package's author and the EasyInstall
524
- maintainers to find out if a fix or workaround is available.
525
- """
526
- ).lstrip()
527
-
528
- def __str__(self):
529
- cmd, args, kwargs = self.args
530
- return self.tmpl.format(**locals())
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Awesimo/jojogan/e4e/models/stylegan2/op/upfirdn2d.cpp DELETED
@@ -1,23 +0,0 @@
1
- #include <torch/extension.h>
2
-
3
-
4
- torch::Tensor upfirdn2d_op(const torch::Tensor& input, const torch::Tensor& kernel,
5
- int up_x, int up_y, int down_x, int down_y,
6
- int pad_x0, int pad_x1, int pad_y0, int pad_y1);
7
-
8
- #define CHECK_CUDA(x) TORCH_CHECK(x.type().is_cuda(), #x " must be a CUDA tensor")
9
- #define CHECK_CONTIGUOUS(x) TORCH_CHECK(x.is_contiguous(), #x " must be contiguous")
10
- #define CHECK_INPUT(x) CHECK_CUDA(x); CHECK_CONTIGUOUS(x)
11
-
12
- torch::Tensor upfirdn2d(const torch::Tensor& input, const torch::Tensor& kernel,
13
- int up_x, int up_y, int down_x, int down_y,
14
- int pad_x0, int pad_x1, int pad_y0, int pad_y1) {
15
- CHECK_CUDA(input);
16
- CHECK_CUDA(kernel);
17
-
18
- return upfirdn2d_op(input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1);
19
- }
20
-
21
- PYBIND11_MODULE(TORCH_EXTENSION_NAME, m) {
22
- m.def("upfirdn2d", &upfirdn2d, "upfirdn2d (CUDA)");
23
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Awiny/Image2Paragraph/README.md DELETED
@@ -1,13 +0,0 @@
1
- ---
2
- title: Image2Paragraph
3
- emoji: 🌖
4
- colorFrom: green
5
- colorTo: red
6
- sdk: gradio
7
- sdk_version: 3.24.1
8
- app_file: app.py
9
- pinned: false
10
- license: apache-2.0
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Awiny/Image2Paragraph/models/grit_src/third_party/CenterNet2/detectron2/data/datasets/pascal_voc.py DELETED
@@ -1,82 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- # Copyright (c) Facebook, Inc. and its affiliates.
3
-
4
- import numpy as np
5
- import os
6
- import xml.etree.ElementTree as ET
7
- from typing import List, Tuple, Union
8
-
9
- from detectron2.data import DatasetCatalog, MetadataCatalog
10
- from detectron2.structures import BoxMode
11
- from detectron2.utils.file_io import PathManager
12
-
13
- __all__ = ["load_voc_instances", "register_pascal_voc"]
14
-
15
-
16
- # fmt: off
17
- CLASS_NAMES = (
18
- "aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat",
19
- "chair", "cow", "diningtable", "dog", "horse", "motorbike", "person",
20
- "pottedplant", "sheep", "sofa", "train", "tvmonitor"
21
- )
22
- # fmt: on
23
-
24
-
25
- def load_voc_instances(dirname: str, split: str, class_names: Union[List[str], Tuple[str, ...]]):
26
- """
27
- Load Pascal VOC detection annotations to Detectron2 format.
28
-
29
- Args:
30
- dirname: Contain "Annotations", "ImageSets", "JPEGImages"
31
- split (str): one of "train", "test", "val", "trainval"
32
- class_names: list or tuple of class names
33
- """
34
- with PathManager.open(os.path.join(dirname, "ImageSets", "Main", split + ".txt")) as f:
35
- fileids = np.loadtxt(f, dtype=np.str)
36
-
37
- # Needs to read many small annotation files. Makes sense at local
38
- annotation_dirname = PathManager.get_local_path(os.path.join(dirname, "Annotations/"))
39
- dicts = []
40
- for fileid in fileids:
41
- anno_file = os.path.join(annotation_dirname, fileid + ".xml")
42
- jpeg_file = os.path.join(dirname, "JPEGImages", fileid + ".jpg")
43
-
44
- with PathManager.open(anno_file) as f:
45
- tree = ET.parse(f)
46
-
47
- r = {
48
- "file_name": jpeg_file,
49
- "image_id": fileid,
50
- "height": int(tree.findall("./size/height")[0].text),
51
- "width": int(tree.findall("./size/width")[0].text),
52
- }
53
- instances = []
54
-
55
- for obj in tree.findall("object"):
56
- cls = obj.find("name").text
57
- # We include "difficult" samples in training.
58
- # Based on limited experiments, they don't hurt accuracy.
59
- # difficult = int(obj.find("difficult").text)
60
- # if difficult == 1:
61
- # continue
62
- bbox = obj.find("bndbox")
63
- bbox = [float(bbox.find(x).text) for x in ["xmin", "ymin", "xmax", "ymax"]]
64
- # Original annotations are integers in the range [1, W or H]
65
- # Assuming they mean 1-based pixel indices (inclusive),
66
- # a box with annotation (xmin=1, xmax=W) covers the whole image.
67
- # In coordinate space this is represented by (xmin=0, xmax=W)
68
- bbox[0] -= 1.0
69
- bbox[1] -= 1.0
70
- instances.append(
71
- {"category_id": class_names.index(cls), "bbox": bbox, "bbox_mode": BoxMode.XYXY_ABS}
72
- )
73
- r["annotations"] = instances
74
- dicts.append(r)
75
- return dicts
76
-
77
-
78
- def register_pascal_voc(name, dirname, split, year, class_names=CLASS_NAMES):
79
- DatasetCatalog.register(name, lambda: load_voc_instances(dirname, split, class_names))
80
- MetadataCatalog.get(name).set(
81
- thing_classes=list(class_names), dirname=dirname, year=year, split=split
82
- )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Bet 365.gr.md DELETED
@@ -1,80 +0,0 @@
1
- <br />
2
- <h1>Zenless Zone Zero: Un nuevo juego de acción ambientado en un mundo post-apocalíptico</h1>
3
- <p>¿Estás buscando un nuevo juego de acción que desafíe tus habilidades y te sumerja en una historia emocionante? Si es así, es posible que desee echa un vistazo a Zenless Zone Zero, un nuevo juego desarrollado por HoYoverse. En este artículo, te diremos todo lo que necesitas saber sobre este juego, incluyendo qué es, cómo descargarlo y jugarlo en el PC, y dónde encontrar más información sobre él. ¡Vamos a empezar! </p>
4
- <h2>¿Qué es la zona cero de Zenless? </h2>
5
- <p>Zenless Zone Zero es un juego de rol que combina acción, aventura y misterio. El juego tiene lugar en un futuro próximo, donde ha ocurrido un misterioso desastre natural conocido como los "Hollows". Los Hollows han causado destrucción masiva y caos en todo el mundo, dejando solo una ciudad en pie: New Eridu. New Eridu es una ciudad que se ha adaptado a las nuevas condiciones y depende de los Hollows para sobrevivir. Sin embargo, esto también trae nuevos enemigos y peligros, como pandillas, mafias y monstruos. Como jugador, asumirás el papel de Proxy, una persona que guía a los visitantes por los Hollows para hacer turismo o explorar. También tendrás que luchar contra varias amenazas y descubrir los secretos detrás de los Hollows y New Eridu.</p>
6
- <h2>bet 365.gr</h2><br /><p><b><b>Download Zip</b> &#10038; <a href="https://bltlly.com/2v6J5c">https://bltlly.com/2v6J5c</a></b></p><br /><br />
7
- <h3>La historia y la configuración del juego</h3>
8
- <p>La historia de Zenless Zone Zero se desarrolla en un mundo post-apocalíptico que ha sido devastado por los Hollows. Los Hollows son fenómenos misteriosos que han aparecido en todo el mundo, creando enormes cráteres y alterando el medio ambiente. Nadie sabe lo que los causó o lo que son, pero parecen tener algún tipo de inteligencia y poder. Algunas personas creen que son castigos divinos, mientras que otros piensan que son invasiones alienígenas. Lo único seguro es que lo han cambiado todo. </p>
9
-
10
- <h3>La jugabilidad y características del juego</h3>
11
- <p>Zenless Zone Zero es un juego que ofrece muchas opciones de juego y características para que los jugadores disfruten. Podrás personalizar la apariencia, habilidades, armas y equipo de tu personaje a medida que avanzas en el juego. También podrás elegir a tus aliados de diferentes facciones y personajes, cada uno con sus propias personalidades y habilidades. Tendrás que cooperar con ellos en combate y diálogo, así como tomar decisiones que afectarán tus relaciones y resultados. </p>
12
- <p>El juego también tiene un sistema de combate dinámico que te permite usar diferentes estrategias y tácticas dependiendo de tus enemigos y situaciones. Podrás cambiar entre ataques cuerpo a cuerpo y a distancia, usar habilidades y objetos especiales, esquivar y detener ataques, y realizar combos y finalizadores. También tendrá que lidiar con peligros y obstáculos ambientales, como trampas, explosivos, escombros y efectos climáticos. El juego desafiará tus reflejos y habilidades mientras te enfrentas a varios enemigos y jefes. </p> <h3>Los personajes y facciones del juego</h3>
13
-
14
- <h2>¿Cómo descargar y jugar Zenless Zone Zero en PC? </h2>
15
- <p>Zenless Zone Zero es un juego que está disponible para dispositivos móviles y PC. Sin embargo, si quieres disfrutar del juego en una pantalla más grande, con mejores gráficos, sonido y rendimiento, es posible que quieras jugarlo en PC. La mejor manera de hacerlo es mediante el uso de BlueStacks, que es un emulador de Android potente y confiable que le permite ejecutar cualquier aplicación o juego de Android en su PC. Estos son algunos de los beneficios de jugar Zenless Zone Zero en PC con BlueStacks:</p>
16
- <h3>Los beneficios de jugar en PC con BlueStacks</h3>
17
- <ul>
18
- <li>Podrás jugar a Zenless Zone Zero en una pantalla más grande, lo que mejorará tu experiencia visual e inmersión. </li>
19
- <li>Podrás usar el teclado y el ratón para controlar tu personaje y tus acciones, lo que te dará más precisión y comodidad. </li>
20
- <li>Podrá personalizar sus ajustes y preferencias, como resolución, velocidad de fotogramas, volumen de sonido, asignación de claves, etc.</li>
21
- <li>Usted será capaz de acceder a varias características y herramientas que BlueStacks ofrece, tales como el modo de varias instancias, grabador de macro, grabador de pantalla, etc.</li>
22
- <li> Usted será capaz de guardar su progreso y los datos en su PC o almacenamiento en la nube, lo que evitará cualquier pérdida o corrupción. </li>
23
- </ul>
24
- <h3>Los pasos para instalar y ejecutar el juego en el PC con BlueStacks</h3>
25
- <ol>
26
- <li>Descargar e instalar BlueStacks en su PC desde el sitio web oficial: [BlueStacks]. </li>
27
- <li>Inicie BlueStacks e inicie sesión con su cuenta de Google. </li>
28
- <li>Buscar Zenless Zone Zero en la barra de búsqueda o ir a la aplicación Google Play Store. </li>
29
- <li>Haga clic en el icono del juego e instálelo en su PC.</li>
30
- <li>Una vez completada la instalación, haga clic en el icono del juego en la pantalla de inicio o en la pestaña Mis juegos. </li>
31
- <li>Disfruta jugando Zenless Zone Zero en PC con BlueStacks! </li>
32
- </ol> <h3>Los consejos y trucos para disfrutar del juego en el PC con BlueStacks</h3>
33
-
34
- <ul>
35
- <li>Utilice la función de asignación de claves BlueStacks para asignar sus claves preferidas a sus acciones, como movimiento, ataque, salto, etc. Esto hará que sus controles sean más intuitivos y sensibles. </li>
36
- <li>Utilice la función de grabadora de macros BlueStacks para crear y ejecutar comandos personalizados, como combos, accesos directos, etc. Esto le ahorrará tiempo y esfuerzo y hará que su juego sea más eficiente. </li>
37
- <li>Utilice la función de modo multiinstancia BlueStacks para ejecutar varias instancias del juego en su PC. Esto le permitirá jugar con diferentes cuentas, personajes o facciones al mismo tiempo. </li>
38
- <li>Utilice la función de grabación de pantalla BlueStacks para grabar y compartir sus vídeos de juego con sus amigos o comunidades en línea. Esto mostrará tus habilidades y logros y te ayudará a ganar más fans y seguidores. </li>
39
- <li>Utilice la función de chat BlueStacks para comunicarse con otros jugadores en tiempo real. Esto te ayudará a coordinar tus acciones, intercambiar información y hacer nuevos amigos. </li>
40
- </ul>
41
- <h2>Sitio oficial de Zenless Zone Zero y redes sociales</h2>
42
- <p>Si desea obtener más información sobre Zenless Zone Zero, es posible que desee visitar su sitio oficial y las cuentas de redes sociales. Allí, podrás encontrar más detalles sobre el juego, como su historia, personajes, características, etc. También podrás acceder a sus últimas noticias y actualizaciones, como nuevos lanzamientos, parches, eventos, etc. También podrás interactuar con otros fans y jugadores del juego, así como con los propios desarrolladores. Estos son algunos de los enlaces que puedes consultar:</p>
43
- <h3>El sitio oficial del juego</h3>
44
- <p>El sitio oficial de Zenless Zone Zero es [Zenless Zone Zero]. Allí, podrás encontrar todo lo que necesitas saber sobre el juego, como su resumen, tráiler, capturas de pantalla, requisitos del sistema, etc. También podrás descargar el juego de forma gratuita desde allí. </p>
45
- <h3>Las cuentas oficiales de redes sociales del juego</h3>
46
-
47
- <ul>
48
- <li>Facebook: [Zenless Zone Zero Facebook]</li>
49
- <li>Twitter: [Zenless Zone Zero Twitter]</li>
50
- <li>Instagram: [Zenless Zone Zero Instagram]</li>
51
- <li>YouTube: [Zona cero de Zenless YouTube]</li>
52
- </ul>
53
- <h3>Las últimas noticias y actualizaciones del juego</h3>
54
- <p>Zenless Zone Zero es un juego que está siendo constantemente actualizado y mejorado por sus desarrolladores. Siempre están trabajando para añadir nuevos contenidos y características al juego, así como para solucionar errores y problemas. También están escuchando los comentarios y sugerencias de los jugadores y fans. Si desea mantenerse al día sobre lo que es nuevo y lo que viene a continuación para Zenless Zone Zero, es posible que desee consultar su blog o boletín de noticias. Allí, podrás leer sus últimos artículos y anuncios sobre el desarrollo y progreso del juego. También podrás registrarte en su lista de correo electrónico y recibir ofertas y recompensas exclusivas. Estos son algunos de los enlaces que puedes consultar:</p>
55
- <ul>
56
- <li>Blog: [Zona cero de Zenless Blog]</li>
57
- <li>Boletín de noticias: [Zenless Zone Zero Newsletter]</li>
58
- </ul>
59
- <h2>Conclusión</h2>
60
- <p>Zenless Zone Zero es un nuevo juego de acción que se desarrolla en un mundo post-apocalíptico donde ha ocurrido un misterioso desastre natural conocido como los Hollows. El juego te permite jugar como un Proxy, una persona que guía a los visitantes alrededor de los Hollows por varias razones. También tendrás que luchar contra varios enemigos y descubrir los secretos detrás de los Hollows y New Eridu.</p>
61
- <p></p>
62
- <p>Si quieres jugar Zenless Zone Zero en PC con mejores gráficos, sonido, rendimiento y características, puedes usar BlueStacks, que es un potente emulador de Android que te permite ejecutar cualquier aplicación o juego de Android en tu PC. Puede descargar BlueStacks gratis desde su sitio web oficial e instalar Zenless Zone Zero en su PC fácilmente. También puede utilizar varias características y herramientas que BlueStacks ofrece para mejorar su experiencia de juego. </p>
63
-
64
- <p>Zenless Zone Zero es un juego que te mantendrá entretenido y comprometido durante horas con su emocionante historia, jugabilidad y características. Si eres un fan de los juegos de acción, definitivamente deberías intentarlo. Puedes descargarlo gratis desde la Google Play Store o el sitio oficial del juego. También puede jugar en el PC con BlueStacks para una mejor experiencia de juego. ¡No pierdas esta oportunidad de explorar los Huecos y el Nuevo Eridu con Zenless Zone Zero! </p>
65
- <h3>Preguntas frecuentes</h3>
66
- <p>Estas son algunas de las preguntas más frecuentes sobre Zenless Zone Zero:</p>
67
- <ol>
68
- <li>¿Cuál es el género de Zenless Zone Zero? </li>
69
- <p>Zenless Zone Zero es un juego de rol que combina acción, aventura y misterio. </p>
70
- <li>¿Cuál es la calificación de Zenless Zone Zero? </li>
71
- <p>Zenless Zone Zero está clasificado T para Teen por la ESRB. Contiene violencia, sangre, lenguaje y temas sugerentes. </p>
72
- <li> ¿Cuánto dura la zona cero de Zenless? </li>
73
- <p>Zenless Zone Zero tiene un tiempo de reproducción estimado de 20 horas para la historia principal, y 40 horas para el completionista. </p>
74
- <li>¿Zenless Zone Zero tiene modo multijugador? </li>
75
- <p>Zenless Zone Zero no tiene modo multijugador en este momento, pero podría añadirse en futuras actualizaciones. </p>
76
- <li>¿Tiene Zenless Zone Zero microtransacciones? </li>
77
- <p>Zenless Zone Zero no tiene microtransacciones, pero podría tener compras opcionales en la aplicación en futuras actualizaciones. </p>
78
- </ol></p> 64aa2da5cf<br />
79
- <br />
80
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Carreras De Trfico De Coches - Juegos 3d.md DELETED
@@ -1,75 +0,0 @@
1
-
2
- <h1>Carreras de tráfico de coches - Juegos 3D: Una guía para principiantes</h1>
3
- <p>Si te gusta conducir coches rápidos y tejer a través del tráfico, entonces usted puede disfrutar jugando carreras de tráfico de coches - juegos 3d. Estos son juegos que simulan la emoción y el desafío de conducir en carreteras concurridas, carreteras y calles de la ciudad. Puedes elegir entre diferentes coches, modos y entornos, y probar tus habilidades y reflejos contra otros conductores, límites de tiempo y obstáculos. </p>
4
- <p>En este artículo, le daremos una guía completa sobre lo que son las carreras de tráfico de automóviles - juegos en 3D, cómo jugarlos y dónde encontrarlos. También compartiremos algunos consejos y trucos para ayudarte a mejorar tu rendimiento y divertirte más. ¡Empecemos! </p>
5
- <h2>carreras de tráfico de coches - juegos 3d</h2><br /><p><b><b>Download Zip</b> &gt; <a href="https://bltlly.com/2v6IPo">https://bltlly.com/2v6IPo</a></b></p><br /><br />
6
- <h2>¿Qué son las carreras de tráfico de coches - juegos 3d? </h2>
7
- <p>Carreras de tráfico de coches - juegos 3d son un subgénero de juegos de conducción que se centran en las carreras a través del tráfico en gráficos 3D realistas. Son diferentes de otros juegos de carreras en que tienen elementos más dinámicos e impredecibles, como coches, camiones, autobuses, peatones y policía. También tienen más variedad y opciones de personalización, como diferentes coches, colores, mejoras, ajustes y misiones. </p>
8
- <h3>Las características y beneficios de las carreras de tráfico de coches - juegos 3d</h3>
9
- <p>Algunas de las características y beneficios de las carreras de tráfico de coches - juegos 3d son:</p>
10
- <ul>
11
- <li>Son fáciles de jugar y accesibles para cualquiera. No necesitas ninguna habilidad o equipo especial para disfrutarlos. Todo lo que necesitas es un dispositivo con un navegador o una tienda de aplicaciones, y una conexión a Internet. </li>
12
- <li>Son inmersivos y realistas. Puedes sentir que conduces un coche real en un mundo real, con física, sonidos y gráficos realistas. También puede experimentar diferentes condiciones climáticas, ciclos diurnos y nocturnos y situaciones de tráfico. </li>
13
-
14
- </ul>
15
- <h3>Los tipos y géneros de carreras de tráfico de coches - juegos 3d</h3>
16
- <p>Hay muchos tipos y géneros de carreras de tráfico de coches - juegos 3d disponibles en línea o fuera de línea. Algunos de los más populares son:</p>
17
- <ul>
18
- <li>Traffic Jam 3D: Este es un juego donde se puede tratar de llegar a los puntos de control a tiempo, hacer un número específico de puntos y la distancia dentro de algún período, y mucho más. Puede elegir entre diferentes coches, carreteras y modos. </li>
19
- <li>Traffic Racer: Este es un juego donde usted puede conducir su coche a través del tráfico de la carretera, ganar dinero, actualizar su coche y comprar otros nuevos. Puede elegir entre diferentes coches, entornos, modos y misiones. </li>
20
- <li>Traffic Rider: Este es un juego donde usted puede montar su motocicleta a través del tráfico de la carretera, ganar dinero, actualizar su bicicleta y comprar nuevas. Puede elegir entre diferentes bicicletas, entornos, modos y misiones. </li>
21
- </ul>
22
- <h <h2>Cómo jugar carreras de tráfico de coches - juegos 3d? </h2>
23
- <p>Jugar carreras de tráfico de coches - juegos 3d es simple e intuitivo. Solo tienes que seguir las instrucciones de la pantalla y utilizar el teclado, el ratón o los controles táctiles para controlar el coche. Aquí están algunos de los controles básicos y la mecánica de las carreras de tráfico de coches - juegos 3d:</p>
24
- <h3>Los controles básicos y la mecánica de las carreras de tráfico de coches - juegos 3d</h3>
25
- <h4>Aceleración, frenado, dirección y deriva</h4>
26
- <p>Para acelerar su coche, puede presionar la tecla de flecha hacia arriba, la tecla W o el pedal derecho en la pantalla. Para frenar su automóvil, puede presionar la tecla de flecha hacia abajo, la tecla S o el pedal izquierdo en la pantalla. Para dirigir su coche, puede utilizar las teclas de flecha izquierda y derecha, las teclas A y D, o inclinar el dispositivo. Para desplazar su coche, puede presionar la barra espaciadora, la tecla de cambio o deslizar el dedo en la pantalla. </p>
27
- <h4>Usando nitro, cuerno, y luz</h4>
28
-
29
- <h4>Cambiar la vista de la cámara y la perspectiva</h4>
30
- <p>Para cambiar la vista de la cámara y la perspectiva, puede presionar la tecla C, la tecla V o tocar el icono de la cámara en la pantalla. Puede elegir entre diferentes vistas, como primera persona, tercera persona, de arriba hacia abajo o vista trasera. </p>
31
- <p></p>
32
- <h3>Los consejos y trucos para las carreras de tráfico de coches - juegos 3d</h3>
33
- <h4>Cómo evitar el tráfico y los obstáculos</h4>
34
- <p>Para evitar el tráfico y los obstáculos, es necesario estar alerta y atento. Usted necesita tener cuidado con otros coches, camiones, autobuses, peatones, coches de policía, señales de tráfico, barreras, conos, y más. Es necesario utilizar sus habilidades de dirección y reflejos para esquivarlos o superarlos. También debe seguir las reglas de tráfico y señales, como luces rojas, señales de alto, límites de velocidad y marcas de carril. Si los rompes o causas accidentes, perderás puntos o serás perseguido por la policía. </p>
35
- <h4>Cómo ganar dinero y mejorar su coche</h4>
36
- <p>Para ganar dinero y mejorar tu coche, necesitas completar misiones y desafíos. Puedes encontrarlos en el mapa o en el menú. Pueden ser diferentes tipos de tareas como alcanzar cierta velocidad o distancia dentro de un límite de tiempo; pasar por un cierto número de coches; evitar un cierto número de colisiones; recoger un cierto número de monedas; o ganar un cierto número de carreras. Puede utilizar el dinero en efectivo para comprar coches nuevos o actualizar los existentes. Puede mejorar su rendimiento como la velocidad, aceleración, manejo, frenado y nitro. También puede personalizar su apariencia como color, pintura, ruedas y pegatinas. </p>
37
- <h4>Cómo completar misiones y desafíos</h4>
38
-
39
- <h2>Dónde encontrar y descargar carreras de tráfico de coches - juegos 3d? </h2>
40
- <p>Hay muchos sitios web y plataformas donde se puede encontrar y descargar carreras de tráfico de coches - juegos 3d. Algunos de los mejores son:</p>
41
- <h3>Los mejores sitios web y plataformas para las carreras de tráfico de coches - juegos 3d</h3>
42
- <h4>CrazyGames.com </h4>
43
- <p>Este es un sitio web donde se puede jugar cientos de juegos en línea gratis en varias categorías, incluyendo carreras de tráfico de coches - juegos 3d. No necesitas descargar o instalar nada, solo necesitas abrir tu navegador y hacer clic en el juego que quieres jugar. Algunas de las carreras de tráfico de coches más populares - juegos 3d en este sitio web son Traffic Jam 3D, Traffic Run Online y Traffic Racer Xmas. También puedes calificar, comentar y compartir los juegos con tus amigos. </p>
44
- <h4>Google Play Store</h4>
45
- <p>Esta es una plataforma donde puedes descargar e instalar aplicaciones y juegos para tus dispositivos Android. Puede navegar a través de millones de aplicaciones y juegos en varias categorías, incluyendo carreras de tráfico de coches - juegos 3d. También puedes leer reseñas, valoraciones y descripciones de las aplicaciones y juegos antes de descargarlos. Algunos de los más populares carreras de tráfico de coches - juegos 3d en esta plataforma son Traffic Racer, Traffic Rider, y Traffic Tour. También puede actualizar, desinstalar y administrar las aplicaciones y juegos en su dispositivo. </p>
46
- <h4>Otras fuentes y alternativas</h4>
47
- <p>También hay otras fuentes y alternativas donde se puede encontrar y descargar carreras de tráfico de coches - juegos 3d. Por ejemplo, puede utilizar los motores de búsqueda como Google o Bing para buscar sitios web que ofrecen carreras de tráfico de coches - juegos 3d. También puedes usar plataformas de redes sociales como Facebook o YouTube para ver videos o unirte a grupos que ofrecen carreras de tráfico de autos - juegos en 3D. También puede utilizar foros en línea o blogs para obtener recomendaciones o comentarios de otros jugadores que han jugado carreras de tráfico de coches - juegos 3d. </p>
48
- <h2>Conclusión</h2>
49
-
50
- <h2>Preguntas frecuentes</h2>
51
- <p>Aquí están algunas de las preguntas más frecuentes sobre las carreras de tráfico de coches - juegos 3d:</p>
52
- <ul>
53
- <li><b>Q: ¿Son las carreras de tráfico de coches - juegos 3d seguro para jugar? </b></li>
54
- <li>A: Sí, carreras de tráfico de coches - juegos 3d son seguros para jugar, siempre y cuando siga algunas precauciones básicas. Por ejemplo, no debe tocarlos mientras conduce u opera maquinaria pesada; no debe tocarlos por mucho tiempo o sin tomar descansos; no debe tocarlos si tiene alguna afección médica que pueda afectar su visión o audición; No debes tocarlos si te causan estrés o incomodidad; y no debes tocarlos si interfieren con tu vida personal o profesional. </li>
55
- <li><b>Q: ¿Son las carreras de tráfico de coches - juegos 3d gratis para jugar? </b></li>
56
- <li>A: Sí, la mayoría de las carreras de tráfico de coches - juegos 3d son gratis para jugar en línea o fuera de línea. Sin embargo, algunos de ellos pueden tener compras en la aplicación o anuncios que pueden requerir que pague dinero o vea videos para acceder a ciertas funciones o beneficios. Puede elegir si acepta o rechaza estas ofertas a su discreción. </li>
57
- <li><b>Q: ¿Son las carreras de tráfico de coches - juegos 3d adecuados para los niños? </b></li>
58
- <li>A A: Depende de la edad y madurez de los niños. Algunos de los coches de carreras de tráfico - juegos en 3D pueden tener contenido o temas que no son adecuados para los niños más jóvenes o sensibles, tales como la violencia, accidentes, explosiones, sangre, o gore. Siempre debe comprobar las calificaciones, reseñas y descripciones de los juegos antes de dejar que sus hijos los jueguen. También debe supervisar y supervisar su juego y limitar su tiempo de pantalla. </li>
59
- <li><b>Q: ¿Cómo puedo mejorar mis habilidades y rendimiento en las carreras de tráfico de coches - juegos 3d? </b></li>
60
- <li>A: Hay muchas maneras de mejorar sus habilidades y rendimiento en las carreras de tráfico de coches - juegos 3d. Algunos de ellos son:</li>
61
- <ul>
62
-
63
- <li>Ver tutoriales y guías en línea o fuera de línea. Usted puede encontrar muchos videos o artículos que le enseñan cómo jugar carreras de tráfico de coches - juegos en 3D mejor, como cómo utilizar los controles, cómo evitar el tráfico, cómo a la deriva, cómo utilizar nitro, y más. </li>
64
- <li>Obtener comentarios y consejos de otros jugadores. Usted puede unirse a las comunidades en línea o foros que se dedican a las carreras de tráfico de coches - juegos 3d, y pedir consejos, trucos, o sugerencias de otros jugadores que tienen más experiencia o experiencia. </li>
65
- </ul>
66
- <li><b>Q: ¿Cuáles son algunas de las mejores carreras de tráfico de coches - juegos en 3D para jugar? </b></li>
67
- <li>A: Hay muchas carreras de tráfico de coches - juegos 3d para elegir, pero algunos de los mejores son:</li>
68
- <ul>
69
- <li>Traffic Jam 3D: Este es un juego donde se puede tratar de llegar a los puntos de control a tiempo, hacer un número específico de puntos y la distancia dentro de algún período, y mucho más. Puede elegir entre diferentes coches, carreteras y modos. </li>
70
- <li>Traffic Racer: Este es un juego donde usted puede conducir su coche a través del tráfico de la carretera, ganar dinero, actualizar su coche y comprar otros nuevos. Puede elegir entre diferentes coches, entornos, modos y misiones. </li>
71
- <li>Traffic Rider: Este es un juego donde usted puede montar su motocicleta a través del tráfico de la carretera, ganar dinero, actualizar su bicicleta y comprar nuevas. Puede elegir entre diferentes bicicletas, entornos, modos y misiones. </li>
72
- </ul>
73
- </ul></p> 64aa2da5cf<br />
74
- <br />
75
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/D3dx9_30.dll Descargar Resident Evil 4.md DELETED
@@ -1,107 +0,0 @@
1
- <br />
2
- <h1>Cómo solucionar el error d3dx9_30.dll en Resident Evil 4</h1>
3
- <p>Resident Evil 4 es uno de los mejores juegos de acción y terror jamás creados, pero también puede ser frustrante cuando encuentras errores que te impiden jugarlo. Uno de los errores más comunes que enfrentan muchos jugadores está relacionado con d3dx9_30.dll, un archivo que forma parte de Microsoft DirectX.</p>
4
- <h2>d3dx9_30.dll descargar resident evil 4</h2><br /><p><b><b>DOWNLOAD</b> &#9745; <a href="https://bltlly.com/2v6L2i">https://bltlly.com/2v6L2i</a></b></p><br /><br />
5
- <p>D3dx9_30.dll es una biblioteca de enlaces dinámicos que contiene funciones y datos para gráficos, sonido, entrada y redes. Es esencial para la ejecución de juegos y aplicaciones que utilizan DirectX, como Resident Evil 4. Sin embargo, a veces este archivo puede corromperse, eliminarse o extraviarse, causando que aparezcan varios mensajes de error. </p>
6
- <p>Algunos de los mensajes de error que puedes ver son:</p>
7
- <ul>
8
- No se encontró </li>
9
- No se encontró el archivo</li>
10
- <li> El programa no se puede iniciar porque d3dx9_30.dll falta en su computadora. Intente reinstalar el programa para solucionar este problema. </li>
11
- <li>La ejecución del código no puede continuar porque d3dx9_30.dll no fue encontrado. Reinstalar el programa puede solucionar este problema. </li>
12
- <li>d3dx9_30.dll no está diseñado para ejecutarse en Windows o contiene un error. Intente instalar el programa de nuevo usando el medio de instalación original o póngase en contacto con el administrador del sistema o el vendedor de software para obtener soporte. </li>
13
- </ul>
14
- <p>Si estás enfrentando alguno de estos errores, no te preocupes. Hay algunas soluciones simples y eficaces que pueden ayudarle a solucionarlos y disfrutar de Resident Evil 4 sin problemas. En este artículo, le mostraremos cómo corregir el error d3dx9_30.dll en Resident Evil 4 usando tres métodos diferentes. </p>
15
- <h2>Solución 1: Descargar e instalar DirectX</h2>
16
-
17
- <p>Para descargar e instalar DirectX, siga estos pasos:</p>
18
- <ol>
19
- <li>Ir a <a href="( 1 )">este enlace</a> y hacer clic en Descargar.</li>
20
- <li>Guarde el archivo dxwebsetup.exe en su PC y ejecútelo. </li>
21
- <li>Siga las instrucciones en la pantalla para completar el proceso de instalación. </li>
22
- <li>Reinicie su PC y inicie Resident Evil 4.</li>
23
- </ol>
24
- <p>Esto debería solucionar cualquier problema relacionado con d3dx9_30.dll en Resident Evil 4. Sin embargo, si sigue viendo el mensaje de error, es posible que tenga que volver a instalar el juego en sí. </p>
25
- <p></p>
26
- <h <h2>Solución 2: Reinstalar Resident Evil 4</h2>
27
- <p>La segunda solución para corregir el error d3dx9_30.dll en Resident Evil 4 es reinstalar el juego en sí. A veces, los archivos del juego pueden corromperse o perderse debido a varias razones, como infección por virus, fragmentación del disco, corte de energía o eliminación accidental. Reinstalar el juego puede restaurar los archivos originales y corregir cualquier error. </p>
28
- <p>Para reinstalar Resident Evil 4, sigue estos pasos:</p>
29
- <ol>
30
- <li>Ve a <a href=">este enlace</a> e inicia sesión en tu cuenta de Steam. </li>
31
- <li>Encuentra Resident Evil 4 en tu biblioteca y haz clic derecho en él. </li>
32
- <li>Seleccione Desinstalar y confirme su elección. </li>
33
- <li>Espere a que termine el proceso de desinstalación y luego haga clic en Instalar.</li>
34
- <li>Siga las instrucciones en la pantalla para completar el proceso de instalación. </li>
35
- <li>Reinicie su PC y inicie Resident Evil 4.</li>
36
- </ol>
37
- <p>Esto debería solucionar cualquier problema relacionado con d3dx9_30.dll en Resident Evil 4. Sin embargo, si todavía ve el mensaje de error, es posible que necesite usar una herramienta de reparación DLL dedicada. </p>
38
- <h2>Solución 3: Utilice una herramienta de reparación DLL dedicada</h2>
39
- <p>La tercera y última solución para corregir el error d3dx9_30.dll en Resident Evil 4 es usar una herramienta de reparación DLL dedicada. Una herramienta de reparación DLL es un software que puede escanear, descargar y reemplazar automáticamente archivos DLL que faltan o están dañados en su PC. Puede ahorrarle tiempo y molestias al buscar e instalar archivos DLL manualmente. </p>
40
-
41
- <p>Para usar Fortect para corregir el error d3dx9_30.dll en Resident Evil 4, siga estos pasos:</p>
42
- <ol>
43
- <li>Ir a <a href=">este enlace</a> y descargar Fortect desde su sitio web oficial. </li>
44
- <li>Ejecute el archivo de configuración y siga las instrucciones en la pantalla para instalar Fortect en su PC.</li>
45
- <li>Inicie Fortect y haga clic en Escanear ahora.</li>
46
- <li>Espere a que termine el análisis y luego haga clic en Fix All.</li>
47
- <li>Reinicie su PC y inicie Resident Evil 4.</li>
48
- </ol>
49
- <h2>Conclusión</h2>
50
- <p>El error D3dx9_30.dll es un problema común que muchos jugadores enfrentan al intentar jugar a Resident Evil 4. Puede ser causado por varias razones, como DirectX obsoleto, archivos de juegos dañados o archivos DLL perdidos. Sin embargo, se puede arreglar fácilmente usando una de las tres soluciones que hemos proporcionado en este artículo. </p>
51
- <p>La primera solución es descargar e instalar la última versión de DirectX desde el sitio web de Microsoft. La segunda solución es reinstalar Resident Evil 4 desde Steam u otras plataformas. La tercera solución es utilizar una herramienta de reparación DLL dedicada como Fortect para escanear, descargar y reemplazar automáticamente los archivos DLL que faltan o están dañados. </p>
52
- <p>Esperamos que este artículo te haya ayudado a solucionar el error d3dx9_30.dll en Resident Evil 4 y disfrutar del juego sin ninguna interrupción. Si tiene alguna pregunta o comentario, no dude en dejar un comentario a continuación. ¡Nos encantaría saber de usted! </p>
53
- <h2>Preguntas frecuentes</h2>
54
- <h3>¿Qué es d3dx9_30.dll? </h3>
55
- <p>D3dx9_30.dll es una biblioteca de enlaces dinámicos que contiene funciones y datos para gráficos, sonido, entrada y redes. Es parte de Microsoft DirectX, una colección de API que permiten que las aplicaciones multimedia y de juegos funcionen sin problemas en Windows.</p>
56
- <h3>¿Por qué necesito d3dx9_30.dll para Resident Evil 4?</h3>
57
-
58
- <h3>¿Cómo sé si tengo d3dx9_30.dll en mi PC? </h3>
59
- <p>Puedes comprobar si tienes d3dx9_30.dll en tu PC siguiendo estos pasos:</p>
60
- <ol>
61
- <li>Presione Windows + R para abrir el cuadro de diálogo Ejecutar. </li>
62
- <li>Escriba dxdiag y presione Enter.</li>
63
- <li>Se abrirá una ventana con información sobre su versión DirectX y la configuración del sistema. </li>
64
- <li>Haga clic en la pestaña Sistema y busque la versión de DirectX en la parte inferior. </li>
65
- <li>Si ves DirectX 9.0c o superior, entonces tienes d3dx9_30.dll en tu PC. Si ves una versión inferior, entonces necesitas descargar e instalar la última versión de DirectX desde el sitio web de Microsoft. </li>
66
- </ol>
67
- <h3>¿Cómo arreglo el error d3dx9_30.dll en Resident Evil 4?</h3>
68
- <p>Puede corregir el error d3dx9_30.dll en Resident Evil 4 utilizando una de las tres soluciones que hemos proporcionado en este artículo. La primera solución es descargar e instalar la última versión de DirectX desde el sitio web de Microsoft. La segunda solución es reinstalar Resident Evil 4 desde Steam u otras plataformas. La tercera solución es utilizar una herramienta de reparación DLL dedicada como Fortect para escanear, descargar y reemplazar automáticamente los archivos DLL que faltan o están dañados. </p>
69
- <h3>¿Cuáles son los beneficios de usar una herramienta de reparación DLL como Fortect? </h3>
70
- <p>Usar una herramienta de reparación DLL como Fortect tiene muchos beneficios, como:</p>
71
- <ul>
72
- <li> Puede corregir cualquier error DLL en minutos con solo unos pocos clics. </li>
73
- <li> Tiene una gran base de datos de más de 20 millones de archivos DLL que se actualizan regularmente. </li>
74
- <li> Puede mejorar el rendimiento y la estabilidad de su PC mediante la optimización de su registro y configuración del sistema. </li>
75
- <li> Puede proteger su PC de malware y virus mediante la exploración y eliminación de cualquier amenaza. </li>
76
- <li> Tiene una interfaz fácil de usar y una velocidad de escaneo rápida. </li>
77
- </ul>
78
- <h3>¿De dónde puedo descargar Resident Evil 4? </h3>
79
- <p>Puedes descargar Resident Evil 4 desde varias plataformas, como:</p>
80
- <tabla>
81
- <tr>
82
- <th>Plataforma</th>
83
- <th>Enlace</th>
84
- </tr>
85
- <tr>
86
- <td>Steam</td>
87
-
88
- </tr>
89
- <tr>
90
- <td>GOG</td>
91
- <td><a href="">this link</a></td>
92
- </tr>
93
- <tr>
94
- <td>Origin</td>
95
- <td><a href="">this link</a></td>
96
- </tr>
97
- <tr>
98
- <td>Uplay</td>
99
- <td><a href="">this link</a></td>
100
- </tr>
101
- <tr>
102
- <td>Epic Games Store</td>
103
- <td><a href="">this link</a></td>
104
- </tr>
105
- </table></p> 64aa2da5cf<br />
106
- <br />
107
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Benson/text-generation/Examples/Descargar Descargar Gratis Para Android.md DELETED
@@ -1,83 +0,0 @@
1
- <br />
2
- <h1>BombSquad Pro APK Descargar gratis para Android</h1>
3
- <p>¿Te encanta volar a tus amigos en minijuegos? ¿Te gusta jugar con piratas, ninjas, bárbaros y chefs locos? ¿Quieres divertirte ilimitadamente con 8 jugadores online o localmente? Si respondió sí a cualquiera de estas preguntas, entonces usted debe descargar BombSquad Pro APK para su dispositivo Android. En este artículo, le diremos qué es BombSquad Pro APK, cómo descargarlo e instalarlo, cómo jugarlo, y por qué debe jugarlo. ¡Vamos a empezar! </p>
4
- <h2>Descargar Descargar Gratis Para Android</h2><br /><p><b><b>DOWNLOAD</b> &middot; <a href="https://bltlly.com/2v6IQu">https://bltlly.com/2v6IQu</a></b></p><br /><br />
5
- <h2>¿Qué es BombSquad Pro APK? </h2>
6
- <p>BombSquad Pro APK es una versión modificada del juego original BombSquad, que es un juego de acción multijugador desarrollado por Eric Froemling. En este juego, puedes volar a tus amigos en varios minijuegos que van desde la captura de la bandera de hockey. También puedes personalizar a tu personaje con diferentes atuendos y accesorios, y usar diferentes bombas y potenciadores para darle vida al juego. El juego cuenta con 8 jugadores locales o multijugador en línea, así como modos de un solo jugador y cooperativo. También puedes crear tus propios mapas y minijuegos usando el editor incorporado. </p>
7
- <p>La principal diferencia entre BombSquad Pro APK y el juego original es que la versión profesional desbloquea todas las características premium de forma gratuita. Esto significa que puedes acceder a todos los personajes, mapas, minijuegos y modos sin pagar nada. También puedes disfrutar del juego sin anuncios ni interrupciones. Además, la versión pro tiene algunas características adicionales que no están disponibles en el juego original, como boletos ilimitados, monedas, salud y bombas. </p>
8
- <h3>Características de BombSquad Pro APK</h3>
9
- <p>Aquí están algunas de las características que hacen BombSquad Pro APK un gran juego para jugar:</p>
10
- <ul>
11
- <li> Tiene impresionantes gráficos y efectos de sonido que crean una experiencia de juego inmersiva. </li>
12
- <li> Tiene controles simples e intuitivos que son fáciles de aprender y dominar. </li>
13
- <li> Tiene una variedad de mini-juegos que atienden a diferentes gustos y preferencias. </li>
14
-
15
- <li> Tiene un aspecto social que te permite chatear con otros jugadores e invitar a tus amigos a unirse a tu juego. </li>
16
- <li> Tiene un tamaño de archivo bajo que no ocupa mucho espacio en su dispositivo. </li>
17
- <li>Es compatible con la mayoría de los dispositivos y versiones de Android. </li>
18
- </ul>
19
- <h2>Cómo descargar e instalar BombSquad Pro APK? </h2>
20
- <p>Si desea descargar e instalar BombSquad Pro APK en su dispositivo Android, puede seguir estos sencillos pasos:</p>
21
- <p></p>
22
- <ol>
23
- <li>Ir a [este enlace]( 1 ) y descargar el archivo BombSquad Pro APK en su dispositivo. </li>
24
- <li>Una vez completada la descarga, vaya a la configuración del dispositivo y habilite la instalación de aplicaciones desde fuentes desconocidas. </li>
25
- <li>Localice el archivo descargado en su administrador de archivos y toque en él para iniciar el proceso de instalación. </li>
26
- <li>Siga las instrucciones en la pantalla y espere a que termine la instalación. </li>
27
- <li>Iniciar el juego desde el cajón de la aplicación y disfrutar! </li>
28
- </ol>
29
- <h2>Cómo jugar BombSquad Pro APK? </h2>
30
- <p>BombSquad Pro APK es un juego muy fácil de jugar, pero también puede ser muy difícil y adictivo. Aquí hay algunos consejos sobre cómo jugarlo:</p>
31
- <h3>Modos de juego</h3>
32
- <p>El juego tiene cuatro modos principales que puedes elegir:</p>
33
- <ul>
34
- <li><strong>Modo de campaña:</strong> Este es el modo para un jugador donde puedes jugar a través de varios niveles y misiones. También puedes jugar este modo con un amigo en modo cooperativo. </li>
35
- <li><strong>Modo mixto:</strong> Este es el modo multijugador donde puedes jugar con hasta 8 jugadores en línea o localmente. Puedes elegir entre diferentes mini juegos que se seleccionan al azar de la lista de juegos. </li>
36
- <li><strong>Modo libre para todos:</strong> Este es el modo multijugador donde puedes jugar con hasta 8 jugadores en línea o localmente. Usted puede elegir entre diferentes mini-juegos que se basan en las habilidades individuales y el rendimiento. </li>
37
-
38
- </ul>
39
- <h3>Consejos</h3>
40
- <p>Aquí hay algunos consejos que pueden ayudarle a mejorar su juego y divertirse más:</p>
41
- <ul>
42
- <li>Utilice diferentes bombas y potenciadores para su ventaja. Puede encontrarlos dispersos por el mapa o en la tienda. Algunas de ellas son bombas de fuego, bombas de hielo, bombas pegajosas, minas terrestres, guantes de boxeo, escudos, jetpacks y más. </li>
43
- <li>Experimenta con diferentes personajes y trajes. Puedes desbloquearlos ganando billetes y monedas o comprándolos en la tienda. Algunos de ellos son piratas, ninjas, bárbaros, chefs locos, robots, zombies, y más. </li>
44
- <li>Crea tus propios mapas y minijuegos usando el editor incorporado. Puedes personalizar el terreno, los objetos, las reglas y la configuración de tus propias creaciones. También puedes compartirlos con otros jugadores y jugar sus creaciones. </li>
45
- <li>Chatea con otros jugadores e invita a tus amigos a unirse a tu juego. Puedes usar la función de chat en el juego para comunicarte con otros jugadores y hacer nuevos amigos. También puedes invitar a tus amigos a tu juego usando un código o un enlace. </li>
46
- <li>Diviértete y no te lo tomes demasiado en serio. BombSquad Pro APK es un juego que está destinado a ser disfrutado y no estar estresado. No te preocupes por perder o ganar, ¡solo diviértete! </li>
47
- </ul>
48
- <h2> ¿Por qué usted debe jugar BombSquad Pro APK? </h2>
49
- <p>BombSquad Pro APK es un juego que usted debe jugar por muchas razones. Aquí están algunos de ellos:</p>
50
- <h3>Beneficios</h3>
51
- <p>BombSquad Pro APK tiene muchos beneficios que pueden mejorar su bienestar y la felicidad. Algunos de ellos son:</p>
52
- <ul>
53
- <li>Puede mejorar tus habilidades cognitivas como la memoria, la atención, la resolución de problemas y la creatividad. </li>
54
- <li>Puede aumentar su estado de ánimo y reducir sus niveles de estrés al proporcionarle entretenimiento y risas. </li>
55
- <li>Puede fomentar sus habilidades sociales y relaciones al permitirle interactuar con otros jugadores y amigos. </li>
56
-
57
- </ul>
58
- <h3>Ventajas</h3>
59
- <p>BombSquad Pro APK tiene muchas ventajas que lo hacen superior a otros juegos. Algunos de ellos son:</p>
60
- <ul>
61
- <li>Es gratis para descargar y jugar. No tienes que gastar dinero para disfrutar de todas las características y contenidos del juego. </li>
62
- <li>Es libre de anuncios y sin interrupciones. No tienes que lidiar con ningún anuncio molesto o pop-ups que arruinen tu experiencia de juego. </li>
63
- <li>Se actualiza regularmente y tiene mucho contenido. No tienes que preocuparte por aburrirte o quedarte sin cosas que hacer en el juego. </li>
64
- <li> Es fácil de usar y fácil de usar. No tienes que lidiar con controles o configuraciones complicadas en el juego. </li>
65
- </ul>
66
- <h1>Conclusión</h1>
67
- <p>BombSquad Pro APK es un juego que definitivamente debe probar si te gusta la acción, la diversión y las explosiones. Es un juego que te permite volar a tus amigos en varios mini-juegos que son emocionantes y divertidos. Es un juego que te ofrece muchas características, contenido, personalización y socialización. Es un juego que te beneficia de muchas maneras y tiene muchas ventajas sobre otros juegos. Es un juego que puedes descargar gratis en tu dispositivo Android ahora mismo. ¿Qué estás esperando? Descargar BombSquad Pro APK hoy y tener una explosión! </p>
68
- <h4>Preguntas frecuentes</h4>
69
- <p>Aquí están algunas de las preguntas más frecuentes sobre BombSquad Pro APK:</p>
70
- <ol>
71
- <li><strong>¿Es BombSquad Pro APK seguro para descargar e instalar? </strong></li>
72
- <p>Sí, BombSquad Pro APK es seguro para descargar e instalar en su dispositivo. No contiene ningún virus, malware o spyware que pueda dañar su dispositivo o datos. Sin embargo, siempre debe descargarlo de una fuente confiable como [este enlace] para evitar riesgos. </p>
73
- <li><strong>Es BombSquad Pro APK legal de usar? </strong></li>
74
- <p>Sí, BombSquad Pro APK es legal de usar, siempre y cuando no lo utilice para fines ilegales o poco éticos. También debes respetar al desarrollador original del juego y apoyarlo si puedes. </p>
75
-
76
- <p>Puede actualizar BombSquad Pro APK descargando la última versión de [este enlace] e instalándolo sobre el existente. También puedes buscar actualizaciones en la configuración del juego y seguir las instrucciones. </p>
77
- <li><strong>¿Cómo puedo desinstalar BombSquad Pro APK? </strong></li>
78
- <p>Puede desinstalar BombSquad Pro APK yendo a la configuración de su dispositivo y encontrar la aplicación en la lista de aplicaciones instaladas. Luego, puede pulsar en él y seleccionar la opción de desinstalación. También puede eliminar el archivo APK del almacenamiento del dispositivo si lo desea. </p>
79
- <li><strong>¿Cómo puedo contactar con el desarrollador de BombSquad Pro APK? </strong></li>
80
- <p>Puede ponerse en contacto con el desarrollador de BombSquad Pro APK visitando su sitio web oficial o sus páginas de medios sociales. También puede enviarles un correo electrónico o un mensaje a través de la opción de retroalimentación del juego. </p>
81
- </ol></p> 64aa2da5cf<br />
82
- <br />
83
- <br />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/BetterAPI/BetterChat/src/routes/r/[id]/+page.server.ts DELETED
@@ -1,18 +0,0 @@
1
- import type { PageServerLoad } from "./$types";
2
- import { collections } from "$lib/server/database";
3
- import { error } from "@sveltejs/kit";
4
-
5
- export const load: PageServerLoad = async ({ params }) => {
6
- const conversation = await collections.sharedConversations.findOne({
7
- _id: params.id,
8
- });
9
-
10
- if (!conversation) {
11
- throw error(404, "Conversation not found");
12
- }
13
-
14
- return {
15
- messages: conversation.messages,
16
- title: conversation.title,
17
- };
18
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/boto3/resources/factory.py DELETED
@@ -1,600 +0,0 @@
1
- # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License"). You
4
- # may not use this file except in compliance with the License. A copy of
5
- # the License is located at
6
- #
7
- # https://aws.amazon.com/apache2.0/
8
- #
9
- # or in the "license" file accompanying this file. This file is
10
- # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
11
- # ANY KIND, either express or implied. See the License for the specific
12
- # language governing permissions and limitations under the License.
13
-
14
- import logging
15
- from functools import partial
16
-
17
- from ..docs import docstring
18
- from ..exceptions import ResourceLoadException
19
- from .action import ServiceAction, WaiterAction
20
- from .base import ResourceMeta, ServiceResource
21
- from .collection import CollectionFactory
22
- from .model import ResourceModel
23
- from .response import ResourceHandler, build_identifiers
24
-
25
- logger = logging.getLogger(__name__)
26
-
27
-
28
- class ResourceFactory:
29
- """
30
- A factory to create new :py:class:`~boto3.resources.base.ServiceResource`
31
- classes from a :py:class:`~boto3.resources.model.ResourceModel`. There are
32
- two types of lookups that can be done: one on the service itself (e.g. an
33
- SQS resource) and another on models contained within the service (e.g. an
34
- SQS Queue resource).
35
- """
36
-
37
- def __init__(self, emitter):
38
- self._collection_factory = CollectionFactory()
39
- self._emitter = emitter
40
-
41
- def load_from_definition(
42
- self, resource_name, single_resource_json_definition, service_context
43
- ):
44
- """
45
- Loads a resource from a model, creating a new
46
- :py:class:`~boto3.resources.base.ServiceResource` subclass
47
- with the correct properties and methods, named based on the service
48
- and resource name, e.g. EC2.Instance.
49
-
50
- :type resource_name: string
51
- :param resource_name: Name of the resource to look up. For services,
52
- this should match the ``service_name``.
53
-
54
- :type single_resource_json_definition: dict
55
- :param single_resource_json_definition:
56
- The loaded json of a single service resource or resource
57
- definition.
58
-
59
- :type service_context: :py:class:`~boto3.utils.ServiceContext`
60
- :param service_context: Context about the AWS service
61
-
62
- :rtype: Subclass of :py:class:`~boto3.resources.base.ServiceResource`
63
- :return: The service or resource class.
64
- """
65
- logger.debug(
66
- 'Loading %s:%s', service_context.service_name, resource_name
67
- )
68
-
69
- # Using the loaded JSON create a ResourceModel object.
70
- resource_model = ResourceModel(
71
- resource_name,
72
- single_resource_json_definition,
73
- service_context.resource_json_definitions,
74
- )
75
-
76
- # Do some renaming of the shape if there was a naming collision
77
- # that needed to be accounted for.
78
- shape = None
79
- if resource_model.shape:
80
- shape = service_context.service_model.shape_for(
81
- resource_model.shape
82
- )
83
- resource_model.load_rename_map(shape)
84
-
85
- # Set some basic info
86
- meta = ResourceMeta(
87
- service_context.service_name, resource_model=resource_model
88
- )
89
- attrs = {
90
- 'meta': meta,
91
- }
92
-
93
- # Create and load all of attributes of the resource class based
94
- # on the models.
95
-
96
- # Identifiers
97
- self._load_identifiers(
98
- attrs=attrs,
99
- meta=meta,
100
- resource_name=resource_name,
101
- resource_model=resource_model,
102
- )
103
-
104
- # Load/Reload actions
105
- self._load_actions(
106
- attrs=attrs,
107
- resource_name=resource_name,
108
- resource_model=resource_model,
109
- service_context=service_context,
110
- )
111
-
112
- # Attributes that get auto-loaded
113
- self._load_attributes(
114
- attrs=attrs,
115
- meta=meta,
116
- resource_name=resource_name,
117
- resource_model=resource_model,
118
- service_context=service_context,
119
- )
120
-
121
- # Collections and their corresponding methods
122
- self._load_collections(
123
- attrs=attrs,
124
- resource_model=resource_model,
125
- service_context=service_context,
126
- )
127
-
128
- # References and Subresources
129
- self._load_has_relations(
130
- attrs=attrs,
131
- resource_name=resource_name,
132
- resource_model=resource_model,
133
- service_context=service_context,
134
- )
135
-
136
- # Waiter resource actions
137
- self._load_waiters(
138
- attrs=attrs,
139
- resource_name=resource_name,
140
- resource_model=resource_model,
141
- service_context=service_context,
142
- )
143
-
144
- # Create the name based on the requested service and resource
145
- cls_name = resource_name
146
- if service_context.service_name == resource_name:
147
- cls_name = 'ServiceResource'
148
- cls_name = service_context.service_name + '.' + cls_name
149
-
150
- base_classes = [ServiceResource]
151
- if self._emitter is not None:
152
- self._emitter.emit(
153
- f'creating-resource-class.{cls_name}',
154
- class_attributes=attrs,
155
- base_classes=base_classes,
156
- service_context=service_context,
157
- )
158
- return type(str(cls_name), tuple(base_classes), attrs)
159
-
160
- def _load_identifiers(self, attrs, meta, resource_model, resource_name):
161
- """
162
- Populate required identifiers. These are arguments without which
163
- the resource cannot be used. Identifiers become arguments for
164
- operations on the resource.
165
- """
166
- for identifier in resource_model.identifiers:
167
- meta.identifiers.append(identifier.name)
168
- attrs[identifier.name] = self._create_identifier(
169
- identifier, resource_name
170
- )
171
-
172
- def _load_actions(
173
- self, attrs, resource_name, resource_model, service_context
174
- ):
175
- """
176
- Actions on the resource become methods, with the ``load`` method
177
- being a special case which sets internal data for attributes, and
178
- ``reload`` is an alias for ``load``.
179
- """
180
- if resource_model.load:
181
- attrs['load'] = self._create_action(
182
- action_model=resource_model.load,
183
- resource_name=resource_name,
184
- service_context=service_context,
185
- is_load=True,
186
- )
187
- attrs['reload'] = attrs['load']
188
-
189
- for action in resource_model.actions:
190
- attrs[action.name] = self._create_action(
191
- action_model=action,
192
- resource_name=resource_name,
193
- service_context=service_context,
194
- )
195
-
196
- def _load_attributes(
197
- self, attrs, meta, resource_name, resource_model, service_context
198
- ):
199
- """
200
- Load resource attributes based on the resource shape. The shape
201
- name is referenced in the resource JSON, but the shape itself
202
- is defined in the Botocore service JSON, hence the need for
203
- access to the ``service_model``.
204
- """
205
- if not resource_model.shape:
206
- return
207
-
208
- shape = service_context.service_model.shape_for(resource_model.shape)
209
-
210
- identifiers = {
211
- i.member_name: i
212
- for i in resource_model.identifiers
213
- if i.member_name
214
- }
215
- attributes = resource_model.get_attributes(shape)
216
- for name, (orig_name, member) in attributes.items():
217
- if name in identifiers:
218
- prop = self._create_identifier_alias(
219
- resource_name=resource_name,
220
- identifier=identifiers[name],
221
- member_model=member,
222
- service_context=service_context,
223
- )
224
- else:
225
- prop = self._create_autoload_property(
226
- resource_name=resource_name,
227
- name=orig_name,
228
- snake_cased=name,
229
- member_model=member,
230
- service_context=service_context,
231
- )
232
- attrs[name] = prop
233
-
234
- def _load_collections(self, attrs, resource_model, service_context):
235
- """
236
- Load resource collections from the model. Each collection becomes
237
- a :py:class:`~boto3.resources.collection.CollectionManager` instance
238
- on the resource instance, which allows you to iterate and filter
239
- through the collection's items.
240
- """
241
- for collection_model in resource_model.collections:
242
- attrs[collection_model.name] = self._create_collection(
243
- resource_name=resource_model.name,
244
- collection_model=collection_model,
245
- service_context=service_context,
246
- )
247
-
248
- def _load_has_relations(
249
- self, attrs, resource_name, resource_model, service_context
250
- ):
251
- """
252
- Load related resources, which are defined via a ``has``
253
- relationship but conceptually come in two forms:
254
-
255
- 1. A reference, which is a related resource instance and can be
256
- ``None``, such as an EC2 instance's ``vpc``.
257
- 2. A subresource, which is a resource constructor that will always
258
- return a resource instance which shares identifiers/data with
259
- this resource, such as ``s3.Bucket('name').Object('key')``.
260
- """
261
- for reference in resource_model.references:
262
- # This is a dangling reference, i.e. we have all
263
- # the data we need to create the resource, so
264
- # this instance becomes an attribute on the class.
265
- attrs[reference.name] = self._create_reference(
266
- reference_model=reference,
267
- resource_name=resource_name,
268
- service_context=service_context,
269
- )
270
-
271
- for subresource in resource_model.subresources:
272
- # This is a sub-resource class you can create
273
- # by passing in an identifier, e.g. s3.Bucket(name).
274
- attrs[subresource.name] = self._create_class_partial(
275
- subresource_model=subresource,
276
- resource_name=resource_name,
277
- service_context=service_context,
278
- )
279
-
280
- self._create_available_subresources_command(
281
- attrs, resource_model.subresources
282
- )
283
-
284
- def _create_available_subresources_command(self, attrs, subresources):
285
- _subresources = [subresource.name for subresource in subresources]
286
- _subresources = sorted(_subresources)
287
-
288
- def get_available_subresources(factory_self):
289
- """
290
- Returns a list of all the available sub-resources for this
291
- Resource.
292
-
293
- :returns: A list containing the name of each sub-resource for this
294
- resource
295
- :rtype: list of str
296
- """
297
- return _subresources
298
-
299
- attrs['get_available_subresources'] = get_available_subresources
300
-
301
- def _load_waiters(
302
- self, attrs, resource_name, resource_model, service_context
303
- ):
304
- """
305
- Load resource waiters from the model. Each waiter allows you to
306
- wait until a resource reaches a specific state by polling the state
307
- of the resource.
308
- """
309
- for waiter in resource_model.waiters:
310
- attrs[waiter.name] = self._create_waiter(
311
- resource_waiter_model=waiter,
312
- resource_name=resource_name,
313
- service_context=service_context,
314
- )
315
-
316
- def _create_identifier(factory_self, identifier, resource_name):
317
- """
318
- Creates a read-only property for identifier attributes.
319
- """
320
-
321
- def get_identifier(self):
322
- # The default value is set to ``None`` instead of
323
- # raising an AttributeError because when resources are
324
- # instantiated a check is made such that none of the
325
- # identifiers have a value ``None``. If any are ``None``,
326
- # a more informative user error than a generic AttributeError
327
- # is raised.
328
- return getattr(self, '_' + identifier.name, None)
329
-
330
- get_identifier.__name__ = str(identifier.name)
331
- get_identifier.__doc__ = docstring.IdentifierDocstring(
332
- resource_name=resource_name,
333
- identifier_model=identifier,
334
- include_signature=False,
335
- )
336
-
337
- return property(get_identifier)
338
-
339
- def _create_identifier_alias(
340
- factory_self, resource_name, identifier, member_model, service_context
341
- ):
342
- """
343
- Creates a read-only property that aliases an identifier.
344
- """
345
-
346
- def get_identifier(self):
347
- return getattr(self, '_' + identifier.name, None)
348
-
349
- get_identifier.__name__ = str(identifier.member_name)
350
- get_identifier.__doc__ = docstring.AttributeDocstring(
351
- service_name=service_context.service_name,
352
- resource_name=resource_name,
353
- attr_name=identifier.member_name,
354
- event_emitter=factory_self._emitter,
355
- attr_model=member_model,
356
- include_signature=False,
357
- )
358
-
359
- return property(get_identifier)
360
-
361
- def _create_autoload_property(
362
- factory_self,
363
- resource_name,
364
- name,
365
- snake_cased,
366
- member_model,
367
- service_context,
368
- ):
369
- """
370
- Creates a new property on the resource to lazy-load its value
371
- via the resource's ``load`` method (if it exists).
372
- """
373
- # The property loader will check to see if this resource has already
374
- # been loaded and return the cached value if possible. If not, then
375
- # it first checks to see if it CAN be loaded (raise if not), then
376
- # calls the load before returning the value.
377
- def property_loader(self):
378
- if self.meta.data is None:
379
- if hasattr(self, 'load'):
380
- self.load()
381
- else:
382
- raise ResourceLoadException(
383
- f'{self.__class__.__name__} has no load method'
384
- )
385
-
386
- return self.meta.data.get(name)
387
-
388
- property_loader.__name__ = str(snake_cased)
389
- property_loader.__doc__ = docstring.AttributeDocstring(
390
- service_name=service_context.service_name,
391
- resource_name=resource_name,
392
- attr_name=snake_cased,
393
- event_emitter=factory_self._emitter,
394
- attr_model=member_model,
395
- include_signature=False,
396
- )
397
-
398
- return property(property_loader)
399
-
400
- def _create_waiter(
401
- factory_self, resource_waiter_model, resource_name, service_context
402
- ):
403
- """
404
- Creates a new wait method for each resource where both a waiter and
405
- resource model is defined.
406
- """
407
- waiter = WaiterAction(
408
- resource_waiter_model,
409
- waiter_resource_name=resource_waiter_model.name,
410
- )
411
-
412
- def do_waiter(self, *args, **kwargs):
413
- waiter(self, *args, **kwargs)
414
-
415
- do_waiter.__name__ = str(resource_waiter_model.name)
416
- do_waiter.__doc__ = docstring.ResourceWaiterDocstring(
417
- resource_name=resource_name,
418
- event_emitter=factory_self._emitter,
419
- service_model=service_context.service_model,
420
- resource_waiter_model=resource_waiter_model,
421
- service_waiter_model=service_context.service_waiter_model,
422
- include_signature=False,
423
- )
424
- return do_waiter
425
-
426
- def _create_collection(
427
- factory_self, resource_name, collection_model, service_context
428
- ):
429
- """
430
- Creates a new property on the resource to lazy-load a collection.
431
- """
432
- cls = factory_self._collection_factory.load_from_definition(
433
- resource_name=resource_name,
434
- collection_model=collection_model,
435
- service_context=service_context,
436
- event_emitter=factory_self._emitter,
437
- )
438
-
439
- def get_collection(self):
440
- return cls(
441
- collection_model=collection_model,
442
- parent=self,
443
- factory=factory_self,
444
- service_context=service_context,
445
- )
446
-
447
- get_collection.__name__ = str(collection_model.name)
448
- get_collection.__doc__ = docstring.CollectionDocstring(
449
- collection_model=collection_model, include_signature=False
450
- )
451
- return property(get_collection)
452
-
453
- def _create_reference(
454
- factory_self, reference_model, resource_name, service_context
455
- ):
456
- """
457
- Creates a new property on the resource to lazy-load a reference.
458
- """
459
- # References are essentially an action with no request
460
- # or response, so we can re-use the response handlers to
461
- # build up resources from identifiers and data members.
462
- handler = ResourceHandler(
463
- search_path=reference_model.resource.path,
464
- factory=factory_self,
465
- resource_model=reference_model.resource,
466
- service_context=service_context,
467
- )
468
-
469
- # Are there any identifiers that need access to data members?
470
- # This is important when building the resource below since
471
- # it requires the data to be loaded.
472
- needs_data = any(
473
- i.source == 'data' for i in reference_model.resource.identifiers
474
- )
475
-
476
- def get_reference(self):
477
- # We need to lazy-evaluate the reference to handle circular
478
- # references between resources. We do this by loading the class
479
- # when first accessed.
480
- # This is using a *response handler* so we need to make sure
481
- # our data is loaded (if possible) and pass that data into
482
- # the handler as if it were a response. This allows references
483
- # to have their data loaded properly.
484
- if needs_data and self.meta.data is None and hasattr(self, 'load'):
485
- self.load()
486
- return handler(self, {}, self.meta.data)
487
-
488
- get_reference.__name__ = str(reference_model.name)
489
- get_reference.__doc__ = docstring.ReferenceDocstring(
490
- reference_model=reference_model, include_signature=False
491
- )
492
- return property(get_reference)
493
-
494
- def _create_class_partial(
495
- factory_self, subresource_model, resource_name, service_context
496
- ):
497
- """
498
- Creates a new method which acts as a functools.partial, passing
499
- along the instance's low-level `client` to the new resource
500
- class' constructor.
501
- """
502
- name = subresource_model.resource.type
503
-
504
- def create_resource(self, *args, **kwargs):
505
- # We need a new method here because we want access to the
506
- # instance's client.
507
- positional_args = []
508
-
509
- # We lazy-load the class to handle circular references.
510
- json_def = service_context.resource_json_definitions.get(name, {})
511
- resource_cls = factory_self.load_from_definition(
512
- resource_name=name,
513
- single_resource_json_definition=json_def,
514
- service_context=service_context,
515
- )
516
-
517
- # Assumes that identifiers are in order, which lets you do
518
- # e.g. ``sqs.Queue('foo').Message('bar')`` to create a new message
519
- # linked with the ``foo`` queue and which has a ``bar`` receipt
520
- # handle. If we did kwargs here then future positional arguments
521
- # would lead to failure.
522
- identifiers = subresource_model.resource.identifiers
523
- if identifiers is not None:
524
- for identifier, value in build_identifiers(identifiers, self):
525
- positional_args.append(value)
526
-
527
- return partial(
528
- resource_cls, *positional_args, client=self.meta.client
529
- )(*args, **kwargs)
530
-
531
- create_resource.__name__ = str(name)
532
- create_resource.__doc__ = docstring.SubResourceDocstring(
533
- resource_name=resource_name,
534
- sub_resource_model=subresource_model,
535
- service_model=service_context.service_model,
536
- include_signature=False,
537
- )
538
- return create_resource
539
-
540
- def _create_action(
541
- factory_self,
542
- action_model,
543
- resource_name,
544
- service_context,
545
- is_load=False,
546
- ):
547
- """
548
- Creates a new method which makes a request to the underlying
549
- AWS service.
550
- """
551
- # Create the action in in this closure but before the ``do_action``
552
- # method below is invoked, which allows instances of the resource
553
- # to share the ServiceAction instance.
554
- action = ServiceAction(
555
- action_model, factory=factory_self, service_context=service_context
556
- )
557
-
558
- # A resource's ``load`` method is special because it sets
559
- # values on the resource instead of returning the response.
560
- if is_load:
561
- # We need a new method here because we want access to the
562
- # instance via ``self``.
563
- def do_action(self, *args, **kwargs):
564
- response = action(self, *args, **kwargs)
565
- self.meta.data = response
566
-
567
- # Create the docstring for the load/reload methods.
568
- lazy_docstring = docstring.LoadReloadDocstring(
569
- action_name=action_model.name,
570
- resource_name=resource_name,
571
- event_emitter=factory_self._emitter,
572
- load_model=action_model,
573
- service_model=service_context.service_model,
574
- include_signature=False,
575
- )
576
- else:
577
- # We need a new method here because we want access to the
578
- # instance via ``self``.
579
- def do_action(self, *args, **kwargs):
580
- response = action(self, *args, **kwargs)
581
-
582
- if hasattr(self, 'load'):
583
- # Clear cached data. It will be reloaded the next
584
- # time that an attribute is accessed.
585
- # TODO: Make this configurable in the future?
586
- self.meta.data = None
587
-
588
- return response
589
-
590
- lazy_docstring = docstring.ActionDocstring(
591
- resource_name=resource_name,
592
- event_emitter=factory_self._emitter,
593
- action_model=action_model,
594
- service_model=service_context.service_model,
595
- include_signature=False,
596
- )
597
-
598
- do_action.__name__ = str(action_model.name)
599
- do_action.__doc__ = lazy_docstring
600
- return do_action
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/cachecontrol/compat.py DELETED
@@ -1,32 +0,0 @@
1
- # SPDX-FileCopyrightText: 2015 Eric Larson
2
- #
3
- # SPDX-License-Identifier: Apache-2.0
4
-
5
- try:
6
- from urllib.parse import urljoin
7
- except ImportError:
8
- from urlparse import urljoin
9
-
10
-
11
- try:
12
- import cPickle as pickle
13
- except ImportError:
14
- import pickle
15
-
16
- # Handle the case where the requests module has been patched to not have
17
- # urllib3 bundled as part of its source.
18
- try:
19
- from pip._vendor.requests.packages.urllib3.response import HTTPResponse
20
- except ImportError:
21
- from pip._vendor.urllib3.response import HTTPResponse
22
-
23
- try:
24
- from pip._vendor.requests.packages.urllib3.util import is_fp_closed
25
- except ImportError:
26
- from pip._vendor.urllib3.util import is_fp_closed
27
-
28
- # Replicate some six behaviour
29
- try:
30
- text_type = unicode
31
- except NameError:
32
- text_type = str
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/pip/_vendor/pygments/unistring.py DELETED
@@ -1,153 +0,0 @@
1
- """
2
- pygments.unistring
3
- ~~~~~~~~~~~~~~~~~~
4
-
5
- Strings of all Unicode characters of a certain category.
6
- Used for matching in Unicode-aware languages. Run to regenerate.
7
-
8
- Inspired by chartypes_create.py from the MoinMoin project.
9
-
10
- :copyright: Copyright 2006-2022 by the Pygments team, see AUTHORS.
11
- :license: BSD, see LICENSE for details.
12
- """
13
-
14
- Cc = '\x00-\x1f\x7f-\x9f'
15
-
16
- Cf = '\xad\u0600-\u0605\u061c\u06dd\u070f\u08e2\u180e\u200b-\u200f\u202a-\u202e\u2060-\u2064\u2066-\u206f\ufeff\ufff9-\ufffb\U000110bd\U000110cd\U0001bca0-\U0001bca3\U0001d173-\U0001d17a\U000e0001\U000e0020-\U000e007f'
17
-
18
- Cn = '\u0378-\u0379\u0380-\u0383\u038b\u038d\u03a2\u0530\u0557-\u0558\u058b-\u058c\u0590\u05c8-\u05cf\u05eb-\u05ee\u05f5-\u05ff\u061d\u070e\u074b-\u074c\u07b2-\u07bf\u07fb-\u07fc\u082e-\u082f\u083f\u085c-\u085d\u085f\u086b-\u089f\u08b5\u08be-\u08d2\u0984\u098d-\u098e\u0991-\u0992\u09a9\u09b1\u09b3-\u09b5\u09ba-\u09bb\u09c5-\u09c6\u09c9-\u09ca\u09cf-\u09d6\u09d8-\u09db\u09de\u09e4-\u09e5\u09ff-\u0a00\u0a04\u0a0b-\u0a0e\u0a11-\u0a12\u0a29\u0a31\u0a34\u0a37\u0a3a-\u0a3b\u0a3d\u0a43-\u0a46\u0a49-\u0a4a\u0a4e-\u0a50\u0a52-\u0a58\u0a5d\u0a5f-\u0a65\u0a77-\u0a80\u0a84\u0a8e\u0a92\u0aa9\u0ab1\u0ab4\u0aba-\u0abb\u0ac6\u0aca\u0ace-\u0acf\u0ad1-\u0adf\u0ae4-\u0ae5\u0af2-\u0af8\u0b00\u0b04\u0b0d-\u0b0e\u0b11-\u0b12\u0b29\u0b31\u0b34\u0b3a-\u0b3b\u0b45-\u0b46\u0b49-\u0b4a\u0b4e-\u0b55\u0b58-\u0b5b\u0b5e\u0b64-\u0b65\u0b78-\u0b81\u0b84\u0b8b-\u0b8d\u0b91\u0b96-\u0b98\u0b9b\u0b9d\u0ba0-\u0ba2\u0ba5-\u0ba7\u0bab-\u0bad\u0bba-\u0bbd\u0bc3-\u0bc5\u0bc9\u0bce-\u0bcf\u0bd1-\u0bd6\u0bd8-\u0be5\u0bfb-\u0bff\u0c0d\u0c11\u0c29\u0c3a-\u0c3c\u0c45\u0c49\u0c4e-\u0c54\u0c57\u0c5b-\u0c5f\u0c64-\u0c65\u0c70-\u0c77\u0c8d\u0c91\u0ca9\u0cb4\u0cba-\u0cbb\u0cc5\u0cc9\u0cce-\u0cd4\u0cd7-\u0cdd\u0cdf\u0ce4-\u0ce5\u0cf0\u0cf3-\u0cff\u0d04\u0d0d\u0d11\u0d45\u0d49\u0d50-\u0d53\u0d64-\u0d65\u0d80-\u0d81\u0d84\u0d97-\u0d99\u0db2\u0dbc\u0dbe-\u0dbf\u0dc7-\u0dc9\u0dcb-\u0dce\u0dd5\u0dd7\u0de0-\u0de5\u0df0-\u0df1\u0df5-\u0e00\u0e3b-\u0e3e\u0e5c-\u0e80\u0e83\u0e85-\u0e86\u0e89\u0e8b-\u0e8c\u0e8e-\u0e93\u0e98\u0ea0\u0ea4\u0ea6\u0ea8-\u0ea9\u0eac\u0eba\u0ebe-\u0ebf\u0ec5\u0ec7\u0ece-\u0ecf\u0eda-\u0edb\u0ee0-\u0eff\u0f48\u0f6d-\u0f70\u0f98\u0fbd\u0fcd\u0fdb-\u0fff\u10c6\u10c8-\u10cc\u10ce-\u10cf\u1249\u124e-\u124f\u1257\u1259\u125e-\u125f\u1289\u128e-\u128f\u12b1\u12b6-\u12b7\u12bf\u12c1\u12c6-\u12c7\u12d7\u1311\u1316-\u1317\u135b-\u135c\u137d-\u137f\u139a-\u139f\u13f6-\u13f7\u13fe-\u13ff\u169d-\u169f\u16f9-\u16ff\u170d\u1715-\u171f\u1737-\u173f\u1754-\u175f\u176d\u1771\u1774-\u177f\u17de-\u17df\u17ea-\u17ef\u17fa-\u17ff\u180f\u181a-\u181f\u1879-\u187f\u18ab-\u18af\u18f6-\u18ff\u191f\u192c-\u192f\u193c-\u193f\u1941-\u1943\u196e-\u196f\u1975-\u197f\u19ac-\u19af\u19ca-\u19cf\u19db-\u19dd\u1a1c-\u1a1d\u1a5f\u1a7d-\u1a7e\u1a8a-\u1a8f\u1a9a-\u1a9f\u1aae-\u1aaf\u1abf-\u1aff\u1b4c-\u1b4f\u1b7d-\u1b7f\u1bf4-\u1bfb\u1c38-\u1c3a\u1c4a-\u1c4c\u1c89-\u1c8f\u1cbb-\u1cbc\u1cc8-\u1ccf\u1cfa-\u1cff\u1dfa\u1f16-\u1f17\u1f1e-\u1f1f\u1f46-\u1f47\u1f4e-\u1f4f\u1f58\u1f5a\u1f5c\u1f5e\u1f7e-\u1f7f\u1fb5\u1fc5\u1fd4-\u1fd5\u1fdc\u1ff0-\u1ff1\u1ff5\u1fff\u2065\u2072-\u2073\u208f\u209d-\u209f\u20c0-\u20cf\u20f1-\u20ff\u218c-\u218f\u2427-\u243f\u244b-\u245f\u2b74-\u2b75\u2b96-\u2b97\u2bc9\u2bff\u2c2f\u2c5f\u2cf4-\u2cf8\u2d26\u2d28-\u2d2c\u2d2e-\u2d2f\u2d68-\u2d6e\u2d71-\u2d7e\u2d97-\u2d9f\u2da7\u2daf\u2db7\u2dbf\u2dc7\u2dcf\u2dd7\u2ddf\u2e4f-\u2e7f\u2e9a\u2ef4-\u2eff\u2fd6-\u2fef\u2ffc-\u2fff\u3040\u3097-\u3098\u3100-\u3104\u3130\u318f\u31bb-\u31bf\u31e4-\u31ef\u321f\u32ff\u4db6-\u4dbf\u9ff0-\u9fff\ua48d-\ua48f\ua4c7-\ua4cf\ua62c-\ua63f\ua6f8-\ua6ff\ua7ba-\ua7f6\ua82c-\ua82f\ua83a-\ua83f\ua878-\ua87f\ua8c6-\ua8cd\ua8da-\ua8df\ua954-\ua95e\ua97d-\ua97f\ua9ce\ua9da-\ua9dd\ua9ff\uaa37-\uaa3f\uaa4e-\uaa4f\uaa5a-\uaa5b\uaac3-\uaada\uaaf7-\uab00\uab07-\uab08\uab0f-\uab10\uab17-\uab1f\uab27\uab2f\uab66-\uab6f\uabee-\uabef\uabfa-\uabff\ud7a4-\ud7af\ud7c7-\ud7ca\ud7fc-\ud7ff\ufa6e-\ufa6f\ufada-\ufaff\ufb07-\ufb12\ufb18-\ufb1c\ufb37\ufb3d\ufb3f\ufb42\ufb45\ufbc2-\ufbd2\ufd40-\ufd4f\ufd90-\ufd91\ufdc8-\ufdef\ufdfe-\ufdff\ufe1a-\ufe1f\ufe53\ufe67\ufe6c-\ufe6f\ufe75\ufefd-\ufefe\uff00\uffbf-\uffc1\uffc8-\uffc9\uffd0-\uffd1\uffd8-\uffd9\uffdd-\uffdf\uffe7\uffef-\ufff8\ufffe-\uffff\U0001000c\U00010027\U0001003b\U0001003e\U0001004e-\U0001004f\U0001005e-\U0001007f\U000100fb-\U000100ff\U00010103-\U00010106\U00010134-\U00010136\U0001018f\U0001019c-\U0001019f\U000101a1-\U000101cf\U000101fe-\U0001027f\U0001029d-\U0001029f\U000102d1-\U000102df\U000102fc-\U000102ff\U00010324-\U0001032c\U0001034b-\U0001034f\U0001037b-\U0001037f\U0001039e\U000103c4-\U000103c7\U000103d6-\U000103ff\U0001049e-\U0001049f\U000104aa-\U000104af\U000104d4-\U000104d7\U000104fc-\U000104ff\U00010528-\U0001052f\U00010564-\U0001056e\U00010570-\U000105ff\U00010737-\U0001073f\U00010756-\U0001075f\U00010768-\U000107ff\U00010806-\U00010807\U00010809\U00010836\U00010839-\U0001083b\U0001083d-\U0001083e\U00010856\U0001089f-\U000108a6\U000108b0-\U000108df\U000108f3\U000108f6-\U000108fa\U0001091c-\U0001091e\U0001093a-\U0001093e\U00010940-\U0001097f\U000109b8-\U000109bb\U000109d0-\U000109d1\U00010a04\U00010a07-\U00010a0b\U00010a14\U00010a18\U00010a36-\U00010a37\U00010a3b-\U00010a3e\U00010a49-\U00010a4f\U00010a59-\U00010a5f\U00010aa0-\U00010abf\U00010ae7-\U00010aea\U00010af7-\U00010aff\U00010b36-\U00010b38\U00010b56-\U00010b57\U00010b73-\U00010b77\U00010b92-\U00010b98\U00010b9d-\U00010ba8\U00010bb0-\U00010bff\U00010c49-\U00010c7f\U00010cb3-\U00010cbf\U00010cf3-\U00010cf9\U00010d28-\U00010d2f\U00010d3a-\U00010e5f\U00010e7f-\U00010eff\U00010f28-\U00010f2f\U00010f5a-\U00010fff\U0001104e-\U00011051\U00011070-\U0001107e\U000110c2-\U000110cc\U000110ce-\U000110cf\U000110e9-\U000110ef\U000110fa-\U000110ff\U00011135\U00011147-\U0001114f\U00011177-\U0001117f\U000111ce-\U000111cf\U000111e0\U000111f5-\U000111ff\U00011212\U0001123f-\U0001127f\U00011287\U00011289\U0001128e\U0001129e\U000112aa-\U000112af\U000112eb-\U000112ef\U000112fa-\U000112ff\U00011304\U0001130d-\U0001130e\U00011311-\U00011312\U00011329\U00011331\U00011334\U0001133a\U00011345-\U00011346\U00011349-\U0001134a\U0001134e-\U0001134f\U00011351-\U00011356\U00011358-\U0001135c\U00011364-\U00011365\U0001136d-\U0001136f\U00011375-\U000113ff\U0001145a\U0001145c\U0001145f-\U0001147f\U000114c8-\U000114cf\U000114da-\U0001157f\U000115b6-\U000115b7\U000115de-\U000115ff\U00011645-\U0001164f\U0001165a-\U0001165f\U0001166d-\U0001167f\U000116b8-\U000116bf\U000116ca-\U000116ff\U0001171b-\U0001171c\U0001172c-\U0001172f\U00011740-\U000117ff\U0001183c-\U0001189f\U000118f3-\U000118fe\U00011900-\U000119ff\U00011a48-\U00011a4f\U00011a84-\U00011a85\U00011aa3-\U00011abf\U00011af9-\U00011bff\U00011c09\U00011c37\U00011c46-\U00011c4f\U00011c6d-\U00011c6f\U00011c90-\U00011c91\U00011ca8\U00011cb7-\U00011cff\U00011d07\U00011d0a\U00011d37-\U00011d39\U00011d3b\U00011d3e\U00011d48-\U00011d4f\U00011d5a-\U00011d5f\U00011d66\U00011d69\U00011d8f\U00011d92\U00011d99-\U00011d9f\U00011daa-\U00011edf\U00011ef9-\U00011fff\U0001239a-\U000123ff\U0001246f\U00012475-\U0001247f\U00012544-\U00012fff\U0001342f-\U000143ff\U00014647-\U000167ff\U00016a39-\U00016a3f\U00016a5f\U00016a6a-\U00016a6d\U00016a70-\U00016acf\U00016aee-\U00016aef\U00016af6-\U00016aff\U00016b46-\U00016b4f\U00016b5a\U00016b62\U00016b78-\U00016b7c\U00016b90-\U00016e3f\U00016e9b-\U00016eff\U00016f45-\U00016f4f\U00016f7f-\U00016f8e\U00016fa0-\U00016fdf\U00016fe2-\U00016fff\U000187f2-\U000187ff\U00018af3-\U0001afff\U0001b11f-\U0001b16f\U0001b2fc-\U0001bbff\U0001bc6b-\U0001bc6f\U0001bc7d-\U0001bc7f\U0001bc89-\U0001bc8f\U0001bc9a-\U0001bc9b\U0001bca4-\U0001cfff\U0001d0f6-\U0001d0ff\U0001d127-\U0001d128\U0001d1e9-\U0001d1ff\U0001d246-\U0001d2df\U0001d2f4-\U0001d2ff\U0001d357-\U0001d35f\U0001d379-\U0001d3ff\U0001d455\U0001d49d\U0001d4a0-\U0001d4a1\U0001d4a3-\U0001d4a4\U0001d4a7-\U0001d4a8\U0001d4ad\U0001d4ba\U0001d4bc\U0001d4c4\U0001d506\U0001d50b-\U0001d50c\U0001d515\U0001d51d\U0001d53a\U0001d53f\U0001d545\U0001d547-\U0001d549\U0001d551\U0001d6a6-\U0001d6a7\U0001d7cc-\U0001d7cd\U0001da8c-\U0001da9a\U0001daa0\U0001dab0-\U0001dfff\U0001e007\U0001e019-\U0001e01a\U0001e022\U0001e025\U0001e02b-\U0001e7ff\U0001e8c5-\U0001e8c6\U0001e8d7-\U0001e8ff\U0001e94b-\U0001e94f\U0001e95a-\U0001e95d\U0001e960-\U0001ec70\U0001ecb5-\U0001edff\U0001ee04\U0001ee20\U0001ee23\U0001ee25-\U0001ee26\U0001ee28\U0001ee33\U0001ee38\U0001ee3a\U0001ee3c-\U0001ee41\U0001ee43-\U0001ee46\U0001ee48\U0001ee4a\U0001ee4c\U0001ee50\U0001ee53\U0001ee55-\U0001ee56\U0001ee58\U0001ee5a\U0001ee5c\U0001ee5e\U0001ee60\U0001ee63\U0001ee65-\U0001ee66\U0001ee6b\U0001ee73\U0001ee78\U0001ee7d\U0001ee7f\U0001ee8a\U0001ee9c-\U0001eea0\U0001eea4\U0001eeaa\U0001eebc-\U0001eeef\U0001eef2-\U0001efff\U0001f02c-\U0001f02f\U0001f094-\U0001f09f\U0001f0af-\U0001f0b0\U0001f0c0\U0001f0d0\U0001f0f6-\U0001f0ff\U0001f10d-\U0001f10f\U0001f16c-\U0001f16f\U0001f1ad-\U0001f1e5\U0001f203-\U0001f20f\U0001f23c-\U0001f23f\U0001f249-\U0001f24f\U0001f252-\U0001f25f\U0001f266-\U0001f2ff\U0001f6d5-\U0001f6df\U0001f6ed-\U0001f6ef\U0001f6fa-\U0001f6ff\U0001f774-\U0001f77f\U0001f7d9-\U0001f7ff\U0001f80c-\U0001f80f\U0001f848-\U0001f84f\U0001f85a-\U0001f85f\U0001f888-\U0001f88f\U0001f8ae-\U0001f8ff\U0001f90c-\U0001f90f\U0001f93f\U0001f971-\U0001f972\U0001f977-\U0001f979\U0001f97b\U0001f9a3-\U0001f9af\U0001f9ba-\U0001f9bf\U0001f9c3-\U0001f9cf\U0001fa00-\U0001fa5f\U0001fa6e-\U0001ffff\U0002a6d7-\U0002a6ff\U0002b735-\U0002b73f\U0002b81e-\U0002b81f\U0002cea2-\U0002ceaf\U0002ebe1-\U0002f7ff\U0002fa1e-\U000e0000\U000e0002-\U000e001f\U000e0080-\U000e00ff\U000e01f0-\U000effff\U000ffffe-\U000fffff\U0010fffe-\U0010ffff'
19
-
20
- Co = '\ue000-\uf8ff\U000f0000-\U000ffffd\U00100000-\U0010fffd'
21
-
22
- Cs = '\ud800-\udbff\\\udc00\udc01-\udfff'
23
-
24
- Ll = 'a-z\xb5\xdf-\xf6\xf8-\xff\u0101\u0103\u0105\u0107\u0109\u010b\u010d\u010f\u0111\u0113\u0115\u0117\u0119\u011b\u011d\u011f\u0121\u0123\u0125\u0127\u0129\u012b\u012d\u012f\u0131\u0133\u0135\u0137-\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148-\u0149\u014b\u014d\u014f\u0151\u0153\u0155\u0157\u0159\u015b\u015d\u015f\u0161\u0163\u0165\u0167\u0169\u016b\u016d\u016f\u0171\u0173\u0175\u0177\u017a\u017c\u017e-\u0180\u0183\u0185\u0188\u018c-\u018d\u0192\u0195\u0199-\u019b\u019e\u01a1\u01a3\u01a5\u01a8\u01aa-\u01ab\u01ad\u01b0\u01b4\u01b6\u01b9-\u01ba\u01bd-\u01bf\u01c6\u01c9\u01cc\u01ce\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc-\u01dd\u01df\u01e1\u01e3\u01e5\u01e7\u01e9\u01eb\u01ed\u01ef-\u01f0\u01f3\u01f5\u01f9\u01fb\u01fd\u01ff\u0201\u0203\u0205\u0207\u0209\u020b\u020d\u020f\u0211\u0213\u0215\u0217\u0219\u021b\u021d\u021f\u0221\u0223\u0225\u0227\u0229\u022b\u022d\u022f\u0231\u0233-\u0239\u023c\u023f-\u0240\u0242\u0247\u0249\u024b\u024d\u024f-\u0293\u0295-\u02af\u0371\u0373\u0377\u037b-\u037d\u0390\u03ac-\u03ce\u03d0-\u03d1\u03d5-\u03d7\u03d9\u03db\u03dd\u03df\u03e1\u03e3\u03e5\u03e7\u03e9\u03eb\u03ed\u03ef-\u03f3\u03f5\u03f8\u03fb-\u03fc\u0430-\u045f\u0461\u0463\u0465\u0467\u0469\u046b\u046d\u046f\u0471\u0473\u0475\u0477\u0479\u047b\u047d\u047f\u0481\u048b\u048d\u048f\u0491\u0493\u0495\u0497\u0499\u049b\u049d\u049f\u04a1\u04a3\u04a5\u04a7\u04a9\u04ab\u04ad\u04af\u04b1\u04b3\u04b5\u04b7\u04b9\u04bb\u04bd\u04bf\u04c2\u04c4\u04c6\u04c8\u04ca\u04cc\u04ce-\u04cf\u04d1\u04d3\u04d5\u04d7\u04d9\u04db\u04dd\u04df\u04e1\u04e3\u04e5\u04e7\u04e9\u04eb\u04ed\u04ef\u04f1\u04f3\u04f5\u04f7\u04f9\u04fb\u04fd\u04ff\u0501\u0503\u0505\u0507\u0509\u050b\u050d\u050f\u0511\u0513\u0515\u0517\u0519\u051b\u051d\u051f\u0521\u0523\u0525\u0527\u0529\u052b\u052d\u052f\u0560-\u0588\u10d0-\u10fa\u10fd-\u10ff\u13f8-\u13fd\u1c80-\u1c88\u1d00-\u1d2b\u1d6b-\u1d77\u1d79-\u1d9a\u1e01\u1e03\u1e05\u1e07\u1e09\u1e0b\u1e0d\u1e0f\u1e11\u1e13\u1e15\u1e17\u1e19\u1e1b\u1e1d\u1e1f\u1e21\u1e23\u1e25\u1e27\u1e29\u1e2b\u1e2d\u1e2f\u1e31\u1e33\u1e35\u1e37\u1e39\u1e3b\u1e3d\u1e3f\u1e41\u1e43\u1e45\u1e47\u1e49\u1e4b\u1e4d\u1e4f\u1e51\u1e53\u1e55\u1e57\u1e59\u1e5b\u1e5d\u1e5f\u1e61\u1e63\u1e65\u1e67\u1e69\u1e6b\u1e6d\u1e6f\u1e71\u1e73\u1e75\u1e77\u1e79\u1e7b\u1e7d\u1e7f\u1e81\u1e83\u1e85\u1e87\u1e89\u1e8b\u1e8d\u1e8f\u1e91\u1e93\u1e95-\u1e9d\u1e9f\u1ea1\u1ea3\u1ea5\u1ea7\u1ea9\u1eab\u1ead\u1eaf\u1eb1\u1eb3\u1eb5\u1eb7\u1eb9\u1ebb\u1ebd\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ec9\u1ecb\u1ecd\u1ecf\u1ed1\u1ed3\u1ed5\u1ed7\u1ed9\u1edb\u1edd\u1edf\u1ee1\u1ee3\u1ee5\u1ee7\u1ee9\u1eeb\u1eed\u1eef\u1ef1\u1ef3\u1ef5\u1ef7\u1ef9\u1efb\u1efd\u1eff-\u1f07\u1f10-\u1f15\u1f20-\u1f27\u1f30-\u1f37\u1f40-\u1f45\u1f50-\u1f57\u1f60-\u1f67\u1f70-\u1f7d\u1f80-\u1f87\u1f90-\u1f97\u1fa0-\u1fa7\u1fb0-\u1fb4\u1fb6-\u1fb7\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fc7\u1fd0-\u1fd3\u1fd6-\u1fd7\u1fe0-\u1fe7\u1ff2-\u1ff4\u1ff6-\u1ff7\u210a\u210e-\u210f\u2113\u212f\u2134\u2139\u213c-\u213d\u2146-\u2149\u214e\u2184\u2c30-\u2c5e\u2c61\u2c65-\u2c66\u2c68\u2c6a\u2c6c\u2c71\u2c73-\u2c74\u2c76-\u2c7b\u2c81\u2c83\u2c85\u2c87\u2c89\u2c8b\u2c8d\u2c8f\u2c91\u2c93\u2c95\u2c97\u2c99\u2c9b\u2c9d\u2c9f\u2ca1\u2ca3\u2ca5\u2ca7\u2ca9\u2cab\u2cad\u2caf\u2cb1\u2cb3\u2cb5\u2cb7\u2cb9\u2cbb\u2cbd\u2cbf\u2cc1\u2cc3\u2cc5\u2cc7\u2cc9\u2ccb\u2ccd\u2ccf\u2cd1\u2cd3\u2cd5\u2cd7\u2cd9\u2cdb\u2cdd\u2cdf\u2ce1\u2ce3-\u2ce4\u2cec\u2cee\u2cf3\u2d00-\u2d25\u2d27\u2d2d\ua641\ua643\ua645\ua647\ua649\ua64b\ua64d\ua64f\ua651\ua653\ua655\ua657\ua659\ua65b\ua65d\ua65f\ua661\ua663\ua665\ua667\ua669\ua66b\ua66d\ua681\ua683\ua685\ua687\ua689\ua68b\ua68d\ua68f\ua691\ua693\ua695\ua697\ua699\ua69b\ua723\ua725\ua727\ua729\ua72b\ua72d\ua72f-\ua731\ua733\ua735\ua737\ua739\ua73b\ua73d\ua73f\ua741\ua743\ua745\ua747\ua749\ua74b\ua74d\ua74f\ua751\ua753\ua755\ua757\ua759\ua75b\ua75d\ua75f\ua761\ua763\ua765\ua767\ua769\ua76b\ua76d\ua76f\ua771-\ua778\ua77a\ua77c\ua77f\ua781\ua783\ua785\ua787\ua78c\ua78e\ua791\ua793-\ua795\ua797\ua799\ua79b\ua79d\ua79f\ua7a1\ua7a3\ua7a5\ua7a7\ua7a9\ua7af\ua7b5\ua7b7\ua7b9\ua7fa\uab30-\uab5a\uab60-\uab65\uab70-\uabbf\ufb00-\ufb06\ufb13-\ufb17\uff41-\uff5a\U00010428-\U0001044f\U000104d8-\U000104fb\U00010cc0-\U00010cf2\U000118c0-\U000118df\U00016e60-\U00016e7f\U0001d41a-\U0001d433\U0001d44e-\U0001d454\U0001d456-\U0001d467\U0001d482-\U0001d49b\U0001d4b6-\U0001d4b9\U0001d4bb\U0001d4bd-\U0001d4c3\U0001d4c5-\U0001d4cf\U0001d4ea-\U0001d503\U0001d51e-\U0001d537\U0001d552-\U0001d56b\U0001d586-\U0001d59f\U0001d5ba-\U0001d5d3\U0001d5ee-\U0001d607\U0001d622-\U0001d63b\U0001d656-\U0001d66f\U0001d68a-\U0001d6a5\U0001d6c2-\U0001d6da\U0001d6dc-\U0001d6e1\U0001d6fc-\U0001d714\U0001d716-\U0001d71b\U0001d736-\U0001d74e\U0001d750-\U0001d755\U0001d770-\U0001d788\U0001d78a-\U0001d78f\U0001d7aa-\U0001d7c2\U0001d7c4-\U0001d7c9\U0001d7cb\U0001e922-\U0001e943'
25
-
26
- Lm = '\u02b0-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0374\u037a\u0559\u0640\u06e5-\u06e6\u07f4-\u07f5\u07fa\u081a\u0824\u0828\u0971\u0e46\u0ec6\u10fc\u17d7\u1843\u1aa7\u1c78-\u1c7d\u1d2c-\u1d6a\u1d78\u1d9b-\u1dbf\u2071\u207f\u2090-\u209c\u2c7c-\u2c7d\u2d6f\u2e2f\u3005\u3031-\u3035\u303b\u309d-\u309e\u30fc-\u30fe\ua015\ua4f8-\ua4fd\ua60c\ua67f\ua69c-\ua69d\ua717-\ua71f\ua770\ua788\ua7f8-\ua7f9\ua9cf\ua9e6\uaa70\uaadd\uaaf3-\uaaf4\uab5c-\uab5f\uff70\uff9e-\uff9f\U00016b40-\U00016b43\U00016f93-\U00016f9f\U00016fe0-\U00016fe1'
27
-
28
- Lo = '\xaa\xba\u01bb\u01c0-\u01c3\u0294\u05d0-\u05ea\u05ef-\u05f2\u0620-\u063f\u0641-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u0800-\u0815\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0972-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32-\u0e33\u0e40-\u0e45\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2-\u0eb3\u0ebd\u0ec0-\u0ec4\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u1100-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16f1-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17dc\u1820-\u1842\u1844-\u1878\u1880-\u1884\u1887-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c77\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5-\u1cf6\u2135-\u2138\u2d30-\u2d67\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3006\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua014\ua016-\ua48c\ua4d0-\ua4f7\ua500-\ua60b\ua610-\ua61f\ua62a-\ua62b\ua66e\ua6a0-\ua6e5\ua78f\ua7f7\ua7fb-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9e0-\ua9e4\ua9e7-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa6f\uaa71-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadc\uaae0-\uaaea\uaaf2\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff66-\uff6f\uff71-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\U00010000-\U0001000b\U0001000d-\U00010026\U00010028-\U0001003a\U0001003c-\U0001003d\U0001003f-\U0001004d\U00010050-\U0001005d\U00010080-\U000100fa\U00010280-\U0001029c\U000102a0-\U000102d0\U00010300-\U0001031f\U0001032d-\U00010340\U00010342-\U00010349\U00010350-\U00010375\U00010380-\U0001039d\U000103a0-\U000103c3\U000103c8-\U000103cf\U00010450-\U0001049d\U00010500-\U00010527\U00010530-\U00010563\U00010600-\U00010736\U00010740-\U00010755\U00010760-\U00010767\U00010800-\U00010805\U00010808\U0001080a-\U00010835\U00010837-\U00010838\U0001083c\U0001083f-\U00010855\U00010860-\U00010876\U00010880-\U0001089e\U000108e0-\U000108f2\U000108f4-\U000108f5\U00010900-\U00010915\U00010920-\U00010939\U00010980-\U000109b7\U000109be-\U000109bf\U00010a00\U00010a10-\U00010a13\U00010a15-\U00010a17\U00010a19-\U00010a35\U00010a60-\U00010a7c\U00010a80-\U00010a9c\U00010ac0-\U00010ac7\U00010ac9-\U00010ae4\U00010b00-\U00010b35\U00010b40-\U00010b55\U00010b60-\U00010b72\U00010b80-\U00010b91\U00010c00-\U00010c48\U00010d00-\U00010d23\U00010f00-\U00010f1c\U00010f27\U00010f30-\U00010f45\U00011003-\U00011037\U00011083-\U000110af\U000110d0-\U000110e8\U00011103-\U00011126\U00011144\U00011150-\U00011172\U00011176\U00011183-\U000111b2\U000111c1-\U000111c4\U000111da\U000111dc\U00011200-\U00011211\U00011213-\U0001122b\U00011280-\U00011286\U00011288\U0001128a-\U0001128d\U0001128f-\U0001129d\U0001129f-\U000112a8\U000112b0-\U000112de\U00011305-\U0001130c\U0001130f-\U00011310\U00011313-\U00011328\U0001132a-\U00011330\U00011332-\U00011333\U00011335-\U00011339\U0001133d\U00011350\U0001135d-\U00011361\U00011400-\U00011434\U00011447-\U0001144a\U00011480-\U000114af\U000114c4-\U000114c5\U000114c7\U00011580-\U000115ae\U000115d8-\U000115db\U00011600-\U0001162f\U00011644\U00011680-\U000116aa\U00011700-\U0001171a\U00011800-\U0001182b\U000118ff\U00011a00\U00011a0b-\U00011a32\U00011a3a\U00011a50\U00011a5c-\U00011a83\U00011a86-\U00011a89\U00011a9d\U00011ac0-\U00011af8\U00011c00-\U00011c08\U00011c0a-\U00011c2e\U00011c40\U00011c72-\U00011c8f\U00011d00-\U00011d06\U00011d08-\U00011d09\U00011d0b-\U00011d30\U00011d46\U00011d60-\U00011d65\U00011d67-\U00011d68\U00011d6a-\U00011d89\U00011d98\U00011ee0-\U00011ef2\U00012000-\U00012399\U00012480-\U00012543\U00013000-\U0001342e\U00014400-\U00014646\U00016800-\U00016a38\U00016a40-\U00016a5e\U00016ad0-\U00016aed\U00016b00-\U00016b2f\U00016b63-\U00016b77\U00016b7d-\U00016b8f\U00016f00-\U00016f44\U00016f50\U00017000-\U000187f1\U00018800-\U00018af2\U0001b000-\U0001b11e\U0001b170-\U0001b2fb\U0001bc00-\U0001bc6a\U0001bc70-\U0001bc7c\U0001bc80-\U0001bc88\U0001bc90-\U0001bc99\U0001e800-\U0001e8c4\U0001ee00-\U0001ee03\U0001ee05-\U0001ee1f\U0001ee21-\U0001ee22\U0001ee24\U0001ee27\U0001ee29-\U0001ee32\U0001ee34-\U0001ee37\U0001ee39\U0001ee3b\U0001ee42\U0001ee47\U0001ee49\U0001ee4b\U0001ee4d-\U0001ee4f\U0001ee51-\U0001ee52\U0001ee54\U0001ee57\U0001ee59\U0001ee5b\U0001ee5d\U0001ee5f\U0001ee61-\U0001ee62\U0001ee64\U0001ee67-\U0001ee6a\U0001ee6c-\U0001ee72\U0001ee74-\U0001ee77\U0001ee79-\U0001ee7c\U0001ee7e\U0001ee80-\U0001ee89\U0001ee8b-\U0001ee9b\U0001eea1-\U0001eea3\U0001eea5-\U0001eea9\U0001eeab-\U0001eebb\U00020000-\U0002a6d6\U0002a700-\U0002b734\U0002b740-\U0002b81d\U0002b820-\U0002cea1\U0002ceb0-\U0002ebe0\U0002f800-\U0002fa1d'
29
-
30
- Lt = '\u01c5\u01c8\u01cb\u01f2\u1f88-\u1f8f\u1f98-\u1f9f\u1fa8-\u1faf\u1fbc\u1fcc\u1ffc'
31
-
32
- Lu = 'A-Z\xc0-\xd6\xd8-\xde\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178-\u0179\u017b\u017d\u0181-\u0182\u0184\u0186-\u0187\u0189-\u018b\u018e-\u0191\u0193-\u0194\u0196-\u0198\u019c-\u019d\u019f-\u01a0\u01a2\u01a4\u01a6-\u01a7\u01a9\u01ac\u01ae-\u01af\u01b1-\u01b3\u01b5\u01b7-\u01b8\u01bc\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u023a-\u023b\u023d-\u023e\u0241\u0243-\u0246\u0248\u024a\u024c\u024e\u0370\u0372\u0376\u037f\u0386\u0388-\u038a\u038c\u038e-\u038f\u0391-\u03a1\u03a3-\u03ab\u03cf\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03f9-\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0-\u04c1\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512\u0514\u0516\u0518\u051a\u051c\u051e\u0520\u0522\u0524\u0526\u0528\u052a\u052c\u052e\u0531-\u0556\u10a0-\u10c5\u10c7\u10cd\u13a0-\u13f5\u1c90-\u1cba\u1cbd-\u1cbf\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1e9e\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2\u1ef4\u1ef6\u1ef8\u1efa\u1efc\u1efe\u1f08-\u1f0f\u1f18-\u1f1d\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59\u1f5b\u1f5d\u1f5f\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133\u213e-\u213f\u2145\u2183\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67\u2c69\u2c6b\u2c6d-\u2c70\u2c72\u2c75\u2c7e-\u2c80\u2c82\u2c84\u2c86\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\u2ceb\u2ced\u2cf2\ua640\ua642\ua644\ua646\ua648\ua64a\ua64c\ua64e\ua650\ua652\ua654\ua656\ua658\ua65a\ua65c\ua65e\ua660\ua662\ua664\ua666\ua668\ua66a\ua66c\ua680\ua682\ua684\ua686\ua688\ua68a\ua68c\ua68e\ua690\ua692\ua694\ua696\ua698\ua69a\ua722\ua724\ua726\ua728\ua72a\ua72c\ua72e\ua732\ua734\ua736\ua738\ua73a\ua73c\ua73e\ua740\ua742\ua744\ua746\ua748\ua74a\ua74c\ua74e\ua750\ua752\ua754\ua756\ua758\ua75a\ua75c\ua75e\ua760\ua762\ua764\ua766\ua768\ua76a\ua76c\ua76e\ua779\ua77b\ua77d-\ua77e\ua780\ua782\ua784\ua786\ua78b\ua78d\ua790\ua792\ua796\ua798\ua79a\ua79c\ua79e\ua7a0\ua7a2\ua7a4\ua7a6\ua7a8\ua7aa-\ua7ae\ua7b0-\ua7b4\ua7b6\ua7b8\uff21-\uff3a\U00010400-\U00010427\U000104b0-\U000104d3\U00010c80-\U00010cb2\U000118a0-\U000118bf\U00016e40-\U00016e5f\U0001d400-\U0001d419\U0001d434-\U0001d44d\U0001d468-\U0001d481\U0001d49c\U0001d49e-\U0001d49f\U0001d4a2\U0001d4a5-\U0001d4a6\U0001d4a9-\U0001d4ac\U0001d4ae-\U0001d4b5\U0001d4d0-\U0001d4e9\U0001d504-\U0001d505\U0001d507-\U0001d50a\U0001d50d-\U0001d514\U0001d516-\U0001d51c\U0001d538-\U0001d539\U0001d53b-\U0001d53e\U0001d540-\U0001d544\U0001d546\U0001d54a-\U0001d550\U0001d56c-\U0001d585\U0001d5a0-\U0001d5b9\U0001d5d4-\U0001d5ed\U0001d608-\U0001d621\U0001d63c-\U0001d655\U0001d670-\U0001d689\U0001d6a8-\U0001d6c0\U0001d6e2-\U0001d6fa\U0001d71c-\U0001d734\U0001d756-\U0001d76e\U0001d790-\U0001d7a8\U0001d7ca\U0001e900-\U0001e921'
33
-
34
- Mc = '\u0903\u093b\u093e-\u0940\u0949-\u094c\u094e-\u094f\u0982-\u0983\u09be-\u09c0\u09c7-\u09c8\u09cb-\u09cc\u09d7\u0a03\u0a3e-\u0a40\u0a83\u0abe-\u0ac0\u0ac9\u0acb-\u0acc\u0b02-\u0b03\u0b3e\u0b40\u0b47-\u0b48\u0b4b-\u0b4c\u0b57\u0bbe-\u0bbf\u0bc1-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd7\u0c01-\u0c03\u0c41-\u0c44\u0c82-\u0c83\u0cbe\u0cc0-\u0cc4\u0cc7-\u0cc8\u0cca-\u0ccb\u0cd5-\u0cd6\u0d02-\u0d03\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d57\u0d82-\u0d83\u0dcf-\u0dd1\u0dd8-\u0ddf\u0df2-\u0df3\u0f3e-\u0f3f\u0f7f\u102b-\u102c\u1031\u1038\u103b-\u103c\u1056-\u1057\u1062-\u1064\u1067-\u106d\u1083-\u1084\u1087-\u108c\u108f\u109a-\u109c\u17b6\u17be-\u17c5\u17c7-\u17c8\u1923-\u1926\u1929-\u192b\u1930-\u1931\u1933-\u1938\u1a19-\u1a1a\u1a55\u1a57\u1a61\u1a63-\u1a64\u1a6d-\u1a72\u1b04\u1b35\u1b3b\u1b3d-\u1b41\u1b43-\u1b44\u1b82\u1ba1\u1ba6-\u1ba7\u1baa\u1be7\u1bea-\u1bec\u1bee\u1bf2-\u1bf3\u1c24-\u1c2b\u1c34-\u1c35\u1ce1\u1cf2-\u1cf3\u1cf7\u302e-\u302f\ua823-\ua824\ua827\ua880-\ua881\ua8b4-\ua8c3\ua952-\ua953\ua983\ua9b4-\ua9b5\ua9ba-\ua9bb\ua9bd-\ua9c0\uaa2f-\uaa30\uaa33-\uaa34\uaa4d\uaa7b\uaa7d\uaaeb\uaaee-\uaaef\uaaf5\uabe3-\uabe4\uabe6-\uabe7\uabe9-\uabea\uabec\U00011000\U00011002\U00011082\U000110b0-\U000110b2\U000110b7-\U000110b8\U0001112c\U00011145-\U00011146\U00011182\U000111b3-\U000111b5\U000111bf-\U000111c0\U0001122c-\U0001122e\U00011232-\U00011233\U00011235\U000112e0-\U000112e2\U00011302-\U00011303\U0001133e-\U0001133f\U00011341-\U00011344\U00011347-\U00011348\U0001134b-\U0001134d\U00011357\U00011362-\U00011363\U00011435-\U00011437\U00011440-\U00011441\U00011445\U000114b0-\U000114b2\U000114b9\U000114bb-\U000114be\U000114c1\U000115af-\U000115b1\U000115b8-\U000115bb\U000115be\U00011630-\U00011632\U0001163b-\U0001163c\U0001163e\U000116ac\U000116ae-\U000116af\U000116b6\U00011720-\U00011721\U00011726\U0001182c-\U0001182e\U00011838\U00011a39\U00011a57-\U00011a58\U00011a97\U00011c2f\U00011c3e\U00011ca9\U00011cb1\U00011cb4\U00011d8a-\U00011d8e\U00011d93-\U00011d94\U00011d96\U00011ef5-\U00011ef6\U00016f51-\U00016f7e\U0001d165-\U0001d166\U0001d16d-\U0001d172'
35
-
36
- Me = '\u0488-\u0489\u1abe\u20dd-\u20e0\u20e2-\u20e4\ua670-\ua672'
37
-
38
- Mn = '\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7-\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962-\u0963\u0981\u09bc\u09c1-\u09c4\u09cd\u09e2-\u09e3\u09fe\u0a01-\u0a02\u0a3c\u0a41-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a70-\u0a71\u0a75\u0a81-\u0a82\u0abc\u0ac1-\u0ac5\u0ac7-\u0ac8\u0acd\u0ae2-\u0ae3\u0afa-\u0aff\u0b01\u0b3c\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b62-\u0b63\u0b82\u0bc0\u0bcd\u0c00\u0c04\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c62-\u0c63\u0c81\u0cbc\u0cbf\u0cc6\u0ccc-\u0ccd\u0ce2-\u0ce3\u0d00-\u0d01\u0d3b-\u0d3c\u0d41-\u0d44\u0d4d\u0d62-\u0d63\u0dca\u0dd2-\u0dd4\u0dd6\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb-\u0ebc\u0ec8-\u0ecd\u0f18-\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039-\u103a\u103d-\u103e\u1058-\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085-\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752-\u1753\u1772-\u1773\u17b4-\u17b5\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u1885-\u1886\u18a9\u1920-\u1922\u1927-\u1928\u1932\u1939-\u193b\u1a17-\u1a18\u1a1b\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1ab0-\u1abd\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80-\u1b81\u1ba2-\u1ba5\u1ba8-\u1ba9\u1bab-\u1bad\u1be6\u1be8-\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36-\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1cf4\u1cf8-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302d\u3099-\u309a\ua66f\ua674-\ua67d\ua69e-\ua69f\ua6f0-\ua6f1\ua802\ua806\ua80b\ua825-\ua826\ua8c4-\ua8c5\ua8e0-\ua8f1\ua8ff\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\ua9e5\uaa29-\uaa2e\uaa31-\uaa32\uaa35-\uaa36\uaa43\uaa4c\uaa7c\uaab0\uaab2-\uaab4\uaab7-\uaab8\uaabe-\uaabf\uaac1\uaaec-\uaaed\uaaf6\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\U000101fd\U000102e0\U00010376-\U0001037a\U00010a01-\U00010a03\U00010a05-\U00010a06\U00010a0c-\U00010a0f\U00010a38-\U00010a3a\U00010a3f\U00010ae5-\U00010ae6\U00010d24-\U00010d27\U00010f46-\U00010f50\U00011001\U00011038-\U00011046\U0001107f-\U00011081\U000110b3-\U000110b6\U000110b9-\U000110ba\U00011100-\U00011102\U00011127-\U0001112b\U0001112d-\U00011134\U00011173\U00011180-\U00011181\U000111b6-\U000111be\U000111c9-\U000111cc\U0001122f-\U00011231\U00011234\U00011236-\U00011237\U0001123e\U000112df\U000112e3-\U000112ea\U00011300-\U00011301\U0001133b-\U0001133c\U00011340\U00011366-\U0001136c\U00011370-\U00011374\U00011438-\U0001143f\U00011442-\U00011444\U00011446\U0001145e\U000114b3-\U000114b8\U000114ba\U000114bf-\U000114c0\U000114c2-\U000114c3\U000115b2-\U000115b5\U000115bc-\U000115bd\U000115bf-\U000115c0\U000115dc-\U000115dd\U00011633-\U0001163a\U0001163d\U0001163f-\U00011640\U000116ab\U000116ad\U000116b0-\U000116b5\U000116b7\U0001171d-\U0001171f\U00011722-\U00011725\U00011727-\U0001172b\U0001182f-\U00011837\U00011839-\U0001183a\U00011a01-\U00011a0a\U00011a33-\U00011a38\U00011a3b-\U00011a3e\U00011a47\U00011a51-\U00011a56\U00011a59-\U00011a5b\U00011a8a-\U00011a96\U00011a98-\U00011a99\U00011c30-\U00011c36\U00011c38-\U00011c3d\U00011c3f\U00011c92-\U00011ca7\U00011caa-\U00011cb0\U00011cb2-\U00011cb3\U00011cb5-\U00011cb6\U00011d31-\U00011d36\U00011d3a\U00011d3c-\U00011d3d\U00011d3f-\U00011d45\U00011d47\U00011d90-\U00011d91\U00011d95\U00011d97\U00011ef3-\U00011ef4\U00016af0-\U00016af4\U00016b30-\U00016b36\U00016f8f-\U00016f92\U0001bc9d-\U0001bc9e\U0001d167-\U0001d169\U0001d17b-\U0001d182\U0001d185-\U0001d18b\U0001d1aa-\U0001d1ad\U0001d242-\U0001d244\U0001da00-\U0001da36\U0001da3b-\U0001da6c\U0001da75\U0001da84\U0001da9b-\U0001da9f\U0001daa1-\U0001daaf\U0001e000-\U0001e006\U0001e008-\U0001e018\U0001e01b-\U0001e021\U0001e023-\U0001e024\U0001e026-\U0001e02a\U0001e8d0-\U0001e8d6\U0001e944-\U0001e94a\U000e0100-\U000e01ef'
39
-
40
- Nd = '0-9\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0de6-\u0def\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\ua9f0-\ua9f9\uaa50-\uaa59\uabf0-\uabf9\uff10-\uff19\U000104a0-\U000104a9\U00010d30-\U00010d39\U00011066-\U0001106f\U000110f0-\U000110f9\U00011136-\U0001113f\U000111d0-\U000111d9\U000112f0-\U000112f9\U00011450-\U00011459\U000114d0-\U000114d9\U00011650-\U00011659\U000116c0-\U000116c9\U00011730-\U00011739\U000118e0-\U000118e9\U00011c50-\U00011c59\U00011d50-\U00011d59\U00011da0-\U00011da9\U00016a60-\U00016a69\U00016b50-\U00016b59\U0001d7ce-\U0001d7ff\U0001e950-\U0001e959'
41
-
42
- Nl = '\u16ee-\u16f0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303a\ua6e6-\ua6ef\U00010140-\U00010174\U00010341\U0001034a\U000103d1-\U000103d5\U00012400-\U0001246e'
43
-
44
- No = '\xb2-\xb3\xb9\xbc-\xbe\u09f4-\u09f9\u0b72-\u0b77\u0bf0-\u0bf2\u0c78-\u0c7e\u0d58-\u0d5e\u0d70-\u0d78\u0f2a-\u0f33\u1369-\u137c\u17f0-\u17f9\u19da\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215f\u2189\u2460-\u249b\u24ea-\u24ff\u2776-\u2793\u2cfd\u3192-\u3195\u3220-\u3229\u3248-\u324f\u3251-\u325f\u3280-\u3289\u32b1-\u32bf\ua830-\ua835\U00010107-\U00010133\U00010175-\U00010178\U0001018a-\U0001018b\U000102e1-\U000102fb\U00010320-\U00010323\U00010858-\U0001085f\U00010879-\U0001087f\U000108a7-\U000108af\U000108fb-\U000108ff\U00010916-\U0001091b\U000109bc-\U000109bd\U000109c0-\U000109cf\U000109d2-\U000109ff\U00010a40-\U00010a48\U00010a7d-\U00010a7e\U00010a9d-\U00010a9f\U00010aeb-\U00010aef\U00010b58-\U00010b5f\U00010b78-\U00010b7f\U00010ba9-\U00010baf\U00010cfa-\U00010cff\U00010e60-\U00010e7e\U00010f1d-\U00010f26\U00010f51-\U00010f54\U00011052-\U00011065\U000111e1-\U000111f4\U0001173a-\U0001173b\U000118ea-\U000118f2\U00011c5a-\U00011c6c\U00016b5b-\U00016b61\U00016e80-\U00016e96\U0001d2e0-\U0001d2f3\U0001d360-\U0001d378\U0001e8c7-\U0001e8cf\U0001ec71-\U0001ecab\U0001ecad-\U0001ecaf\U0001ecb1-\U0001ecb4\U0001f100-\U0001f10c'
45
-
46
- Pc = '_\u203f-\u2040\u2054\ufe33-\ufe34\ufe4d-\ufe4f\uff3f'
47
-
48
- Pd = '\\-\u058a\u05be\u1400\u1806\u2010-\u2015\u2e17\u2e1a\u2e3a-\u2e3b\u2e40\u301c\u3030\u30a0\ufe31-\ufe32\ufe58\ufe63\uff0d'
49
-
50
- Pe = ')\\]}\u0f3b\u0f3d\u169c\u2046\u207e\u208e\u2309\u230b\u232a\u2769\u276b\u276d\u276f\u2771\u2773\u2775\u27c6\u27e7\u27e9\u27eb\u27ed\u27ef\u2984\u2986\u2988\u298a\u298c\u298e\u2990\u2992\u2994\u2996\u2998\u29d9\u29db\u29fd\u2e23\u2e25\u2e27\u2e29\u3009\u300b\u300d\u300f\u3011\u3015\u3017\u3019\u301b\u301e-\u301f\ufd3e\ufe18\ufe36\ufe38\ufe3a\ufe3c\ufe3e\ufe40\ufe42\ufe44\ufe48\ufe5a\ufe5c\ufe5e\uff09\uff3d\uff5d\uff60\uff63'
51
-
52
- Pf = '\xbb\u2019\u201d\u203a\u2e03\u2e05\u2e0a\u2e0d\u2e1d\u2e21'
53
-
54
- Pi = '\xab\u2018\u201b-\u201c\u201f\u2039\u2e02\u2e04\u2e09\u2e0c\u2e1c\u2e20'
55
-
56
- Po = "!-#%-'*,.-/:-;?-@\\\\\xa1\xa7\xb6-\xb7\xbf\u037e\u0387\u055a-\u055f\u0589\u05c0\u05c3\u05c6\u05f3-\u05f4\u0609-\u060a\u060c-\u060d\u061b\u061e-\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964-\u0965\u0970\u09fd\u0a76\u0af0\u0c84\u0df4\u0e4f\u0e5a-\u0e5b\u0f04-\u0f12\u0f14\u0f85\u0fd0-\u0fd4\u0fd9-\u0fda\u104a-\u104f\u10fb\u1360-\u1368\u166d-\u166e\u16eb-\u16ed\u1735-\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u1805\u1807-\u180a\u1944-\u1945\u1a1e-\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e-\u1c7f\u1cc0-\u1cc7\u1cd3\u2016-\u2017\u2020-\u2027\u2030-\u2038\u203b-\u203e\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205e\u2cf9-\u2cfc\u2cfe-\u2cff\u2d70\u2e00-\u2e01\u2e06-\u2e08\u2e0b\u2e0e-\u2e16\u2e18-\u2e19\u2e1b\u2e1e-\u2e1f\u2e2a-\u2e2e\u2e30-\u2e39\u2e3c-\u2e3f\u2e41\u2e43-\u2e4e\u3001-\u3003\u303d\u30fb\ua4fe-\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce-\ua8cf\ua8f8-\ua8fa\ua8fc\ua92e-\ua92f\ua95f\ua9c1-\ua9cd\ua9de-\ua9df\uaa5c-\uaa5f\uaade-\uaadf\uaaf0-\uaaf1\uabeb\ufe10-\ufe16\ufe19\ufe30\ufe45-\ufe46\ufe49-\ufe4c\ufe50-\ufe52\ufe54-\ufe57\ufe5f-\ufe61\ufe68\ufe6a-\ufe6b\uff01-\uff03\uff05-\uff07\uff0a\uff0c\uff0e-\uff0f\uff1a-\uff1b\uff1f-\uff20\uff3c\uff61\uff64-\uff65\U00010100-\U00010102\U0001039f\U000103d0\U0001056f\U00010857\U0001091f\U0001093f\U00010a50-\U00010a58\U00010a7f\U00010af0-\U00010af6\U00010b39-\U00010b3f\U00010b99-\U00010b9c\U00010f55-\U00010f59\U00011047-\U0001104d\U000110bb-\U000110bc\U000110be-\U000110c1\U00011140-\U00011143\U00011174-\U00011175\U000111c5-\U000111c8\U000111cd\U000111db\U000111dd-\U000111df\U00011238-\U0001123d\U000112a9\U0001144b-\U0001144f\U0001145b\U0001145d\U000114c6\U000115c1-\U000115d7\U00011641-\U00011643\U00011660-\U0001166c\U0001173c-\U0001173e\U0001183b\U00011a3f-\U00011a46\U00011a9a-\U00011a9c\U00011a9e-\U00011aa2\U00011c41-\U00011c45\U00011c70-\U00011c71\U00011ef7-\U00011ef8\U00012470-\U00012474\U00016a6e-\U00016a6f\U00016af5\U00016b37-\U00016b3b\U00016b44\U00016e97-\U00016e9a\U0001bc9f\U0001da87-\U0001da8b\U0001e95e-\U0001e95f"
57
-
58
- Ps = '(\\[{\u0f3a\u0f3c\u169b\u201a\u201e\u2045\u207d\u208d\u2308\u230a\u2329\u2768\u276a\u276c\u276e\u2770\u2772\u2774\u27c5\u27e6\u27e8\u27ea\u27ec\u27ee\u2983\u2985\u2987\u2989\u298b\u298d\u298f\u2991\u2993\u2995\u2997\u29d8\u29da\u29fc\u2e22\u2e24\u2e26\u2e28\u2e42\u3008\u300a\u300c\u300e\u3010\u3014\u3016\u3018\u301a\u301d\ufd3f\ufe17\ufe35\ufe37\ufe39\ufe3b\ufe3d\ufe3f\ufe41\ufe43\ufe47\ufe59\ufe5b\ufe5d\uff08\uff3b\uff5b\uff5f\uff62'
59
-
60
- Sc = '$\xa2-\xa5\u058f\u060b\u07fe-\u07ff\u09f2-\u09f3\u09fb\u0af1\u0bf9\u0e3f\u17db\u20a0-\u20bf\ua838\ufdfc\ufe69\uff04\uffe0-\uffe1\uffe5-\uffe6\U0001ecb0'
61
-
62
- Sk = '\\^`\xa8\xaf\xb4\xb8\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384-\u0385\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd-\u1ffe\u309b-\u309c\ua700-\ua716\ua720-\ua721\ua789-\ua78a\uab5b\ufbb2-\ufbc1\uff3e\uff40\uffe3\U0001f3fb-\U0001f3ff'
63
-
64
- Sm = '+<->|~\xac\xb1\xd7\xf7\u03f6\u0606-\u0608\u2044\u2052\u207a-\u207c\u208a-\u208c\u2118\u2140-\u2144\u214b\u2190-\u2194\u219a-\u219b\u21a0\u21a3\u21a6\u21ae\u21ce-\u21cf\u21d2\u21d4\u21f4-\u22ff\u2320-\u2321\u237c\u239b-\u23b3\u23dc-\u23e1\u25b7\u25c1\u25f8-\u25ff\u266f\u27c0-\u27c4\u27c7-\u27e5\u27f0-\u27ff\u2900-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\u2b30-\u2b44\u2b47-\u2b4c\ufb29\ufe62\ufe64-\ufe66\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe9-\uffec\U0001d6c1\U0001d6db\U0001d6fb\U0001d715\U0001d735\U0001d74f\U0001d76f\U0001d789\U0001d7a9\U0001d7c3\U0001eef0-\U0001eef1'
65
-
66
- So = '\xa6\xa9\xae\xb0\u0482\u058d-\u058e\u060e-\u060f\u06de\u06e9\u06fd-\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0c7f\u0d4f\u0d79\u0f01-\u0f03\u0f13\u0f15-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce-\u0fcf\u0fd5-\u0fd8\u109e-\u109f\u1390-\u1399\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2100-\u2101\u2103-\u2106\u2108-\u2109\u2114\u2116-\u2117\u211e-\u2123\u2125\u2127\u2129\u212e\u213a-\u213b\u214a\u214c-\u214d\u214f\u218a-\u218b\u2195-\u2199\u219c-\u219f\u21a1-\u21a2\u21a4-\u21a5\u21a7-\u21ad\u21af-\u21cd\u21d0-\u21d1\u21d3\u21d5-\u21f3\u2300-\u2307\u230c-\u231f\u2322-\u2328\u232b-\u237b\u237d-\u239a\u23b4-\u23db\u23e2-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u25b6\u25b8-\u25c0\u25c2-\u25f7\u2600-\u266e\u2670-\u2767\u2794-\u27bf\u2800-\u28ff\u2b00-\u2b2f\u2b45-\u2b46\u2b4d-\u2b73\u2b76-\u2b95\u2b98-\u2bc8\u2bca-\u2bfe\u2ce5-\u2cea\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012-\u3013\u3020\u3036-\u3037\u303e-\u303f\u3190-\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3247\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u32fe\u3300-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ua836-\ua837\ua839\uaa77-\uaa79\ufdfd\uffe4\uffe8\uffed-\uffee\ufffc-\ufffd\U00010137-\U0001013f\U00010179-\U00010189\U0001018c-\U0001018e\U00010190-\U0001019b\U000101a0\U000101d0-\U000101fc\U00010877-\U00010878\U00010ac8\U0001173f\U00016b3c-\U00016b3f\U00016b45\U0001bc9c\U0001d000-\U0001d0f5\U0001d100-\U0001d126\U0001d129-\U0001d164\U0001d16a-\U0001d16c\U0001d183-\U0001d184\U0001d18c-\U0001d1a9\U0001d1ae-\U0001d1e8\U0001d200-\U0001d241\U0001d245\U0001d300-\U0001d356\U0001d800-\U0001d9ff\U0001da37-\U0001da3a\U0001da6d-\U0001da74\U0001da76-\U0001da83\U0001da85-\U0001da86\U0001ecac\U0001f000-\U0001f02b\U0001f030-\U0001f093\U0001f0a0-\U0001f0ae\U0001f0b1-\U0001f0bf\U0001f0c1-\U0001f0cf\U0001f0d1-\U0001f0f5\U0001f110-\U0001f16b\U0001f170-\U0001f1ac\U0001f1e6-\U0001f202\U0001f210-\U0001f23b\U0001f240-\U0001f248\U0001f250-\U0001f251\U0001f260-\U0001f265\U0001f300-\U0001f3fa\U0001f400-\U0001f6d4\U0001f6e0-\U0001f6ec\U0001f6f0-\U0001f6f9\U0001f700-\U0001f773\U0001f780-\U0001f7d8\U0001f800-\U0001f80b\U0001f810-\U0001f847\U0001f850-\U0001f859\U0001f860-\U0001f887\U0001f890-\U0001f8ad\U0001f900-\U0001f90b\U0001f910-\U0001f93e\U0001f940-\U0001f970\U0001f973-\U0001f976\U0001f97a\U0001f97c-\U0001f9a2\U0001f9b0-\U0001f9b9\U0001f9c0-\U0001f9c2\U0001f9d0-\U0001f9ff\U0001fa60-\U0001fa6d'
67
-
68
- Zl = '\u2028'
69
-
70
- Zp = '\u2029'
71
-
72
- Zs = ' \xa0\u1680\u2000-\u200a\u202f\u205f\u3000'
73
-
74
- xid_continue = '0-9A-Z_a-z\xaa\xb5\xb7\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0300-\u0374\u0376-\u0377\u037b-\u037d\u037f\u0386-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u0483-\u0487\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u0591-\u05bd\u05bf\u05c1-\u05c2\u05c4-\u05c5\u05c7\u05d0-\u05ea\u05ef-\u05f2\u0610-\u061a\u0620-\u0669\u066e-\u06d3\u06d5-\u06dc\u06df-\u06e8\u06ea-\u06fc\u06ff\u0710-\u074a\u074d-\u07b1\u07c0-\u07f5\u07fa\u07fd\u0800-\u082d\u0840-\u085b\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u08d3-\u08e1\u08e3-\u0963\u0966-\u096f\u0971-\u0983\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bc-\u09c4\u09c7-\u09c8\u09cb-\u09ce\u09d7\u09dc-\u09dd\u09df-\u09e3\u09e6-\u09f1\u09fc\u09fe\u0a01-\u0a03\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a3c\u0a3e-\u0a42\u0a47-\u0a48\u0a4b-\u0a4d\u0a51\u0a59-\u0a5c\u0a5e\u0a66-\u0a75\u0a81-\u0a83\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abc-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ad0\u0ae0-\u0ae3\u0ae6-\u0aef\u0af9-\u0aff\u0b01-\u0b03\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3c-\u0b44\u0b47-\u0b48\u0b4b-\u0b4d\u0b56-\u0b57\u0b5c-\u0b5d\u0b5f-\u0b63\u0b66-\u0b6f\u0b71\u0b82-\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd0\u0bd7\u0be6-\u0bef\u0c00-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55-\u0c56\u0c58-\u0c5a\u0c60-\u0c63\u0c66-\u0c6f\u0c80-\u0c83\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbc-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5-\u0cd6\u0cde\u0ce0-\u0ce3\u0ce6-\u0cef\u0cf1-\u0cf2\u0d00-\u0d03\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d44\u0d46-\u0d48\u0d4a-\u0d4e\u0d54-\u0d57\u0d5f-\u0d63\u0d66-\u0d6f\u0d7a-\u0d7f\u0d82-\u0d83\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2-\u0df3\u0e01-\u0e3a\u0e40-\u0e4e\u0e50-\u0e59\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb9\u0ebb-\u0ebd\u0ec0-\u0ec4\u0ec6\u0ec8-\u0ecd\u0ed0-\u0ed9\u0edc-\u0edf\u0f00\u0f18-\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e-\u0f47\u0f49-\u0f6c\u0f71-\u0f84\u0f86-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1049\u1050-\u109d\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u135d-\u135f\u1369-\u1371\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176c\u176e-\u1770\u1772-\u1773\u1780-\u17d3\u17d7\u17dc-\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1820-\u1878\u1880-\u18aa\u18b0-\u18f5\u1900-\u191e\u1920-\u192b\u1930-\u193b\u1946-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u19d0-\u19da\u1a00-\u1a1b\u1a20-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1aa7\u1ab0-\u1abd\u1b00-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1bf3\u1c00-\u1c37\u1c40-\u1c49\u1c4d-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1cd0-\u1cd2\u1cd4-\u1cf9\u1d00-\u1df9\u1dfb-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u203f-\u2040\u2054\u2071\u207f\u2090-\u209c\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d7f-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2de0-\u2dff\u3005-\u3007\u3021-\u302f\u3031-\u3035\u3038-\u303c\u3041-\u3096\u3099-\u309a\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua62b\ua640-\ua66f\ua674-\ua67d\ua67f-\ua6f1\ua717-\ua71f\ua722-\ua788\ua78b-\ua7b9\ua7f7-\ua827\ua840-\ua873\ua880-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f7\ua8fb\ua8fd-\ua92d\ua930-\ua953\ua960-\ua97c\ua980-\ua9c0\ua9cf-\ua9d9\ua9e0-\ua9fe\uaa00-\uaa36\uaa40-\uaa4d\uaa50-\uaa59\uaa60-\uaa76\uaa7a-\uaac2\uaadb-\uaadd\uaae0-\uaaef\uaaf2-\uaaf6\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabea\uabec-\uabed\uabf0-\uabf9\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufc5d\ufc64-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdf9\ufe00-\ufe0f\ufe20-\ufe2f\ufe33-\ufe34\ufe4d-\ufe4f\ufe71\ufe73\ufe77\ufe79\ufe7b\ufe7d\ufe7f-\ufefc\uff10-\uff19\uff21-\uff3a\uff3f\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\U00010000-\U0001000b\U0001000d-\U00010026\U00010028-\U0001003a\U0001003c-\U0001003d\U0001003f-\U0001004d\U00010050-\U0001005d\U00010080-\U000100fa\U00010140-\U00010174\U000101fd\U00010280-\U0001029c\U000102a0-\U000102d0\U000102e0\U00010300-\U0001031f\U0001032d-\U0001034a\U00010350-\U0001037a\U00010380-\U0001039d\U000103a0-\U000103c3\U000103c8-\U000103cf\U000103d1-\U000103d5\U00010400-\U0001049d\U000104a0-\U000104a9\U000104b0-\U000104d3\U000104d8-\U000104fb\U00010500-\U00010527\U00010530-\U00010563\U00010600-\U00010736\U00010740-\U00010755\U00010760-\U00010767\U00010800-\U00010805\U00010808\U0001080a-\U00010835\U00010837-\U00010838\U0001083c\U0001083f-\U00010855\U00010860-\U00010876\U00010880-\U0001089e\U000108e0-\U000108f2\U000108f4-\U000108f5\U00010900-\U00010915\U00010920-\U00010939\U00010980-\U000109b7\U000109be-\U000109bf\U00010a00-\U00010a03\U00010a05-\U00010a06\U00010a0c-\U00010a13\U00010a15-\U00010a17\U00010a19-\U00010a35\U00010a38-\U00010a3a\U00010a3f\U00010a60-\U00010a7c\U00010a80-\U00010a9c\U00010ac0-\U00010ac7\U00010ac9-\U00010ae6\U00010b00-\U00010b35\U00010b40-\U00010b55\U00010b60-\U00010b72\U00010b80-\U00010b91\U00010c00-\U00010c48\U00010c80-\U00010cb2\U00010cc0-\U00010cf2\U00010d00-\U00010d27\U00010d30-\U00010d39\U00010f00-\U00010f1c\U00010f27\U00010f30-\U00010f50\U00011000-\U00011046\U00011066-\U0001106f\U0001107f-\U000110ba\U000110d0-\U000110e8\U000110f0-\U000110f9\U00011100-\U00011134\U00011136-\U0001113f\U00011144-\U00011146\U00011150-\U00011173\U00011176\U00011180-\U000111c4\U000111c9-\U000111cc\U000111d0-\U000111da\U000111dc\U00011200-\U00011211\U00011213-\U00011237\U0001123e\U00011280-\U00011286\U00011288\U0001128a-\U0001128d\U0001128f-\U0001129d\U0001129f-\U000112a8\U000112b0-\U000112ea\U000112f0-\U000112f9\U00011300-\U00011303\U00011305-\U0001130c\U0001130f-\U00011310\U00011313-\U00011328\U0001132a-\U00011330\U00011332-\U00011333\U00011335-\U00011339\U0001133b-\U00011344\U00011347-\U00011348\U0001134b-\U0001134d\U00011350\U00011357\U0001135d-\U00011363\U00011366-\U0001136c\U00011370-\U00011374\U00011400-\U0001144a\U00011450-\U00011459\U0001145e\U00011480-\U000114c5\U000114c7\U000114d0-\U000114d9\U00011580-\U000115b5\U000115b8-\U000115c0\U000115d8-\U000115dd\U00011600-\U00011640\U00011644\U00011650-\U00011659\U00011680-\U000116b7\U000116c0-\U000116c9\U00011700-\U0001171a\U0001171d-\U0001172b\U00011730-\U00011739\U00011800-\U0001183a\U000118a0-\U000118e9\U000118ff\U00011a00-\U00011a3e\U00011a47\U00011a50-\U00011a83\U00011a86-\U00011a99\U00011a9d\U00011ac0-\U00011af8\U00011c00-\U00011c08\U00011c0a-\U00011c36\U00011c38-\U00011c40\U00011c50-\U00011c59\U00011c72-\U00011c8f\U00011c92-\U00011ca7\U00011ca9-\U00011cb6\U00011d00-\U00011d06\U00011d08-\U00011d09\U00011d0b-\U00011d36\U00011d3a\U00011d3c-\U00011d3d\U00011d3f-\U00011d47\U00011d50-\U00011d59\U00011d60-\U00011d65\U00011d67-\U00011d68\U00011d6a-\U00011d8e\U00011d90-\U00011d91\U00011d93-\U00011d98\U00011da0-\U00011da9\U00011ee0-\U00011ef6\U00012000-\U00012399\U00012400-\U0001246e\U00012480-\U00012543\U00013000-\U0001342e\U00014400-\U00014646\U00016800-\U00016a38\U00016a40-\U00016a5e\U00016a60-\U00016a69\U00016ad0-\U00016aed\U00016af0-\U00016af4\U00016b00-\U00016b36\U00016b40-\U00016b43\U00016b50-\U00016b59\U00016b63-\U00016b77\U00016b7d-\U00016b8f\U00016e40-\U00016e7f\U00016f00-\U00016f44\U00016f50-\U00016f7e\U00016f8f-\U00016f9f\U00016fe0-\U00016fe1\U00017000-\U000187f1\U00018800-\U00018af2\U0001b000-\U0001b11e\U0001b170-\U0001b2fb\U0001bc00-\U0001bc6a\U0001bc70-\U0001bc7c\U0001bc80-\U0001bc88\U0001bc90-\U0001bc99\U0001bc9d-\U0001bc9e\U0001d165-\U0001d169\U0001d16d-\U0001d172\U0001d17b-\U0001d182\U0001d185-\U0001d18b\U0001d1aa-\U0001d1ad\U0001d242-\U0001d244\U0001d400-\U0001d454\U0001d456-\U0001d49c\U0001d49e-\U0001d49f\U0001d4a2\U0001d4a5-\U0001d4a6\U0001d4a9-\U0001d4ac\U0001d4ae-\U0001d4b9\U0001d4bb\U0001d4bd-\U0001d4c3\U0001d4c5-\U0001d505\U0001d507-\U0001d50a\U0001d50d-\U0001d514\U0001d516-\U0001d51c\U0001d51e-\U0001d539\U0001d53b-\U0001d53e\U0001d540-\U0001d544\U0001d546\U0001d54a-\U0001d550\U0001d552-\U0001d6a5\U0001d6a8-\U0001d6c0\U0001d6c2-\U0001d6da\U0001d6dc-\U0001d6fa\U0001d6fc-\U0001d714\U0001d716-\U0001d734\U0001d736-\U0001d74e\U0001d750-\U0001d76e\U0001d770-\U0001d788\U0001d78a-\U0001d7a8\U0001d7aa-\U0001d7c2\U0001d7c4-\U0001d7cb\U0001d7ce-\U0001d7ff\U0001da00-\U0001da36\U0001da3b-\U0001da6c\U0001da75\U0001da84\U0001da9b-\U0001da9f\U0001daa1-\U0001daaf\U0001e000-\U0001e006\U0001e008-\U0001e018\U0001e01b-\U0001e021\U0001e023-\U0001e024\U0001e026-\U0001e02a\U0001e800-\U0001e8c4\U0001e8d0-\U0001e8d6\U0001e900-\U0001e94a\U0001e950-\U0001e959\U0001ee00-\U0001ee03\U0001ee05-\U0001ee1f\U0001ee21-\U0001ee22\U0001ee24\U0001ee27\U0001ee29-\U0001ee32\U0001ee34-\U0001ee37\U0001ee39\U0001ee3b\U0001ee42\U0001ee47\U0001ee49\U0001ee4b\U0001ee4d-\U0001ee4f\U0001ee51-\U0001ee52\U0001ee54\U0001ee57\U0001ee59\U0001ee5b\U0001ee5d\U0001ee5f\U0001ee61-\U0001ee62\U0001ee64\U0001ee67-\U0001ee6a\U0001ee6c-\U0001ee72\U0001ee74-\U0001ee77\U0001ee79-\U0001ee7c\U0001ee7e\U0001ee80-\U0001ee89\U0001ee8b-\U0001ee9b\U0001eea1-\U0001eea3\U0001eea5-\U0001eea9\U0001eeab-\U0001eebb\U00020000-\U0002a6d6\U0002a700-\U0002b734\U0002b740-\U0002b81d\U0002b820-\U0002cea1\U0002ceb0-\U0002ebe0\U0002f800-\U0002fa1d\U000e0100-\U000e01ef'
75
-
76
- xid_start = 'A-Z_a-z\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376-\u0377\u037b-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e-\u066f\u0671-\u06d3\u06d5\u06e5-\u06e6\u06ee-\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4-\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f-\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc-\u09dd\u09df-\u09e1\u09f0-\u09f1\u09fc\u0a05-\u0a0a\u0a0f-\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32-\u0a33\u0a35-\u0a36\u0a38-\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2-\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0-\u0ae1\u0af9\u0b05-\u0b0c\u0b0f-\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32-\u0b33\u0b35-\u0b39\u0b3d\u0b5c-\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99-\u0b9a\u0b9c\u0b9e-\u0b9f\u0ba3-\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60-\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0-\u0ce1\u0cf1-\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e40-\u0e46\u0e81-\u0e82\u0e84\u0e87-\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa-\u0eab\u0ead-\u0eb0\u0eb2\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065-\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae-\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5-\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2-\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a-\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7b9\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd-\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5-\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab65\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufbb1\ufbd3-\ufc5d\ufc64-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdf9\ufe71\ufe73\ufe77\ufe79\ufe7b\ufe7d\ufe7f-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\U00010000-\U0001000b\U0001000d-\U00010026\U00010028-\U0001003a\U0001003c-\U0001003d\U0001003f-\U0001004d\U00010050-\U0001005d\U00010080-\U000100fa\U00010140-\U00010174\U00010280-\U0001029c\U000102a0-\U000102d0\U00010300-\U0001031f\U0001032d-\U0001034a\U00010350-\U00010375\U00010380-\U0001039d\U000103a0-\U000103c3\U000103c8-\U000103cf\U000103d1-\U000103d5\U00010400-\U0001049d\U000104b0-\U000104d3\U000104d8-\U000104fb\U00010500-\U00010527\U00010530-\U00010563\U00010600-\U00010736\U00010740-\U00010755\U00010760-\U00010767\U00010800-\U00010805\U00010808\U0001080a-\U00010835\U00010837-\U00010838\U0001083c\U0001083f-\U00010855\U00010860-\U00010876\U00010880-\U0001089e\U000108e0-\U000108f2\U000108f4-\U000108f5\U00010900-\U00010915\U00010920-\U00010939\U00010980-\U000109b7\U000109be-\U000109bf\U00010a00\U00010a10-\U00010a13\U00010a15-\U00010a17\U00010a19-\U00010a35\U00010a60-\U00010a7c\U00010a80-\U00010a9c\U00010ac0-\U00010ac7\U00010ac9-\U00010ae4\U00010b00-\U00010b35\U00010b40-\U00010b55\U00010b60-\U00010b72\U00010b80-\U00010b91\U00010c00-\U00010c48\U00010c80-\U00010cb2\U00010cc0-\U00010cf2\U00010d00-\U00010d23\U00010f00-\U00010f1c\U00010f27\U00010f30-\U00010f45\U00011003-\U00011037\U00011083-\U000110af\U000110d0-\U000110e8\U00011103-\U00011126\U00011144\U00011150-\U00011172\U00011176\U00011183-\U000111b2\U000111c1-\U000111c4\U000111da\U000111dc\U00011200-\U00011211\U00011213-\U0001122b\U00011280-\U00011286\U00011288\U0001128a-\U0001128d\U0001128f-\U0001129d\U0001129f-\U000112a8\U000112b0-\U000112de\U00011305-\U0001130c\U0001130f-\U00011310\U00011313-\U00011328\U0001132a-\U00011330\U00011332-\U00011333\U00011335-\U00011339\U0001133d\U00011350\U0001135d-\U00011361\U00011400-\U00011434\U00011447-\U0001144a\U00011480-\U000114af\U000114c4-\U000114c5\U000114c7\U00011580-\U000115ae\U000115d8-\U000115db\U00011600-\U0001162f\U00011644\U00011680-\U000116aa\U00011700-\U0001171a\U00011800-\U0001182b\U000118a0-\U000118df\U000118ff\U00011a00\U00011a0b-\U00011a32\U00011a3a\U00011a50\U00011a5c-\U00011a83\U00011a86-\U00011a89\U00011a9d\U00011ac0-\U00011af8\U00011c00-\U00011c08\U00011c0a-\U00011c2e\U00011c40\U00011c72-\U00011c8f\U00011d00-\U00011d06\U00011d08-\U00011d09\U00011d0b-\U00011d30\U00011d46\U00011d60-\U00011d65\U00011d67-\U00011d68\U00011d6a-\U00011d89\U00011d98\U00011ee0-\U00011ef2\U00012000-\U00012399\U00012400-\U0001246e\U00012480-\U00012543\U00013000-\U0001342e\U00014400-\U00014646\U00016800-\U00016a38\U00016a40-\U00016a5e\U00016ad0-\U00016aed\U00016b00-\U00016b2f\U00016b40-\U00016b43\U00016b63-\U00016b77\U00016b7d-\U00016b8f\U00016e40-\U00016e7f\U00016f00-\U00016f44\U00016f50\U00016f93-\U00016f9f\U00016fe0-\U00016fe1\U00017000-\U000187f1\U00018800-\U00018af2\U0001b000-\U0001b11e\U0001b170-\U0001b2fb\U0001bc00-\U0001bc6a\U0001bc70-\U0001bc7c\U0001bc80-\U0001bc88\U0001bc90-\U0001bc99\U0001d400-\U0001d454\U0001d456-\U0001d49c\U0001d49e-\U0001d49f\U0001d4a2\U0001d4a5-\U0001d4a6\U0001d4a9-\U0001d4ac\U0001d4ae-\U0001d4b9\U0001d4bb\U0001d4bd-\U0001d4c3\U0001d4c5-\U0001d505\U0001d507-\U0001d50a\U0001d50d-\U0001d514\U0001d516-\U0001d51c\U0001d51e-\U0001d539\U0001d53b-\U0001d53e\U0001d540-\U0001d544\U0001d546\U0001d54a-\U0001d550\U0001d552-\U0001d6a5\U0001d6a8-\U0001d6c0\U0001d6c2-\U0001d6da\U0001d6dc-\U0001d6fa\U0001d6fc-\U0001d714\U0001d716-\U0001d734\U0001d736-\U0001d74e\U0001d750-\U0001d76e\U0001d770-\U0001d788\U0001d78a-\U0001d7a8\U0001d7aa-\U0001d7c2\U0001d7c4-\U0001d7cb\U0001e800-\U0001e8c4\U0001e900-\U0001e943\U0001ee00-\U0001ee03\U0001ee05-\U0001ee1f\U0001ee21-\U0001ee22\U0001ee24\U0001ee27\U0001ee29-\U0001ee32\U0001ee34-\U0001ee37\U0001ee39\U0001ee3b\U0001ee42\U0001ee47\U0001ee49\U0001ee4b\U0001ee4d-\U0001ee4f\U0001ee51-\U0001ee52\U0001ee54\U0001ee57\U0001ee59\U0001ee5b\U0001ee5d\U0001ee5f\U0001ee61-\U0001ee62\U0001ee64\U0001ee67-\U0001ee6a\U0001ee6c-\U0001ee72\U0001ee74-\U0001ee77\U0001ee79-\U0001ee7c\U0001ee7e\U0001ee80-\U0001ee89\U0001ee8b-\U0001ee9b\U0001eea1-\U0001eea3\U0001eea5-\U0001eea9\U0001eeab-\U0001eebb\U00020000-\U0002a6d6\U0002a700-\U0002b734\U0002b740-\U0002b81d\U0002b820-\U0002cea1\U0002ceb0-\U0002ebe0\U0002f800-\U0002fa1d'
77
-
78
- cats = ['Cc', 'Cf', 'Cn', 'Co', 'Cs', 'Ll', 'Lm', 'Lo', 'Lt', 'Lu', 'Mc', 'Me', 'Mn', 'Nd', 'Nl', 'No', 'Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', 'Ps', 'Sc', 'Sk', 'Sm', 'So', 'Zl', 'Zp', 'Zs']
79
-
80
- # Generated from unidata 11.0.0
81
-
82
- def combine(*args):
83
- return ''.join(globals()[cat] for cat in args)
84
-
85
-
86
- def allexcept(*args):
87
- newcats = cats[:]
88
- for arg in args:
89
- newcats.remove(arg)
90
- return ''.join(globals()[cat] for cat in newcats)
91
-
92
-
93
- def _handle_runs(char_list): # pragma: no cover
94
- buf = []
95
- for c in char_list:
96
- if len(c) == 1:
97
- if buf and buf[-1][1] == chr(ord(c)-1):
98
- buf[-1] = (buf[-1][0], c)
99
- else:
100
- buf.append((c, c))
101
- else:
102
- buf.append((c, c))
103
- for a, b in buf:
104
- if a == b:
105
- yield a
106
- else:
107
- yield '%s-%s' % (a, b)
108
-
109
-
110
- if __name__ == '__main__': # pragma: no cover
111
- import unicodedata
112
-
113
- categories = {'xid_start': [], 'xid_continue': []}
114
-
115
- with open(__file__) as fp:
116
- content = fp.read()
117
-
118
- header = content[:content.find('Cc =')]
119
- footer = content[content.find("def combine("):]
120
-
121
- for code in range(0x110000):
122
- c = chr(code)
123
- cat = unicodedata.category(c)
124
- if ord(c) == 0xdc00:
125
- # Hack to avoid combining this combining with the preceding high
126
- # surrogate, 0xdbff, when doing a repr.
127
- c = '\\' + c
128
- elif ord(c) in (0x2d, 0x5b, 0x5c, 0x5d, 0x5e):
129
- # Escape regex metachars.
130
- c = '\\' + c
131
- categories.setdefault(cat, []).append(c)
132
- # XID_START and XID_CONTINUE are special categories used for matching
133
- # identifiers in Python 3.
134
- if c.isidentifier():
135
- categories['xid_start'].append(c)
136
- if ('a' + c).isidentifier():
137
- categories['xid_continue'].append(c)
138
-
139
- with open(__file__, 'w') as fp:
140
- fp.write(header)
141
-
142
- for cat in sorted(categories):
143
- val = ''.join(_handle_runs(categories[cat]))
144
- fp.write('%s = %a\n\n' % (cat, val))
145
-
146
- cats = sorted(categories)
147
- cats.remove('xid_start')
148
- cats.remove('xid_continue')
149
- fp.write('cats = %r\n\n' % cats)
150
-
151
- fp.write('# Generated from unidata %s\n\n' % (unicodedata.unidata_version,))
152
-
153
- fp.write(footer)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/Big-Web/MMSD/env/Lib/site-packages/urllib3/response.py DELETED
@@ -1,885 +0,0 @@
1
- from __future__ import absolute_import
2
-
3
- import io
4
- import logging
5
- import sys
6
- import warnings
7
- import zlib
8
- from contextlib import contextmanager
9
- from socket import error as SocketError
10
- from socket import timeout as SocketTimeout
11
-
12
- try:
13
- try:
14
- import brotlicffi as brotli
15
- except ImportError:
16
- import brotli
17
- except ImportError:
18
- brotli = None
19
-
20
- from . import util
21
- from ._collections import HTTPHeaderDict
22
- from .connection import BaseSSLError, HTTPException
23
- from .exceptions import (
24
- BodyNotHttplibCompatible,
25
- DecodeError,
26
- HTTPError,
27
- IncompleteRead,
28
- InvalidChunkLength,
29
- InvalidHeader,
30
- ProtocolError,
31
- ReadTimeoutError,
32
- ResponseNotChunked,
33
- SSLError,
34
- )
35
- from .packages import six
36
- from .util.response import is_fp_closed, is_response_to_head
37
-
38
- log = logging.getLogger(__name__)
39
-
40
-
41
- class DeflateDecoder(object):
42
- def __init__(self):
43
- self._first_try = True
44
- self._data = b""
45
- self._obj = zlib.decompressobj()
46
-
47
- def __getattr__(self, name):
48
- return getattr(self._obj, name)
49
-
50
- def decompress(self, data):
51
- if not data:
52
- return data
53
-
54
- if not self._first_try:
55
- return self._obj.decompress(data)
56
-
57
- self._data += data
58
- try:
59
- decompressed = self._obj.decompress(data)
60
- if decompressed:
61
- self._first_try = False
62
- self._data = None
63
- return decompressed
64
- except zlib.error:
65
- self._first_try = False
66
- self._obj = zlib.decompressobj(-zlib.MAX_WBITS)
67
- try:
68
- return self.decompress(self._data)
69
- finally:
70
- self._data = None
71
-
72
-
73
- class GzipDecoderState(object):
74
-
75
- FIRST_MEMBER = 0
76
- OTHER_MEMBERS = 1
77
- SWALLOW_DATA = 2
78
-
79
-
80
- class GzipDecoder(object):
81
- def __init__(self):
82
- self._obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
83
- self._state = GzipDecoderState.FIRST_MEMBER
84
-
85
- def __getattr__(self, name):
86
- return getattr(self._obj, name)
87
-
88
- def decompress(self, data):
89
- ret = bytearray()
90
- if self._state == GzipDecoderState.SWALLOW_DATA or not data:
91
- return bytes(ret)
92
- while True:
93
- try:
94
- ret += self._obj.decompress(data)
95
- except zlib.error:
96
- previous_state = self._state
97
- # Ignore data after the first error
98
- self._state = GzipDecoderState.SWALLOW_DATA
99
- if previous_state == GzipDecoderState.OTHER_MEMBERS:
100
- # Allow trailing garbage acceptable in other gzip clients
101
- return bytes(ret)
102
- raise
103
- data = self._obj.unused_data
104
- if not data:
105
- return bytes(ret)
106
- self._state = GzipDecoderState.OTHER_MEMBERS
107
- self._obj = zlib.decompressobj(16 + zlib.MAX_WBITS)
108
-
109
-
110
- if brotli is not None:
111
-
112
- class BrotliDecoder(object):
113
- # Supports both 'brotlipy' and 'Brotli' packages
114
- # since they share an import name. The top branches
115
- # are for 'brotlipy' and bottom branches for 'Brotli'
116
- def __init__(self):
117
- self._obj = brotli.Decompressor()
118
- if hasattr(self._obj, "decompress"):
119
- self.decompress = self._obj.decompress
120
- else:
121
- self.decompress = self._obj.process
122
-
123
- def flush(self):
124
- if hasattr(self._obj, "flush"):
125
- return self._obj.flush()
126
- return b""
127
-
128
-
129
- class MultiDecoder(object):
130
- """
131
- From RFC7231:
132
- If one or more encodings have been applied to a representation, the
133
- sender that applied the encodings MUST generate a Content-Encoding
134
- header field that lists the content codings in the order in which
135
- they were applied.
136
- """
137
-
138
- def __init__(self, modes):
139
- self._decoders = [_get_decoder(m.strip()) for m in modes.split(",")]
140
-
141
- def flush(self):
142
- return self._decoders[0].flush()
143
-
144
- def decompress(self, data):
145
- for d in reversed(self._decoders):
146
- data = d.decompress(data)
147
- return data
148
-
149
-
150
- def _get_decoder(mode):
151
- if "," in mode:
152
- return MultiDecoder(mode)
153
-
154
- if mode == "gzip":
155
- return GzipDecoder()
156
-
157
- if brotli is not None and mode == "br":
158
- return BrotliDecoder()
159
-
160
- return DeflateDecoder()
161
-
162
-
163
- class HTTPResponse(io.IOBase):
164
- """
165
- HTTP Response container.
166
-
167
- Backwards-compatible with :class:`http.client.HTTPResponse` but the response ``body`` is
168
- loaded and decoded on-demand when the ``data`` property is accessed. This
169
- class is also compatible with the Python standard library's :mod:`io`
170
- module, and can hence be treated as a readable object in the context of that
171
- framework.
172
-
173
- Extra parameters for behaviour not present in :class:`http.client.HTTPResponse`:
174
-
175
- :param preload_content:
176
- If True, the response's body will be preloaded during construction.
177
-
178
- :param decode_content:
179
- If True, will attempt to decode the body based on the
180
- 'content-encoding' header.
181
-
182
- :param original_response:
183
- When this HTTPResponse wrapper is generated from an :class:`http.client.HTTPResponse`
184
- object, it's convenient to include the original for debug purposes. It's
185
- otherwise unused.
186
-
187
- :param retries:
188
- The retries contains the last :class:`~urllib3.util.retry.Retry` that
189
- was used during the request.
190
-
191
- :param enforce_content_length:
192
- Enforce content length checking. Body returned by server must match
193
- value of Content-Length header, if present. Otherwise, raise error.
194
- """
195
-
196
- CONTENT_DECODERS = ["gzip", "deflate"]
197
- if brotli is not None:
198
- CONTENT_DECODERS += ["br"]
199
- REDIRECT_STATUSES = [301, 302, 303, 307, 308]
200
-
201
- def __init__(
202
- self,
203
- body="",
204
- headers=None,
205
- status=0,
206
- version=0,
207
- reason=None,
208
- strict=0,
209
- preload_content=True,
210
- decode_content=True,
211
- original_response=None,
212
- pool=None,
213
- connection=None,
214
- msg=None,
215
- retries=None,
216
- enforce_content_length=False,
217
- request_method=None,
218
- request_url=None,
219
- auto_close=True,
220
- ):
221
-
222
- if isinstance(headers, HTTPHeaderDict):
223
- self.headers = headers
224
- else:
225
- self.headers = HTTPHeaderDict(headers)
226
- self.status = status
227
- self.version = version
228
- self.reason = reason
229
- self.strict = strict
230
- self.decode_content = decode_content
231
- self.retries = retries
232
- self.enforce_content_length = enforce_content_length
233
- self.auto_close = auto_close
234
-
235
- self._decoder = None
236
- self._body = None
237
- self._fp = None
238
- self._original_response = original_response
239
- self._fp_bytes_read = 0
240
- self.msg = msg
241
- self._request_url = request_url
242
-
243
- if body and isinstance(body, (six.string_types, bytes)):
244
- self._body = body
245
-
246
- self._pool = pool
247
- self._connection = connection
248
-
249
- if hasattr(body, "read"):
250
- self._fp = body
251
-
252
- # Are we using the chunked-style of transfer encoding?
253
- self.chunked = False
254
- self.chunk_left = None
255
- tr_enc = self.headers.get("transfer-encoding", "").lower()
256
- # Don't incur the penalty of creating a list and then discarding it
257
- encodings = (enc.strip() for enc in tr_enc.split(","))
258
- if "chunked" in encodings:
259
- self.chunked = True
260
-
261
- # Determine length of response
262
- self.length_remaining = self._init_length(request_method)
263
-
264
- # If requested, preload the body.
265
- if preload_content and not self._body:
266
- self._body = self.read(decode_content=decode_content)
267
-
268
- def get_redirect_location(self):
269
- """
270
- Should we redirect and where to?
271
-
272
- :returns: Truthy redirect location string if we got a redirect status
273
- code and valid location. ``None`` if redirect status and no
274
- location. ``False`` if not a redirect status code.
275
- """
276
- if self.status in self.REDIRECT_STATUSES:
277
- return self.headers.get("location")
278
-
279
- return False
280
-
281
- def release_conn(self):
282
- if not self._pool or not self._connection:
283
- return
284
-
285
- self._pool._put_conn(self._connection)
286
- self._connection = None
287
-
288
- def drain_conn(self):
289
- """
290
- Read and discard any remaining HTTP response data in the response connection.
291
-
292
- Unread data in the HTTPResponse connection blocks the connection from being released back to the pool.
293
- """
294
- try:
295
- self.read()
296
- except (HTTPError, SocketError, BaseSSLError, HTTPException):
297
- pass
298
-
299
- @property
300
- def data(self):
301
- # For backwards-compat with earlier urllib3 0.4 and earlier.
302
- if self._body:
303
- return self._body
304
-
305
- if self._fp:
306
- return self.read(cache_content=True)
307
-
308
- @property
309
- def connection(self):
310
- return self._connection
311
-
312
- def isclosed(self):
313
- return is_fp_closed(self._fp)
314
-
315
- def tell(self):
316
- """
317
- Obtain the number of bytes pulled over the wire so far. May differ from
318
- the amount of content returned by :meth:``urllib3.response.HTTPResponse.read``
319
- if bytes are encoded on the wire (e.g, compressed).
320
- """
321
- return self._fp_bytes_read
322
-
323
- def _init_length(self, request_method):
324
- """
325
- Set initial length value for Response content if available.
326
- """
327
- length = self.headers.get("content-length")
328
-
329
- if length is not None:
330
- if self.chunked:
331
- # This Response will fail with an IncompleteRead if it can't be
332
- # received as chunked. This method falls back to attempt reading
333
- # the response before raising an exception.
334
- log.warning(
335
- "Received response with both Content-Length and "
336
- "Transfer-Encoding set. This is expressly forbidden "
337
- "by RFC 7230 sec 3.3.2. Ignoring Content-Length and "
338
- "attempting to process response as Transfer-Encoding: "
339
- "chunked."
340
- )
341
- return None
342
-
343
- try:
344
- # RFC 7230 section 3.3.2 specifies multiple content lengths can
345
- # be sent in a single Content-Length header
346
- # (e.g. Content-Length: 42, 42). This line ensures the values
347
- # are all valid ints and that as long as the `set` length is 1,
348
- # all values are the same. Otherwise, the header is invalid.
349
- lengths = set([int(val) for val in length.split(",")])
350
- if len(lengths) > 1:
351
- raise InvalidHeader(
352
- "Content-Length contained multiple "
353
- "unmatching values (%s)" % length
354
- )
355
- length = lengths.pop()
356
- except ValueError:
357
- length = None
358
- else:
359
- if length < 0:
360
- length = None
361
-
362
- # Convert status to int for comparison
363
- # In some cases, httplib returns a status of "_UNKNOWN"
364
- try:
365
- status = int(self.status)
366
- except ValueError:
367
- status = 0
368
-
369
- # Check for responses that shouldn't include a body
370
- if status in (204, 304) or 100 <= status < 200 or request_method == "HEAD":
371
- length = 0
372
-
373
- return length
374
-
375
- def _init_decoder(self):
376
- """
377
- Set-up the _decoder attribute if necessary.
378
- """
379
- # Note: content-encoding value should be case-insensitive, per RFC 7230
380
- # Section 3.2
381
- content_encoding = self.headers.get("content-encoding", "").lower()
382
- if self._decoder is None:
383
- if content_encoding in self.CONTENT_DECODERS:
384
- self._decoder = _get_decoder(content_encoding)
385
- elif "," in content_encoding:
386
- encodings = [
387
- e.strip()
388
- for e in content_encoding.split(",")
389
- if e.strip() in self.CONTENT_DECODERS
390
- ]
391
- if len(encodings):
392
- self._decoder = _get_decoder(content_encoding)
393
-
394
- DECODER_ERROR_CLASSES = (IOError, zlib.error)
395
- if brotli is not None:
396
- DECODER_ERROR_CLASSES += (brotli.error,)
397
-
398
- def _decode(self, data, decode_content, flush_decoder):
399
- """
400
- Decode the data passed in and potentially flush the decoder.
401
- """
402
- if not decode_content:
403
- return data
404
-
405
- try:
406
- if self._decoder:
407
- data = self._decoder.decompress(data)
408
- except self.DECODER_ERROR_CLASSES as e:
409
- content_encoding = self.headers.get("content-encoding", "").lower()
410
- raise DecodeError(
411
- "Received response with content-encoding: %s, but "
412
- "failed to decode it." % content_encoding,
413
- e,
414
- )
415
- if flush_decoder:
416
- data += self._flush_decoder()
417
-
418
- return data
419
-
420
- def _flush_decoder(self):
421
- """
422
- Flushes the decoder. Should only be called if the decoder is actually
423
- being used.
424
- """
425
- if self._decoder:
426
- buf = self._decoder.decompress(b"")
427
- return buf + self._decoder.flush()
428
-
429
- return b""
430
-
431
- @contextmanager
432
- def _error_catcher(self):
433
- """
434
- Catch low-level python exceptions, instead re-raising urllib3
435
- variants, so that low-level exceptions are not leaked in the
436
- high-level api.
437
-
438
- On exit, release the connection back to the pool.
439
- """
440
- clean_exit = False
441
-
442
- try:
443
- try:
444
- yield
445
-
446
- except SocketTimeout:
447
- # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but
448
- # there is yet no clean way to get at it from this context.
449
- raise ReadTimeoutError(self._pool, None, "Read timed out.")
450
-
451
- except BaseSSLError as e:
452
- # FIXME: Is there a better way to differentiate between SSLErrors?
453
- if "read operation timed out" not in str(e):
454
- # SSL errors related to framing/MAC get wrapped and reraised here
455
- raise SSLError(e)
456
-
457
- raise ReadTimeoutError(self._pool, None, "Read timed out.")
458
-
459
- except (HTTPException, SocketError) as e:
460
- # This includes IncompleteRead.
461
- raise ProtocolError("Connection broken: %r" % e, e)
462
-
463
- # If no exception is thrown, we should avoid cleaning up
464
- # unnecessarily.
465
- clean_exit = True
466
- finally:
467
- # If we didn't terminate cleanly, we need to throw away our
468
- # connection.
469
- if not clean_exit:
470
- # The response may not be closed but we're not going to use it
471
- # anymore so close it now to ensure that the connection is
472
- # released back to the pool.
473
- if self._original_response:
474
- self._original_response.close()
475
-
476
- # Closing the response may not actually be sufficient to close
477
- # everything, so if we have a hold of the connection close that
478
- # too.
479
- if self._connection:
480
- self._connection.close()
481
-
482
- # If we hold the original response but it's closed now, we should
483
- # return the connection back to the pool.
484
- if self._original_response and self._original_response.isclosed():
485
- self.release_conn()
486
-
487
- def _fp_read(self, amt):
488
- """
489
- Read a response with the thought that reading the number of bytes
490
- larger than can fit in a 32-bit int at a time via SSL in some
491
- known cases leads to an overflow error that has to be prevented
492
- if `amt` or `self.length_remaining` indicate that a problem may
493
- happen.
494
-
495
- The known cases:
496
- * 3.8 <= CPython < 3.9.7 because of a bug
497
- https://github.com/urllib3/urllib3/issues/2513#issuecomment-1152559900.
498
- * urllib3 injected with pyOpenSSL-backed SSL-support.
499
- * CPython < 3.10 only when `amt` does not fit 32-bit int.
500
- """
501
- assert self._fp
502
- c_int_max = 2 ** 31 - 1
503
- if (
504
- (
505
- (amt and amt > c_int_max)
506
- or (self.length_remaining and self.length_remaining > c_int_max)
507
- )
508
- and not util.IS_SECURETRANSPORT
509
- and (util.IS_PYOPENSSL or sys.version_info < (3, 10))
510
- ):
511
- buffer = io.BytesIO()
512
- # Besides `max_chunk_amt` being a maximum chunk size, it
513
- # affects memory overhead of reading a response by this
514
- # method in CPython.
515
- # `c_int_max` equal to 2 GiB - 1 byte is the actual maximum
516
- # chunk size that does not lead to an overflow error, but
517
- # 256 MiB is a compromise.
518
- max_chunk_amt = 2 ** 28
519
- while amt is None or amt != 0:
520
- if amt is not None:
521
- chunk_amt = min(amt, max_chunk_amt)
522
- amt -= chunk_amt
523
- else:
524
- chunk_amt = max_chunk_amt
525
- data = self._fp.read(chunk_amt)
526
- if not data:
527
- break
528
- buffer.write(data)
529
- del data # to reduce peak memory usage by `max_chunk_amt`.
530
- return buffer.getvalue()
531
- else:
532
- # StringIO doesn't like amt=None
533
- return self._fp.read(amt) if amt is not None else self._fp.read()
534
-
535
- def read(self, amt=None, decode_content=None, cache_content=False):
536
- """
537
- Similar to :meth:`http.client.HTTPResponse.read`, but with two additional
538
- parameters: ``decode_content`` and ``cache_content``.
539
-
540
- :param amt:
541
- How much of the content to read. If specified, caching is skipped
542
- because it doesn't make sense to cache partial content as the full
543
- response.
544
-
545
- :param decode_content:
546
- If True, will attempt to decode the body based on the
547
- 'content-encoding' header.
548
-
549
- :param cache_content:
550
- If True, will save the returned data such that the same result is
551
- returned despite of the state of the underlying file object. This
552
- is useful if you want the ``.data`` property to continue working
553
- after having ``.read()`` the file object. (Overridden if ``amt`` is
554
- set.)
555
- """
556
- self._init_decoder()
557
- if decode_content is None:
558
- decode_content = self.decode_content
559
-
560
- if self._fp is None:
561
- return
562
-
563
- flush_decoder = False
564
- fp_closed = getattr(self._fp, "closed", False)
565
-
566
- with self._error_catcher():
567
- data = self._fp_read(amt) if not fp_closed else b""
568
- if amt is None:
569
- flush_decoder = True
570
- else:
571
- cache_content = False
572
- if (
573
- amt != 0 and not data
574
- ): # Platform-specific: Buggy versions of Python.
575
- # Close the connection when no data is returned
576
- #
577
- # This is redundant to what httplib/http.client _should_
578
- # already do. However, versions of python released before
579
- # December 15, 2012 (http://bugs.python.org/issue16298) do
580
- # not properly close the connection in all cases. There is
581
- # no harm in redundantly calling close.
582
- self._fp.close()
583
- flush_decoder = True
584
- if self.enforce_content_length and self.length_remaining not in (
585
- 0,
586
- None,
587
- ):
588
- # This is an edge case that httplib failed to cover due
589
- # to concerns of backward compatibility. We're
590
- # addressing it here to make sure IncompleteRead is
591
- # raised during streaming, so all calls with incorrect
592
- # Content-Length are caught.
593
- raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
594
-
595
- if data:
596
- self._fp_bytes_read += len(data)
597
- if self.length_remaining is not None:
598
- self.length_remaining -= len(data)
599
-
600
- data = self._decode(data, decode_content, flush_decoder)
601
-
602
- if cache_content:
603
- self._body = data
604
-
605
- return data
606
-
607
- def stream(self, amt=2 ** 16, decode_content=None):
608
- """
609
- A generator wrapper for the read() method. A call will block until
610
- ``amt`` bytes have been read from the connection or until the
611
- connection is closed.
612
-
613
- :param amt:
614
- How much of the content to read. The generator will return up to
615
- much data per iteration, but may return less. This is particularly
616
- likely when using compressed data. However, the empty string will
617
- never be returned.
618
-
619
- :param decode_content:
620
- If True, will attempt to decode the body based on the
621
- 'content-encoding' header.
622
- """
623
- if self.chunked and self.supports_chunked_reads():
624
- for line in self.read_chunked(amt, decode_content=decode_content):
625
- yield line
626
- else:
627
- while not is_fp_closed(self._fp):
628
- data = self.read(amt=amt, decode_content=decode_content)
629
-
630
- if data:
631
- yield data
632
-
633
- @classmethod
634
- def from_httplib(ResponseCls, r, **response_kw):
635
- """
636
- Given an :class:`http.client.HTTPResponse` instance ``r``, return a
637
- corresponding :class:`urllib3.response.HTTPResponse` object.
638
-
639
- Remaining parameters are passed to the HTTPResponse constructor, along
640
- with ``original_response=r``.
641
- """
642
- headers = r.msg
643
-
644
- if not isinstance(headers, HTTPHeaderDict):
645
- if six.PY2:
646
- # Python 2.7
647
- headers = HTTPHeaderDict.from_httplib(headers)
648
- else:
649
- headers = HTTPHeaderDict(headers.items())
650
-
651
- # HTTPResponse objects in Python 3 don't have a .strict attribute
652
- strict = getattr(r, "strict", 0)
653
- resp = ResponseCls(
654
- body=r,
655
- headers=headers,
656
- status=r.status,
657
- version=r.version,
658
- reason=r.reason,
659
- strict=strict,
660
- original_response=r,
661
- **response_kw
662
- )
663
- return resp
664
-
665
- # Backwards-compatibility methods for http.client.HTTPResponse
666
- def getheaders(self):
667
- warnings.warn(
668
- "HTTPResponse.getheaders() is deprecated and will be removed "
669
- "in urllib3 v2.1.0. Instead access HTTPResponse.headers directly.",
670
- category=DeprecationWarning,
671
- stacklevel=2,
672
- )
673
- return self.headers
674
-
675
- def getheader(self, name, default=None):
676
- warnings.warn(
677
- "HTTPResponse.getheader() is deprecated and will be removed "
678
- "in urllib3 v2.1.0. Instead use HTTPResponse.headers.get(name, default).",
679
- category=DeprecationWarning,
680
- stacklevel=2,
681
- )
682
- return self.headers.get(name, default)
683
-
684
- # Backwards compatibility for http.cookiejar
685
- def info(self):
686
- return self.headers
687
-
688
- # Overrides from io.IOBase
689
- def close(self):
690
- if not self.closed:
691
- self._fp.close()
692
-
693
- if self._connection:
694
- self._connection.close()
695
-
696
- if not self.auto_close:
697
- io.IOBase.close(self)
698
-
699
- @property
700
- def closed(self):
701
- if not self.auto_close:
702
- return io.IOBase.closed.__get__(self)
703
- elif self._fp is None:
704
- return True
705
- elif hasattr(self._fp, "isclosed"):
706
- return self._fp.isclosed()
707
- elif hasattr(self._fp, "closed"):
708
- return self._fp.closed
709
- else:
710
- return True
711
-
712
- def fileno(self):
713
- if self._fp is None:
714
- raise IOError("HTTPResponse has no file to get a fileno from")
715
- elif hasattr(self._fp, "fileno"):
716
- return self._fp.fileno()
717
- else:
718
- raise IOError(
719
- "The file-like object this HTTPResponse is wrapped "
720
- "around has no file descriptor"
721
- )
722
-
723
- def flush(self):
724
- if (
725
- self._fp is not None
726
- and hasattr(self._fp, "flush")
727
- and not getattr(self._fp, "closed", False)
728
- ):
729
- return self._fp.flush()
730
-
731
- def readable(self):
732
- # This method is required for `io` module compatibility.
733
- return True
734
-
735
- def readinto(self, b):
736
- # This method is required for `io` module compatibility.
737
- temp = self.read(len(b))
738
- if len(temp) == 0:
739
- return 0
740
- else:
741
- b[: len(temp)] = temp
742
- return len(temp)
743
-
744
- def supports_chunked_reads(self):
745
- """
746
- Checks if the underlying file-like object looks like a
747
- :class:`http.client.HTTPResponse` object. We do this by testing for
748
- the fp attribute. If it is present we assume it returns raw chunks as
749
- processed by read_chunked().
750
- """
751
- return hasattr(self._fp, "fp")
752
-
753
- def _update_chunk_length(self):
754
- # First, we'll figure out length of a chunk and then
755
- # we'll try to read it from socket.
756
- if self.chunk_left is not None:
757
- return
758
- line = self._fp.fp.readline()
759
- line = line.split(b";", 1)[0]
760
- try:
761
- self.chunk_left = int(line, 16)
762
- except ValueError:
763
- # Invalid chunked protocol response, abort.
764
- self.close()
765
- raise InvalidChunkLength(self, line)
766
-
767
- def _handle_chunk(self, amt):
768
- returned_chunk = None
769
- if amt is None:
770
- chunk = self._fp._safe_read(self.chunk_left)
771
- returned_chunk = chunk
772
- self._fp._safe_read(2) # Toss the CRLF at the end of the chunk.
773
- self.chunk_left = None
774
- elif amt < self.chunk_left:
775
- value = self._fp._safe_read(amt)
776
- self.chunk_left = self.chunk_left - amt
777
- returned_chunk = value
778
- elif amt == self.chunk_left:
779
- value = self._fp._safe_read(amt)
780
- self._fp._safe_read(2) # Toss the CRLF at the end of the chunk.
781
- self.chunk_left = None
782
- returned_chunk = value
783
- else: # amt > self.chunk_left
784
- returned_chunk = self._fp._safe_read(self.chunk_left)
785
- self._fp._safe_read(2) # Toss the CRLF at the end of the chunk.
786
- self.chunk_left = None
787
- return returned_chunk
788
-
789
- def read_chunked(self, amt=None, decode_content=None):
790
- """
791
- Similar to :meth:`HTTPResponse.read`, but with an additional
792
- parameter: ``decode_content``.
793
-
794
- :param amt:
795
- How much of the content to read. If specified, caching is skipped
796
- because it doesn't make sense to cache partial content as the full
797
- response.
798
-
799
- :param decode_content:
800
- If True, will attempt to decode the body based on the
801
- 'content-encoding' header.
802
- """
803
- self._init_decoder()
804
- # FIXME: Rewrite this method and make it a class with a better structured logic.
805
- if not self.chunked:
806
- raise ResponseNotChunked(
807
- "Response is not chunked. "
808
- "Header 'transfer-encoding: chunked' is missing."
809
- )
810
- if not self.supports_chunked_reads():
811
- raise BodyNotHttplibCompatible(
812
- "Body should be http.client.HTTPResponse like. "
813
- "It should have have an fp attribute which returns raw chunks."
814
- )
815
-
816
- with self._error_catcher():
817
- # Don't bother reading the body of a HEAD request.
818
- if self._original_response and is_response_to_head(self._original_response):
819
- self._original_response.close()
820
- return
821
-
822
- # If a response is already read and closed
823
- # then return immediately.
824
- if self._fp.fp is None:
825
- return
826
-
827
- while True:
828
- self._update_chunk_length()
829
- if self.chunk_left == 0:
830
- break
831
- chunk = self._handle_chunk(amt)
832
- decoded = self._decode(
833
- chunk, decode_content=decode_content, flush_decoder=False
834
- )
835
- if decoded:
836
- yield decoded
837
-
838
- if decode_content:
839
- # On CPython and PyPy, we should never need to flush the
840
- # decoder. However, on Jython we *might* need to, so
841
- # lets defensively do it anyway.
842
- decoded = self._flush_decoder()
843
- if decoded: # Platform-specific: Jython.
844
- yield decoded
845
-
846
- # Chunk content ends with \r\n: discard it.
847
- while True:
848
- line = self._fp.fp.readline()
849
- if not line:
850
- # Some sites may not end with '\r\n'.
851
- break
852
- if line == b"\r\n":
853
- break
854
-
855
- # We read everything; close the "file".
856
- if self._original_response:
857
- self._original_response.close()
858
-
859
- def geturl(self):
860
- """
861
- Returns the URL that was the source of this response.
862
- If the request that generated this response redirected, this method
863
- will return the final redirect location.
864
- """
865
- if self.retries is not None and len(self.retries.history):
866
- return self.retries.history[-1].redirect_location
867
- else:
868
- return self._request_url
869
-
870
- def __iter__(self):
871
- buffer = []
872
- for chunk in self.stream(decode_content=True):
873
- if b"\n" in chunk:
874
- chunk = chunk.split(b"\n")
875
- yield b"".join(buffer) + chunk[0] + b"\n"
876
- for x in chunk[1:-1]:
877
- yield x + b"\n"
878
- if chunk[-1]:
879
- buffer = [chunk[-1]]
880
- else:
881
- buffer = []
882
- else:
883
- buffer.append(chunk)
884
- if buffer:
885
- yield b"".join(buffer)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/BilalSardar/Voice-Cloning/README.md DELETED
@@ -1,13 +0,0 @@
1
- ---
2
- title: Voice Cloning
3
- emoji: ⚡
4
- colorFrom: yellow
5
- colorTo: yellow
6
- sdk: gradio
7
- sdk_version: 3.11
8
- app_file: app.py
9
- pinned: false
10
- license: mit
11
- ---
12
-
13
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CVPR/Example-Echocardiogram-Segmentation/README.md DELETED
@@ -1,45 +0,0 @@
1
- ---
2
- title: Echocardiogram Segmentation
3
- emoji: 🦀
4
- colorFrom: indigo
5
- colorTo: gray
6
- sdk: gradio
7
- app_file: app.py
8
- pinned: false
9
- ---
10
-
11
- # Configuration
12
-
13
- `title`: _string_
14
- Display title for the Space
15
-
16
- `emoji`: _string_
17
- Space emoji (emoji-only character allowed)
18
-
19
- `colorFrom`: _string_
20
- Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
21
-
22
- `colorTo`: _string_
23
- Color for Thumbnail gradient (red, yellow, green, blue, indigo, purple, pink, gray)
24
-
25
- `sdk`: _string_
26
- Can be either `gradio`, `streamlit`, or `static`
27
-
28
- `sdk_version` : _string_
29
- Only applicable for `streamlit` SDK.
30
- See [doc](https://hf.co/docs/hub/spaces) for more info on supported versions.
31
-
32
- `app_file`: _string_
33
- Path to your main application file (which contains either `gradio` or `streamlit` Python code, or `static` html code).
34
- Path is relative to the root of the repository.
35
-
36
- `models`: _List[string]_
37
- HF model IDs (like "gpt2" or "deepset/roberta-base-squad2") used in the Space.
38
- Will be parsed automatically from your code if not specified here.
39
-
40
- `datasets`: _List[string]_
41
- HF dataset IDs (like "common_voice" or "oscar-corpus/OSCAR-2109") used in the Space.
42
- Will be parsed automatically from your code if not specified here.
43
-
44
- `pinned`: _boolean_
45
- Whether the Space stays on top of your list.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CVPR/WALT/mmdet/models/losses/gfocal_loss.py DELETED
@@ -1,188 +0,0 @@
1
- import mmcv
2
- import torch.nn as nn
3
- import torch.nn.functional as F
4
-
5
- from ..builder import LOSSES
6
- from .utils import weighted_loss
7
-
8
-
9
- @mmcv.jit(derivate=True, coderize=True)
10
- @weighted_loss
11
- def quality_focal_loss(pred, target, beta=2.0):
12
- r"""Quality Focal Loss (QFL) is from `Generalized Focal Loss: Learning
13
- Qualified and Distributed Bounding Boxes for Dense Object Detection
14
- <https://arxiv.org/abs/2006.04388>`_.
15
-
16
- Args:
17
- pred (torch.Tensor): Predicted joint representation of classification
18
- and quality (IoU) estimation with shape (N, C), C is the number of
19
- classes.
20
- target (tuple([torch.Tensor])): Target category label with shape (N,)
21
- and target quality label with shape (N,).
22
- beta (float): The beta parameter for calculating the modulating factor.
23
- Defaults to 2.0.
24
-
25
- Returns:
26
- torch.Tensor: Loss tensor with shape (N,).
27
- """
28
- assert len(target) == 2, """target for QFL must be a tuple of two elements,
29
- including category label and quality label, respectively"""
30
- # label denotes the category id, score denotes the quality score
31
- label, score = target
32
-
33
- # negatives are supervised by 0 quality score
34
- pred_sigmoid = pred.sigmoid()
35
- scale_factor = pred_sigmoid
36
- zerolabel = scale_factor.new_zeros(pred.shape)
37
- loss = F.binary_cross_entropy_with_logits(
38
- pred, zerolabel, reduction='none') * scale_factor.pow(beta)
39
-
40
- # FG cat_id: [0, num_classes -1], BG cat_id: num_classes
41
- bg_class_ind = pred.size(1)
42
- pos = ((label >= 0) & (label < bg_class_ind)).nonzero().squeeze(1)
43
- pos_label = label[pos].long()
44
- # positives are supervised by bbox quality (IoU) score
45
- scale_factor = score[pos] - pred_sigmoid[pos, pos_label]
46
- loss[pos, pos_label] = F.binary_cross_entropy_with_logits(
47
- pred[pos, pos_label], score[pos],
48
- reduction='none') * scale_factor.abs().pow(beta)
49
-
50
- loss = loss.sum(dim=1, keepdim=False)
51
- return loss
52
-
53
-
54
- @mmcv.jit(derivate=True, coderize=True)
55
- @weighted_loss
56
- def distribution_focal_loss(pred, label):
57
- r"""Distribution Focal Loss (DFL) is from `Generalized Focal Loss: Learning
58
- Qualified and Distributed Bounding Boxes for Dense Object Detection
59
- <https://arxiv.org/abs/2006.04388>`_.
60
-
61
- Args:
62
- pred (torch.Tensor): Predicted general distribution of bounding boxes
63
- (before softmax) with shape (N, n+1), n is the max value of the
64
- integral set `{0, ..., n}` in paper.
65
- label (torch.Tensor): Target distance label for bounding boxes with
66
- shape (N,).
67
-
68
- Returns:
69
- torch.Tensor: Loss tensor with shape (N,).
70
- """
71
- dis_left = label.long()
72
- dis_right = dis_left + 1
73
- weight_left = dis_right.float() - label
74
- weight_right = label - dis_left.float()
75
- loss = F.cross_entropy(pred, dis_left, reduction='none') * weight_left \
76
- + F.cross_entropy(pred, dis_right, reduction='none') * weight_right
77
- return loss
78
-
79
-
80
- @LOSSES.register_module()
81
- class QualityFocalLoss(nn.Module):
82
- r"""Quality Focal Loss (QFL) is a variant of `Generalized Focal Loss:
83
- Learning Qualified and Distributed Bounding Boxes for Dense Object
84
- Detection <https://arxiv.org/abs/2006.04388>`_.
85
-
86
- Args:
87
- use_sigmoid (bool): Whether sigmoid operation is conducted in QFL.
88
- Defaults to True.
89
- beta (float): The beta parameter for calculating the modulating factor.
90
- Defaults to 2.0.
91
- reduction (str): Options are "none", "mean" and "sum".
92
- loss_weight (float): Loss weight of current loss.
93
- """
94
-
95
- def __init__(self,
96
- use_sigmoid=True,
97
- beta=2.0,
98
- reduction='mean',
99
- loss_weight=1.0):
100
- super(QualityFocalLoss, self).__init__()
101
- assert use_sigmoid is True, 'Only sigmoid in QFL supported now.'
102
- self.use_sigmoid = use_sigmoid
103
- self.beta = beta
104
- self.reduction = reduction
105
- self.loss_weight = loss_weight
106
-
107
- def forward(self,
108
- pred,
109
- target,
110
- weight=None,
111
- avg_factor=None,
112
- reduction_override=None):
113
- """Forward function.
114
-
115
- Args:
116
- pred (torch.Tensor): Predicted joint representation of
117
- classification and quality (IoU) estimation with shape (N, C),
118
- C is the number of classes.
119
- target (tuple([torch.Tensor])): Target category label with shape
120
- (N,) and target quality label with shape (N,).
121
- weight (torch.Tensor, optional): The weight of loss for each
122
- prediction. Defaults to None.
123
- avg_factor (int, optional): Average factor that is used to average
124
- the loss. Defaults to None.
125
- reduction_override (str, optional): The reduction method used to
126
- override the original reduction method of the loss.
127
- Defaults to None.
128
- """
129
- assert reduction_override in (None, 'none', 'mean', 'sum')
130
- reduction = (
131
- reduction_override if reduction_override else self.reduction)
132
- if self.use_sigmoid:
133
- loss_cls = self.loss_weight * quality_focal_loss(
134
- pred,
135
- target,
136
- weight,
137
- beta=self.beta,
138
- reduction=reduction,
139
- avg_factor=avg_factor)
140
- else:
141
- raise NotImplementedError
142
- return loss_cls
143
-
144
-
145
- @LOSSES.register_module()
146
- class DistributionFocalLoss(nn.Module):
147
- r"""Distribution Focal Loss (DFL) is a variant of `Generalized Focal Loss:
148
- Learning Qualified and Distributed Bounding Boxes for Dense Object
149
- Detection <https://arxiv.org/abs/2006.04388>`_.
150
-
151
- Args:
152
- reduction (str): Options are `'none'`, `'mean'` and `'sum'`.
153
- loss_weight (float): Loss weight of current loss.
154
- """
155
-
156
- def __init__(self, reduction='mean', loss_weight=1.0):
157
- super(DistributionFocalLoss, self).__init__()
158
- self.reduction = reduction
159
- self.loss_weight = loss_weight
160
-
161
- def forward(self,
162
- pred,
163
- target,
164
- weight=None,
165
- avg_factor=None,
166
- reduction_override=None):
167
- """Forward function.
168
-
169
- Args:
170
- pred (torch.Tensor): Predicted general distribution of bounding
171
- boxes (before softmax) with shape (N, n+1), n is the max value
172
- of the integral set `{0, ..., n}` in paper.
173
- target (torch.Tensor): Target distance label for bounding boxes
174
- with shape (N,).
175
- weight (torch.Tensor, optional): The weight of loss for each
176
- prediction. Defaults to None.
177
- avg_factor (int, optional): Average factor that is used to average
178
- the loss. Defaults to None.
179
- reduction_override (str, optional): The reduction method used to
180
- override the original reduction method of the loss.
181
- Defaults to None.
182
- """
183
- assert reduction_override in (None, 'none', 'mean', 'sum')
184
- reduction = (
185
- reduction_override if reduction_override else self.reduction)
186
- loss_cls = self.loss_weight * distribution_focal_loss(
187
- pred, target, weight, reduction=reduction, avg_factor=avg_factor)
188
- return loss_cls
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
spaces/CVPR/lama-example/fetch_data/eval_sampler.py DELETED
@@ -1,21 +0,0 @@
1
- import os
2
- import random
3
-
4
-
5
- val_files_path = os.path.abspath('.') + '/places_standard_dataset/original/val/'
6
- val_files = [val_files_path + image for image in os.listdir(val_files_path)]
7
-
8
- print(f'found {len(val_files)} images in {val_files_path}')
9
-
10
- random.shuffle(val_files)
11
- val_files_random = val_files[0:2000]
12
-
13
- list_of_random_val_files = os.path.abspath('.') \
14
- + '/places_standard_dataset/original/eval_random_files.txt'
15
-
16
- print(f'copying 2000 random images to {list_of_random_val_files}')
17
- with open(list_of_random_val_files, 'w') as fw:
18
- for filename in val_files_random:
19
- fw.write(filename+'\n')
20
- print('...done')
21
-