luckylucy.utils.encoding 1.85rc1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,983 @@
|
|
|
1
|
+
# manually added files are at the bottom
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
########################################
|
|
7
|
+
##### START OF base's `.gitignore` #####
|
|
8
|
+
########################################
|
|
9
|
+
# technically including the lines above.
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### VisualStudioCode template
|
|
14
|
+
.vscode/*
|
|
15
|
+
!.vscode/settings.json
|
|
16
|
+
!.vscode/tasks.json
|
|
17
|
+
!.vscode/launch.json
|
|
18
|
+
!.vscode/extensions.json
|
|
19
|
+
!.vscode/*.code-snippets
|
|
20
|
+
|
|
21
|
+
# Local History for Visual Studio Code
|
|
22
|
+
.history/
|
|
23
|
+
|
|
24
|
+
# Built Visual Studio Code Extensions
|
|
25
|
+
*.vsix
|
|
26
|
+
|
|
27
|
+
### Xcode template
|
|
28
|
+
## User settings
|
|
29
|
+
xcuserdata/
|
|
30
|
+
|
|
31
|
+
### VirtualEnv template
|
|
32
|
+
# Virtualenv
|
|
33
|
+
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
|
|
34
|
+
.Python
|
|
35
|
+
[Bb]in
|
|
36
|
+
[Ii]nclude
|
|
37
|
+
[Ll]ib
|
|
38
|
+
[Ll]ib64
|
|
39
|
+
[Ll]ocal
|
|
40
|
+
[Ss]cripts
|
|
41
|
+
pyvenv.cfg
|
|
42
|
+
.venv
|
|
43
|
+
pip-selfcheck.json
|
|
44
|
+
|
|
45
|
+
### Eclipse template
|
|
46
|
+
*.pydevproject
|
|
47
|
+
.metadata
|
|
48
|
+
.gradle
|
|
49
|
+
bin/
|
|
50
|
+
tmp/
|
|
51
|
+
*.tmp
|
|
52
|
+
*.bak
|
|
53
|
+
*.swp
|
|
54
|
+
*~.nib
|
|
55
|
+
local.properties
|
|
56
|
+
.settings/
|
|
57
|
+
.loadpath
|
|
58
|
+
.recommenders
|
|
59
|
+
|
|
60
|
+
# Eclipse Core
|
|
61
|
+
.project
|
|
62
|
+
|
|
63
|
+
# External tool builders
|
|
64
|
+
.externalToolBuilders/
|
|
65
|
+
|
|
66
|
+
# Locally stored "Eclipse launch configurations"
|
|
67
|
+
*.launch
|
|
68
|
+
|
|
69
|
+
# PyDev specific (Python IDE for Eclipse)
|
|
70
|
+
*.pydevproject
|
|
71
|
+
|
|
72
|
+
# CDT-specific (C/C++ Development Tooling)
|
|
73
|
+
.cproject
|
|
74
|
+
|
|
75
|
+
# CDT- autotools
|
|
76
|
+
.autotools
|
|
77
|
+
|
|
78
|
+
# Java annotation processor (APT)
|
|
79
|
+
.factorypath
|
|
80
|
+
|
|
81
|
+
# PDT-specific (PHP Development Tools)
|
|
82
|
+
.buildpath
|
|
83
|
+
|
|
84
|
+
# sbteclipse plugin
|
|
85
|
+
.target
|
|
86
|
+
|
|
87
|
+
# Tern plugin
|
|
88
|
+
.tern-project
|
|
89
|
+
|
|
90
|
+
# TeXlipse plugin
|
|
91
|
+
.texlipse
|
|
92
|
+
|
|
93
|
+
# STS (Spring Tool Suite)
|
|
94
|
+
.springBeans
|
|
95
|
+
|
|
96
|
+
# Code Recommenders
|
|
97
|
+
.recommenders/
|
|
98
|
+
|
|
99
|
+
# Annotation Processing
|
|
100
|
+
.apt_generated/
|
|
101
|
+
.apt_generated_test/
|
|
102
|
+
|
|
103
|
+
# Scala IDE specific (Scala & Java development for Eclipse)
|
|
104
|
+
.cache-main
|
|
105
|
+
.scala_dependencies
|
|
106
|
+
.worksheet
|
|
107
|
+
|
|
108
|
+
# Uncomment this line if you wish to ignore the project description file.
|
|
109
|
+
# Typically, this file would be tracked if it contains build/dependency configurations:
|
|
110
|
+
#.project
|
|
111
|
+
|
|
112
|
+
### Backup template
|
|
113
|
+
*.bak
|
|
114
|
+
*.gho
|
|
115
|
+
*.ori
|
|
116
|
+
*.orig
|
|
117
|
+
*.tmp
|
|
118
|
+
|
|
119
|
+
### Node template
|
|
120
|
+
# Logs
|
|
121
|
+
logs
|
|
122
|
+
*.log
|
|
123
|
+
npm-debug.log*
|
|
124
|
+
yarn-debug.log*
|
|
125
|
+
yarn-error.log*
|
|
126
|
+
pnpm-debug.log*
|
|
127
|
+
lerna-debug.log*
|
|
128
|
+
.pnpm-debug.log*
|
|
129
|
+
|
|
130
|
+
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
131
|
+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
132
|
+
|
|
133
|
+
# Runtime data
|
|
134
|
+
pids
|
|
135
|
+
*.pid
|
|
136
|
+
*.seed
|
|
137
|
+
*.pid.lock
|
|
138
|
+
|
|
139
|
+
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
140
|
+
lib-cov
|
|
141
|
+
|
|
142
|
+
# Coverage directory used by tools like istanbul
|
|
143
|
+
coverage
|
|
144
|
+
*.lcov
|
|
145
|
+
|
|
146
|
+
# nyc test coverage
|
|
147
|
+
.nyc_output
|
|
148
|
+
|
|
149
|
+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
150
|
+
.grunt
|
|
151
|
+
|
|
152
|
+
# Bower dependency directory (https://bower.io/)
|
|
153
|
+
bower_components
|
|
154
|
+
|
|
155
|
+
# node-waf configuration
|
|
156
|
+
.lock-wscript
|
|
157
|
+
|
|
158
|
+
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
159
|
+
build/Release
|
|
160
|
+
|
|
161
|
+
# Dependency directories
|
|
162
|
+
node_modules/
|
|
163
|
+
jspm_packages/
|
|
164
|
+
|
|
165
|
+
# Snowpack dependency directory (https://snowpack.dev/)
|
|
166
|
+
web_modules/
|
|
167
|
+
|
|
168
|
+
# TypeScript cache
|
|
169
|
+
*.tsbuildinfo
|
|
170
|
+
|
|
171
|
+
# Optional npm cache directory
|
|
172
|
+
.npm
|
|
173
|
+
|
|
174
|
+
# Optional eslint cache
|
|
175
|
+
.eslintcache
|
|
176
|
+
|
|
177
|
+
# Optional stylelint cache
|
|
178
|
+
.stylelintcache
|
|
179
|
+
|
|
180
|
+
# Microbundle cache
|
|
181
|
+
.rpt2_cache/
|
|
182
|
+
.rts2_cache_cjs/
|
|
183
|
+
.rts2_cache_es/
|
|
184
|
+
.rts2_cache_umd/
|
|
185
|
+
|
|
186
|
+
# Optional REPL history
|
|
187
|
+
.node_repl_history
|
|
188
|
+
|
|
189
|
+
# Output of 'npm pack'
|
|
190
|
+
*.tgz
|
|
191
|
+
|
|
192
|
+
# Yarn Integrity file
|
|
193
|
+
.yarn-integrity
|
|
194
|
+
|
|
195
|
+
# dotenv environment variable files
|
|
196
|
+
.env
|
|
197
|
+
.env.development.local
|
|
198
|
+
.env.test.local
|
|
199
|
+
.env.production.local
|
|
200
|
+
.env.local
|
|
201
|
+
|
|
202
|
+
# parcel-bundler cache (https://parceljs.org/)
|
|
203
|
+
.cache
|
|
204
|
+
.parcel-cache
|
|
205
|
+
|
|
206
|
+
# Next.js build output
|
|
207
|
+
.next
|
|
208
|
+
out
|
|
209
|
+
|
|
210
|
+
# Nuxt.js build / generate output
|
|
211
|
+
.nuxt
|
|
212
|
+
dist
|
|
213
|
+
|
|
214
|
+
# Gatsby files
|
|
215
|
+
.cache/
|
|
216
|
+
# Comment in the public line in if your project uses Gatsby and not Next.js
|
|
217
|
+
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
218
|
+
# public
|
|
219
|
+
|
|
220
|
+
# vuepress build output
|
|
221
|
+
.vuepress/dist
|
|
222
|
+
|
|
223
|
+
# vuepress v2.x temp and cache directory
|
|
224
|
+
.temp
|
|
225
|
+
.cache
|
|
226
|
+
|
|
227
|
+
# vitepress build output
|
|
228
|
+
**/.vitepress/dist
|
|
229
|
+
|
|
230
|
+
# vitepress cache directory
|
|
231
|
+
**/.vitepress/cache
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
# Docusaurus cache and generated files
|
|
235
|
+
.docusaurus
|
|
236
|
+
|
|
237
|
+
# Serverless directories
|
|
238
|
+
.serverless/
|
|
239
|
+
|
|
240
|
+
# FuseBox cache
|
|
241
|
+
.fusebox/
|
|
242
|
+
|
|
243
|
+
# DynamoDB Local files
|
|
244
|
+
.dynamodb/
|
|
245
|
+
|
|
246
|
+
# TernJS port file
|
|
247
|
+
.tern-port
|
|
248
|
+
|
|
249
|
+
# Stores VSCode versions used for testing VSCode extensions
|
|
250
|
+
.vscode-test
|
|
251
|
+
|
|
252
|
+
# yarn v2
|
|
253
|
+
.yarn/cache
|
|
254
|
+
.yarn/unplugged
|
|
255
|
+
.yarn/build-state.yml
|
|
256
|
+
.yarn/install-state.gz
|
|
257
|
+
.pnp.*
|
|
258
|
+
|
|
259
|
+
### Windows template
|
|
260
|
+
# Windows thumbnail cache files
|
|
261
|
+
Thumbs.db
|
|
262
|
+
Thumbs.db:encryptable
|
|
263
|
+
ehthumbs.db
|
|
264
|
+
ehthumbs_vista.db
|
|
265
|
+
|
|
266
|
+
# Dump file
|
|
267
|
+
*.stackdump
|
|
268
|
+
|
|
269
|
+
# Folder config file
|
|
270
|
+
[Dd]esktop.ini
|
|
271
|
+
|
|
272
|
+
# Recycle Bin used on file shares
|
|
273
|
+
$RECYCLE.BIN/
|
|
274
|
+
|
|
275
|
+
# Windows Installer files
|
|
276
|
+
*.cab
|
|
277
|
+
*.msi
|
|
278
|
+
*.msix
|
|
279
|
+
*.msm
|
|
280
|
+
*.msp
|
|
281
|
+
|
|
282
|
+
# Windows shortcuts
|
|
283
|
+
*.lnk
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
# Created by .ignore support plugin (hsz.mobi)
|
|
287
|
+
### JetBrains template
|
|
288
|
+
# See also: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839-How-to-manage-projects-under-Version-Control-Systems
|
|
289
|
+
# Taken from: https://github.com/github/gitignore/blob/dcc0fc7bc2b5ba480cf117ad1be31bafceeaff46/Global/JetBrains.gitignore
|
|
290
|
+
# Covers JetBrains IDEs: IntelliJ, GoLand, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
|
291
|
+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
292
|
+
|
|
293
|
+
# User-specific stuff
|
|
294
|
+
.idea/**/workspace.xml
|
|
295
|
+
.idea/**/tasks.xml
|
|
296
|
+
.idea/**/usage.statistics.xml
|
|
297
|
+
.idea/**/dictionaries
|
|
298
|
+
.idea/**/shelf
|
|
299
|
+
|
|
300
|
+
# AWS User-specific
|
|
301
|
+
.idea/**/aws.xml
|
|
302
|
+
|
|
303
|
+
# Generated files
|
|
304
|
+
.idea/**/contentModel.xml
|
|
305
|
+
|
|
306
|
+
# Sensitive or high-churn files
|
|
307
|
+
.idea/**/dataSources/
|
|
308
|
+
.idea/**/dataSources.ids
|
|
309
|
+
.idea/**/dataSources.local.xml
|
|
310
|
+
.idea/**/sqlDataSources.xml
|
|
311
|
+
.idea/**/dynamic.xml
|
|
312
|
+
.idea/**/uiDesigner.xml
|
|
313
|
+
.idea/**/dbnavigator.xml
|
|
314
|
+
|
|
315
|
+
# Gradle
|
|
316
|
+
.idea/**/gradle.xml
|
|
317
|
+
.idea/**/libraries
|
|
318
|
+
|
|
319
|
+
# Gradle and Maven with auto-import
|
|
320
|
+
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
321
|
+
# since they will be recreated, and may cause churn. Uncomment if using
|
|
322
|
+
# auto-import.
|
|
323
|
+
.idea/artifacts
|
|
324
|
+
.idea/compiler.xml
|
|
325
|
+
.idea/jarRepositories.xml
|
|
326
|
+
.idea/modules.xml
|
|
327
|
+
.idea/*.iml
|
|
328
|
+
.idea/modules
|
|
329
|
+
*.iml
|
|
330
|
+
*.ipr
|
|
331
|
+
|
|
332
|
+
# CMake
|
|
333
|
+
cmake-build-*/
|
|
334
|
+
|
|
335
|
+
# Mongo Explorer plugin
|
|
336
|
+
.idea/**/mongoSettings.xml
|
|
337
|
+
|
|
338
|
+
# File-based project format
|
|
339
|
+
*.iws
|
|
340
|
+
|
|
341
|
+
## Plugin-specific files
|
|
342
|
+
# IntelliJ
|
|
343
|
+
out/
|
|
344
|
+
|
|
345
|
+
# mpeltonen/sbt-idea plugin
|
|
346
|
+
.idea_modules/
|
|
347
|
+
|
|
348
|
+
# JIRA plugin
|
|
349
|
+
atlassian-ide-plugin.xml
|
|
350
|
+
|
|
351
|
+
# Cursive Clojure plugin
|
|
352
|
+
.idea/replstate.xml
|
|
353
|
+
|
|
354
|
+
# SonarLint plugin
|
|
355
|
+
.idea/sonarlint/
|
|
356
|
+
# see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119
|
|
357
|
+
.idea/sonarlint.xml
|
|
358
|
+
|
|
359
|
+
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
360
|
+
com_crashlytics_export_strings.xml
|
|
361
|
+
crashlytics.properties
|
|
362
|
+
crashlytics-build.properties
|
|
363
|
+
fabric.properties
|
|
364
|
+
|
|
365
|
+
# Editor-based HTTP Client
|
|
366
|
+
.idea/httpRequests
|
|
367
|
+
http-client.private.env.json
|
|
368
|
+
|
|
369
|
+
# Android studio 3.1+ serialized cache file
|
|
370
|
+
.idea/caches/build_file_checksums.ser
|
|
371
|
+
|
|
372
|
+
# Apifox Helper cache
|
|
373
|
+
.idea/.cache/.Apifox_Helper
|
|
374
|
+
.idea/ApifoxUploaderProjectSetting.xml
|
|
375
|
+
|
|
376
|
+
# Github Copilot persisted session migrations, see: https://github.com/microsoft/copilot-intellij-feedback/issues/712#issuecomment-3322062215
|
|
377
|
+
.idea/**/copilot.data.migration.*.xml
|
|
378
|
+
|
|
379
|
+
### Linux template
|
|
380
|
+
*~
|
|
381
|
+
|
|
382
|
+
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
383
|
+
.fuse_hidden*
|
|
384
|
+
|
|
385
|
+
# KDE directory preferences
|
|
386
|
+
.directory
|
|
387
|
+
|
|
388
|
+
# Linux trash folder which might appear on any partition or disk
|
|
389
|
+
.Trash-*
|
|
390
|
+
|
|
391
|
+
# .nfs files are created when an open file is removed but is still being accessed
|
|
392
|
+
.nfs*
|
|
393
|
+
|
|
394
|
+
### Hugo template
|
|
395
|
+
# Generated files by hugo
|
|
396
|
+
/public/
|
|
397
|
+
/resources/_gen/
|
|
398
|
+
/assets/jsconfig.json
|
|
399
|
+
hugo_stats.json
|
|
400
|
+
|
|
401
|
+
# Executable may be added to repository
|
|
402
|
+
hugo.exe
|
|
403
|
+
hugo.darwin
|
|
404
|
+
hugo.linux
|
|
405
|
+
|
|
406
|
+
# Temporary lock file while building
|
|
407
|
+
/.hugo_build.lock
|
|
408
|
+
|
|
409
|
+
### Example user template template
|
|
410
|
+
### Example user template
|
|
411
|
+
|
|
412
|
+
# IntelliJ project files
|
|
413
|
+
#.idea
|
|
414
|
+
*.iml
|
|
415
|
+
out
|
|
416
|
+
gen
|
|
417
|
+
### Vim template
|
|
418
|
+
# Swap
|
|
419
|
+
[._]*.s[a-v][a-z]
|
|
420
|
+
!*.svg # comment out if you don't need vector files
|
|
421
|
+
[._]*.sw[a-p]
|
|
422
|
+
[._]s[a-rt-v][a-z]
|
|
423
|
+
[._]ss[a-gi-z]
|
|
424
|
+
[._]sw[a-p]
|
|
425
|
+
|
|
426
|
+
# Session
|
|
427
|
+
Session.vim
|
|
428
|
+
Sessionx.vim
|
|
429
|
+
|
|
430
|
+
# Temporary
|
|
431
|
+
.netrwhist
|
|
432
|
+
*~
|
|
433
|
+
# Auto-generated tag files
|
|
434
|
+
tags
|
|
435
|
+
# Persistent undo
|
|
436
|
+
[._]*.un~
|
|
437
|
+
|
|
438
|
+
### Syncthing template
|
|
439
|
+
# Syncthing caches
|
|
440
|
+
.stversions
|
|
441
|
+
|
|
442
|
+
### macOS template
|
|
443
|
+
# General
|
|
444
|
+
.DS_Store
|
|
445
|
+
.AppleDouble
|
|
446
|
+
.LSOverride
|
|
447
|
+
|
|
448
|
+
# Icon must end with two \r
|
|
449
|
+
Icon
|
|
450
|
+
|
|
451
|
+
# Thumbnails
|
|
452
|
+
._*
|
|
453
|
+
|
|
454
|
+
# Files that might appear in the root of a volume
|
|
455
|
+
.DocumentRevisions-V100
|
|
456
|
+
.fseventsd
|
|
457
|
+
.Spotlight-V100
|
|
458
|
+
.TemporaryItems
|
|
459
|
+
.Trashes
|
|
460
|
+
.VolumeIcon.icns
|
|
461
|
+
.com.apple.timemachine.donotpresent
|
|
462
|
+
|
|
463
|
+
# Directories potentially created on remote AFP share
|
|
464
|
+
.AppleDB
|
|
465
|
+
.AppleDesktop
|
|
466
|
+
Network Trash Folder
|
|
467
|
+
Temporary Items
|
|
468
|
+
.apdisk
|
|
469
|
+
|
|
470
|
+
### Python template
|
|
471
|
+
# Byte-compiled / optimized / DLL files
|
|
472
|
+
__pycache__/
|
|
473
|
+
*.py[codz]
|
|
474
|
+
*.py[cod]
|
|
475
|
+
*$py.class
|
|
476
|
+
|
|
477
|
+
# C extensions
|
|
478
|
+
*.so
|
|
479
|
+
|
|
480
|
+
# Distribution / packaging
|
|
481
|
+
.Python
|
|
482
|
+
env/
|
|
483
|
+
build/
|
|
484
|
+
develop-eggs/
|
|
485
|
+
dist/
|
|
486
|
+
downloads/
|
|
487
|
+
eggs/
|
|
488
|
+
.eggs/
|
|
489
|
+
lib/
|
|
490
|
+
lib64/
|
|
491
|
+
parts/
|
|
492
|
+
sdist/
|
|
493
|
+
var/
|
|
494
|
+
wheels/
|
|
495
|
+
share/python-wheels/
|
|
496
|
+
*.egg-info/
|
|
497
|
+
.installed.cfg
|
|
498
|
+
*.egg
|
|
499
|
+
MANIFEST
|
|
500
|
+
|
|
501
|
+
# PyInstaller
|
|
502
|
+
# Usually these files are written by a python script from a template
|
|
503
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
504
|
+
*.manifest
|
|
505
|
+
*.spec
|
|
506
|
+
|
|
507
|
+
# Installer logs
|
|
508
|
+
pip-log.txt
|
|
509
|
+
pip-delete-this-directory.txt
|
|
510
|
+
|
|
511
|
+
# Unit test / coverage reports
|
|
512
|
+
htmlcov/
|
|
513
|
+
.tox/
|
|
514
|
+
.nox/
|
|
515
|
+
.coverage
|
|
516
|
+
.coverage.*
|
|
517
|
+
.cache
|
|
518
|
+
nosetests.xml
|
|
519
|
+
coverage.xml
|
|
520
|
+
*,cover
|
|
521
|
+
*.cover
|
|
522
|
+
*.py.cover
|
|
523
|
+
*.py,cover
|
|
524
|
+
.hypothesis/
|
|
525
|
+
.pytest_cache/
|
|
526
|
+
cover/
|
|
527
|
+
|
|
528
|
+
# Translations
|
|
529
|
+
*.mo
|
|
530
|
+
*.pot
|
|
531
|
+
|
|
532
|
+
# Django stuff:
|
|
533
|
+
*.log
|
|
534
|
+
local_settings.py
|
|
535
|
+
db.sqlite3
|
|
536
|
+
db.sqlite3-journal
|
|
537
|
+
|
|
538
|
+
# Flask stuff:
|
|
539
|
+
instance/
|
|
540
|
+
.webassets-cache
|
|
541
|
+
|
|
542
|
+
# Scrapy stuff:
|
|
543
|
+
.scrapy
|
|
544
|
+
|
|
545
|
+
# Sphinx documentation
|
|
546
|
+
docs/_build/
|
|
547
|
+
|
|
548
|
+
# PyBuilder
|
|
549
|
+
.pybuilder/
|
|
550
|
+
target/
|
|
551
|
+
|
|
552
|
+
# IPython/Jupyter Notebook
|
|
553
|
+
.ipynb_checkpoints
|
|
554
|
+
|
|
555
|
+
# IPython
|
|
556
|
+
profile_default/
|
|
557
|
+
ipython_config.py
|
|
558
|
+
|
|
559
|
+
# pyenv
|
|
560
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
561
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
562
|
+
.python-version
|
|
563
|
+
|
|
564
|
+
# pipenv
|
|
565
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
566
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
567
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
568
|
+
# install all needed dependencies.
|
|
569
|
+
#Pipfile.lock
|
|
570
|
+
|
|
571
|
+
# UV
|
|
572
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
573
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
574
|
+
# commonly ignored for libraries.
|
|
575
|
+
#uv.lock
|
|
576
|
+
|
|
577
|
+
# poetry
|
|
578
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
579
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
580
|
+
# commonly ignored for libraries.
|
|
581
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
582
|
+
#poetry.lock
|
|
583
|
+
#poetry.toml
|
|
584
|
+
|
|
585
|
+
# pdm
|
|
586
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
587
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
588
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
589
|
+
#pdm.lock
|
|
590
|
+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
|
|
591
|
+
# in version control.
|
|
592
|
+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
|
|
593
|
+
.pdm.toml
|
|
594
|
+
.pdm-python
|
|
595
|
+
.pdm-build/
|
|
596
|
+
|
|
597
|
+
# pixi
|
|
598
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
599
|
+
#pixi.lock
|
|
600
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
601
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
602
|
+
.pixi
|
|
603
|
+
|
|
604
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
605
|
+
__pypackages__/
|
|
606
|
+
|
|
607
|
+
# Celery files
|
|
608
|
+
# celery beat schedule file
|
|
609
|
+
celerybeat-schedule
|
|
610
|
+
# celery PID (makes sure only on scheduler runs)
|
|
611
|
+
celerybeat.pid
|
|
612
|
+
|
|
613
|
+
# SageMath parsed files
|
|
614
|
+
*.sage.py
|
|
615
|
+
|
|
616
|
+
# Environments
|
|
617
|
+
## dotenv
|
|
618
|
+
.env
|
|
619
|
+
env/
|
|
620
|
+
**/.env
|
|
621
|
+
/.env
|
|
622
|
+
env.bak/
|
|
623
|
+
|
|
624
|
+
## virtualenv
|
|
625
|
+
.venv/
|
|
626
|
+
venv/
|
|
627
|
+
ENV/
|
|
628
|
+
*.venv/
|
|
629
|
+
venv.bak/
|
|
630
|
+
|
|
631
|
+
# Spyder project settings
|
|
632
|
+
.spyderproject
|
|
633
|
+
.spyproject
|
|
634
|
+
|
|
635
|
+
# Rope project settings
|
|
636
|
+
.ropeproject
|
|
637
|
+
|
|
638
|
+
### Example user template template
|
|
639
|
+
### Example user template
|
|
640
|
+
|
|
641
|
+
# mkdocs documentation
|
|
642
|
+
/site
|
|
643
|
+
|
|
644
|
+
# mypy
|
|
645
|
+
.mypy_cache/
|
|
646
|
+
.dmypy.json
|
|
647
|
+
dmypy.json
|
|
648
|
+
|
|
649
|
+
# Pyre type checker
|
|
650
|
+
.pyre/
|
|
651
|
+
|
|
652
|
+
# pytype static type analyzer
|
|
653
|
+
.pytype/
|
|
654
|
+
|
|
655
|
+
# Cython debug symbols
|
|
656
|
+
cython_debug/
|
|
657
|
+
|
|
658
|
+
# IntelliJ project files
|
|
659
|
+
#.idea
|
|
660
|
+
*.iml
|
|
661
|
+
out
|
|
662
|
+
gen
|
|
663
|
+
|
|
664
|
+
# PyCharm
|
|
665
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
666
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
667
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
668
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
669
|
+
#.idea/
|
|
670
|
+
|
|
671
|
+
# Visual Studio Code
|
|
672
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
673
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
674
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
675
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
676
|
+
# .vscode/
|
|
677
|
+
|
|
678
|
+
|
|
679
|
+
### AI Shizzle
|
|
680
|
+
|
|
681
|
+
# Abstra
|
|
682
|
+
# Abstra is an AI-powered process automation framework.
|
|
683
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
684
|
+
# Learn more at https://abstra.io/docs
|
|
685
|
+
.abstra/
|
|
686
|
+
|
|
687
|
+
# Cursor
|
|
688
|
+
# Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
|
|
689
|
+
# exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
|
|
690
|
+
# refer to https://docs.cursor.com/context/ignore-files
|
|
691
|
+
.cursorignore
|
|
692
|
+
.cursorindexingignore
|
|
693
|
+
|
|
694
|
+
# Marimo
|
|
695
|
+
marimo/_static/
|
|
696
|
+
marimo/_lsp/
|
|
697
|
+
__marimo__/
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
### Rust
|
|
701
|
+
# Generated by Cargo
|
|
702
|
+
# will have compiled files and executables
|
|
703
|
+
debug
|
|
704
|
+
target
|
|
705
|
+
|
|
706
|
+
# These are backup files generated by rustfmt
|
|
707
|
+
**/*.rs.bk
|
|
708
|
+
|
|
709
|
+
# MSVC Windows builds of rustc generate these, which store debugging information
|
|
710
|
+
*.pdb
|
|
711
|
+
|
|
712
|
+
# Generated by cargo mutants
|
|
713
|
+
# Contains mutation testing data
|
|
714
|
+
**/mutants.out*/
|
|
715
|
+
|
|
716
|
+
# RustRover
|
|
717
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
718
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
719
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
720
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
721
|
+
#.idea/
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
### GPG template
|
|
725
|
+
secring.*
|
|
726
|
+
|
|
727
|
+
######################
|
|
728
|
+
### Manually added ###
|
|
729
|
+
######################
|
|
730
|
+
|
|
731
|
+
# git files
|
|
732
|
+
*.orig
|
|
733
|
+
|
|
734
|
+
# Ruff stuff:
|
|
735
|
+
.ruff_cache/
|
|
736
|
+
|
|
737
|
+
# PyPI configuration file
|
|
738
|
+
.pypirc
|
|
739
|
+
|
|
740
|
+
# backup and local stuff
|
|
741
|
+
**/*.local
|
|
742
|
+
**/*.local.*
|
|
743
|
+
**/*.bak
|
|
744
|
+
**/*.bak.*
|
|
745
|
+
|
|
746
|
+
# JetBrains non-`.idea` run configurations
|
|
747
|
+
# # disallow custom but not local ones.
|
|
748
|
+
!.run/*.run.xml
|
|
749
|
+
.run/*local*.run.xml
|
|
750
|
+
|
|
751
|
+
# temporary files
|
|
752
|
+
**/tmp.py
|
|
753
|
+
**/*.tmp.*
|
|
754
|
+
**/*.tmp
|
|
755
|
+
**/tmp.*
|
|
756
|
+
|
|
757
|
+
# subsplit (multi-repo)
|
|
758
|
+
.subsplit
|
|
759
|
+
.subsplit/
|
|
760
|
+
**/.subsplit
|
|
761
|
+
**/.subsplit/
|
|
762
|
+
|
|
763
|
+
# docker
|
|
764
|
+
docker-compose.override.yml
|
|
765
|
+
docker-compose.production.yml
|
|
766
|
+
|
|
767
|
+
# typical files
|
|
768
|
+
somewhere.py
|
|
769
|
+
**/somewhere.py
|
|
770
|
+
|
|
771
|
+
# Node, in subfolders
|
|
772
|
+
**/node_modules/
|
|
773
|
+
|
|
774
|
+
# Environment in custom-ish formats
|
|
775
|
+
**/*.env
|
|
776
|
+
**/*.env*
|
|
777
|
+
**/*.env.*
|
|
778
|
+
!/.env.example
|
|
779
|
+
!**/*.example.env
|
|
780
|
+
!ai/.env.example
|
|
781
|
+
|
|
782
|
+
# Misc stuff
|
|
783
|
+
certs/
|
|
784
|
+
/docker-compose.production.yml
|
|
785
|
+
**/gitinfo_values.py
|
|
786
|
+
**/gitinfo_values.pye
|
|
787
|
+
**/*.swo
|
|
788
|
+
**/.DS_Store
|
|
789
|
+
|
|
790
|
+
# vue preset
|
|
791
|
+
/dist
|
|
792
|
+
|
|
793
|
+
/tests/e2e/reports/
|
|
794
|
+
selenium-debug.log
|
|
795
|
+
chromedriver.log
|
|
796
|
+
geckodriver.log
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
# local env files
|
|
800
|
+
.env.local
|
|
801
|
+
.env.*.local
|
|
802
|
+
|
|
803
|
+
# Logs
|
|
804
|
+
logs
|
|
805
|
+
*.log
|
|
806
|
+
npm-debug.log*
|
|
807
|
+
yarn-debug.log*
|
|
808
|
+
yarn-error.log*
|
|
809
|
+
pnpm-debug.log*
|
|
810
|
+
lerna-debug.log*
|
|
811
|
+
|
|
812
|
+
# filesystem/npm crap
|
|
813
|
+
node_modules
|
|
814
|
+
node_modules.*.bak
|
|
815
|
+
node_modules.bak.*
|
|
816
|
+
dist-ssr
|
|
817
|
+
|
|
818
|
+
# test suit results
|
|
819
|
+
/cypress/videos/
|
|
820
|
+
/cypress/screenshots/
|
|
821
|
+
|
|
822
|
+
# Editor directories and files
|
|
823
|
+
.vscode/*
|
|
824
|
+
!.vscode/extensions.json
|
|
825
|
+
*.suo
|
|
826
|
+
*.ntvs*
|
|
827
|
+
*.njsproj
|
|
828
|
+
*.sln
|
|
829
|
+
*.sw?
|
|
830
|
+
|
|
831
|
+
*.tsbuildinfo
|
|
832
|
+
|
|
833
|
+
.eslintcache
|
|
834
|
+
|
|
835
|
+
# JetBrains (PyCharm, IntelliJ, etc.)
|
|
836
|
+
#.idea
|
|
837
|
+
# # this was ignored before, so I rather keep it ignored for now.
|
|
838
|
+
.idea/**/vcs.xml
|
|
839
|
+
.idea/**/jsLibraryMappings.xml
|
|
840
|
+
# ACTUALLY I DON'T LIKE THIS, IT'S SCARY!
|
|
841
|
+
.idea
|
|
842
|
+
# # allow the base and project (previous "user") word lists/dictionaries:
|
|
843
|
+
!.idea/dictionaries/base.xml
|
|
844
|
+
!.idea/dictionaries/project.xml
|
|
845
|
+
!.idea/dictionaries/user.xml
|
|
846
|
+
# # allow run configurations in the standard directory
|
|
847
|
+
!/.idea/runConfigurations
|
|
848
|
+
# # but not local ones.
|
|
849
|
+
/.idea/runConfigurations/*local*.run.xml
|
|
850
|
+
|
|
851
|
+
# Cypress
|
|
852
|
+
/cypress/videos/
|
|
853
|
+
/cypress/screenshots/
|
|
854
|
+
|
|
855
|
+
# Vitest
|
|
856
|
+
__screenshots__/
|
|
857
|
+
|
|
858
|
+
# Vite
|
|
859
|
+
*.timestamp-*-*.mjs
|
|
860
|
+
|
|
861
|
+
test-results/
|
|
862
|
+
playwright-report/
|
|
863
|
+
|
|
864
|
+
**/.spacetimedb.master-key.txt
|
|
865
|
+
**/.spacetimedb.master-key.*.txt
|
|
866
|
+
!**/.spacetimedb.master-key.example.txt
|
|
867
|
+
**/spacetime.local.json
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
# Yarn 4
|
|
871
|
+
# Yarn PnP
|
|
872
|
+
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
|
|
873
|
+
|
|
874
|
+
.pnp.*
|
|
875
|
+
**/.pnp.*
|
|
876
|
+
|
|
877
|
+
.yarn/*
|
|
878
|
+
**/.yarn/*
|
|
879
|
+
|
|
880
|
+
!.yarn/patches
|
|
881
|
+
!**/.yarn/patches
|
|
882
|
+
|
|
883
|
+
!.yarn/plugins
|
|
884
|
+
!**/.yarn/plugins
|
|
885
|
+
|
|
886
|
+
!.yarn/releases
|
|
887
|
+
!**/.yarn/releases
|
|
888
|
+
|
|
889
|
+
!.yarn/sdks
|
|
890
|
+
!**/.yarn/sdks
|
|
891
|
+
|
|
892
|
+
!.yarn/versions
|
|
893
|
+
!**/.yarn/versions
|
|
894
|
+
|
|
895
|
+
# # inside .yarn, so should already be ignored, but make sure to not accidentally add big ass zip of node modules.
|
|
896
|
+
install-state.gz
|
|
897
|
+
**/install-state.gz
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
# generic foo.local.bar files
|
|
901
|
+
*.local
|
|
902
|
+
**/*.local.*
|
|
903
|
+
!**/*.local.example.*
|
|
904
|
+
|
|
905
|
+
# cache
|
|
906
|
+
.cache/
|
|
907
|
+
|
|
908
|
+
# AI stuff
|
|
909
|
+
.playwright-mcp/
|
|
910
|
+
|
|
911
|
+
# AI folder
|
|
912
|
+
ai/git/pending-commit.md
|
|
913
|
+
ai/git/rebase-msg-*.md
|
|
914
|
+
ai/git/rebase-msg.md
|
|
915
|
+
**/ai/git/pending-commit.md
|
|
916
|
+
**/ai/git/rebase-msg-*.md
|
|
917
|
+
**/ai/git/rebase-msg.md
|
|
918
|
+
|
|
919
|
+
# AI docs: api/webpage downloads
|
|
920
|
+
**/ai/apis/
|
|
921
|
+
|
|
922
|
+
# Scripts folder
|
|
923
|
+
!/scripts/
|
|
924
|
+
!**/ai/scripts/
|
|
925
|
+
|
|
926
|
+
!/scripts/**
|
|
927
|
+
!**/ai/scripts/**
|
|
928
|
+
|
|
929
|
+
/scripts/.venv
|
|
930
|
+
**/ai/scripts/.venv
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
# Don't ignore the libs we've written ourselves.
|
|
934
|
+
!src/lib/
|
|
935
|
+
|
|
936
|
+
# Don't ignore .gitkeep
|
|
937
|
+
!**/.gitkeep
|
|
938
|
+
|
|
939
|
+
# coverage output
|
|
940
|
+
coverage/
|
|
941
|
+
|
|
942
|
+
# python
|
|
943
|
+
**/__pycache__
|
|
944
|
+
|
|
945
|
+
# browser extensions (build/pack output, basically zip files of stuff already in this repo; should only be a release workflow)
|
|
946
|
+
# # Thunderbird (and Firefox?)
|
|
947
|
+
**/*.xpi
|
|
948
|
+
# # Chrom(ium)(-like)
|
|
949
|
+
**/*.crx
|
|
950
|
+
# # Opera
|
|
951
|
+
**/*.nex
|
|
952
|
+
|
|
953
|
+
# local AI scripting config stuff
|
|
954
|
+
# # flag files
|
|
955
|
+
**/ai/.debug
|
|
956
|
+
**/ai/°base/.debug
|
|
957
|
+
# # output folders
|
|
958
|
+
**/ai/output/debug/
|
|
959
|
+
**/ai/°base/output/debug/
|
|
960
|
+
**/ai/output/.pending-decisions/
|
|
961
|
+
**/ai/°base/output/.pending-decisions/
|
|
962
|
+
# # `split.py` recovery state output
|
|
963
|
+
**/.rebase-recovery.tmp
|
|
964
|
+
# # commit message
|
|
965
|
+
**/pending-commit.md
|
|
966
|
+
# # rebase messages
|
|
967
|
+
**/rebase-msg*.md
|
|
968
|
+
**/rebase-todo.sh
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
######################################
|
|
972
|
+
##### END OF base's `.gitignore` #####
|
|
973
|
+
######################################
|
|
974
|
+
|
|
975
|
+
secret_logins.py
|
|
976
|
+
secret_logins.pyc
|
|
977
|
+
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
# automatically added unversioned files:
|
|
981
|
+
|
|
982
|
+
# generated by scripts/build_modules.py
|
|
983
|
+
/requirements.txt
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: luckylucy.utils.encoding
|
|
3
|
+
Version: 1.85.pre1
|
|
4
|
+
Summary: A collection of utilities I use across different projects (luckylucy.utils.encoding)
|
|
5
|
+
Project-URL: Homepage, https://github.com/luckydonald/luckylucy.utils
|
|
6
|
+
Author-email: luckylucy <luckylucy.utils._.code@luckydonald.de>
|
|
7
|
+
License-Expression: GPL-2.0-or-later
|
|
8
|
+
Requires-Python: >=2.7
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# /// script
|
|
3
|
+
# requires-python = ">=2.7"
|
|
4
|
+
# dependencies = []
|
|
5
|
+
#
|
|
6
|
+
# [tool.luckylucy]
|
|
7
|
+
# module = true
|
|
8
|
+
# ///
|
|
9
|
+
from __future__ import unicode_literals
|
|
10
|
+
import sys
|
|
11
|
+
|
|
12
|
+
__author__ = 'luckydonald'
|
|
13
|
+
|
|
14
|
+
if sys.version < '3': # python 2.7
|
|
15
|
+
# noinspection PyUnresolvedReferences
|
|
16
|
+
text_type = unicode
|
|
17
|
+
binary_type = str
|
|
18
|
+
native_type = binary_type
|
|
19
|
+
unicode_type = text_type # because I can't remember to use text_type
|
|
20
|
+
# noinspection PyUnresolvedReferences
|
|
21
|
+
long_int = long
|
|
22
|
+
|
|
23
|
+
def to_native(x):
|
|
24
|
+
return to_binary(x)
|
|
25
|
+
# end def
|
|
26
|
+
else: # python 3
|
|
27
|
+
text_type = str
|
|
28
|
+
binary_type = bytes
|
|
29
|
+
native_type = text_type
|
|
30
|
+
unicode_type = text_type
|
|
31
|
+
long_int = int
|
|
32
|
+
|
|
33
|
+
def to_native(x):
|
|
34
|
+
return to_unicode(x)
|
|
35
|
+
# end def
|
|
36
|
+
# end if
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_binary(x):
|
|
40
|
+
if isinstance(x, text_type):
|
|
41
|
+
return x.encode("utf-8")
|
|
42
|
+
elif isinstance(x, binary_type):
|
|
43
|
+
return x
|
|
44
|
+
else:
|
|
45
|
+
return to_binary(str(x)) # str() can fail. # do i need bytes() here with py3 (because ascii and stuff?) ?
|
|
46
|
+
# end if
|
|
47
|
+
# end def
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
def to_unicode(x):
|
|
51
|
+
if isinstance(x, binary_type):
|
|
52
|
+
return x.decode("utf-8")
|
|
53
|
+
elif isinstance(x, text_type):
|
|
54
|
+
return x
|
|
55
|
+
else:
|
|
56
|
+
return to_unicode(str(x)) # str() can fail.
|
|
57
|
+
# end if
|
|
58
|
+
# end def
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "luckylucy.utils.encoding"
|
|
7
|
+
version = "1.85.pre1"
|
|
8
|
+
description = "A collection of utilities I use across different projects (luckylucy.utils.encoding)"
|
|
9
|
+
license = "GPL-2.0-or-later"
|
|
10
|
+
authors = [{ name = "luckylucy", email = "luckylucy.utils._.code@luckydonald.de" }]
|
|
11
|
+
requires-python = ">=2.7"
|
|
12
|
+
dependencies = []
|
|
13
|
+
|
|
14
|
+
[project.urls]
|
|
15
|
+
Homepage = "https://github.com/luckydonald/luckylucy.utils"
|
|
16
|
+
|
|
17
|
+
[tool.hatch.build.targets.wheel]
|
|
18
|
+
packages = ["luckylucy"]
|