scitex-stats 0.1.0__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,27 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches: [main, develop]
6
+ pull_request:
7
+ branches: [main, develop]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12", "3.13"]
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Install dependencies
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -e ".[all]"
25
+ pip install scitex
26
+ - name: Run tests
27
+ run: pytest tests/
@@ -0,0 +1,678 @@
1
+ __pycache__/
2
+ *.py[cod]
3
+ *$py.class
4
+ *.egg-info/
5
+ dist/
6
+ build/
7
+ .eggs/
8
+ *.egg
9
+ .tox/
10
+ .coverage
11
+ htmlcov/
12
+ .pytest_cache/
13
+ *.so
14
+ .env
15
+ .venv
16
+ venv/
17
+ docs/sphinx/_build/
18
+
19
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/Specific.gitignore ###
20
+ # Force-track branding icons (overrides LargeFiles.gitignore **/*.png rule)
21
+ !docs/scitex-logo-banner.png
22
+ !docs/scitex-icon-navy-inverted.png
23
+
24
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/Claude.gitignore ###
25
+ docs/to_claude
26
+ docs/from_agents
27
+ docs/from_user
28
+ CLAUDE.md
29
+ .claude
30
+ mgmt
31
+ .mcp.json
32
+
33
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/Secrets.gitignore ###
34
+ .git-crypt/keys
35
+ **/*secret*
36
+
37
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/Development.gitignore ###
38
+ # old directories as trash bin
39
+ *old*
40
+ **/*old*
41
+ .old
42
+ **/.old
43
+ .dev
44
+ **/.dev
45
+ .playground
46
+ **/.playground
47
+ **/.dev
48
+ .dev
49
+ **/.legacy
50
+ .legacy
51
+
52
+ # Backup
53
+ **/*_back
54
+ **/*_backup
55
+ **/*_backups
56
+
57
+ # Renaming
58
+ **/.rename_backups
59
+ **/.rename_backups
60
+
61
+ # Logs
62
+ *.log
63
+ **/*.log
64
+ **RUNNING**
65
+ **FINISHED**
66
+ **/RUNNING
67
+ **/FINISHED
68
+ **/202?Y-*
69
+
70
+ # TODO
71
+ **/TODO.md
72
+
73
+ # Memo
74
+ GITIGNORED
75
+
76
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/MyEmacs.gitignore ###
77
+ **/*~undo-tree~
78
+ **/undohist/*
79
+
80
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/Apptainer.gitignore ###
81
+ **/*.log
82
+ **/*.sandbox/*
83
+ **/*.sif
84
+ **/build-temp-*
85
+
86
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/Django.gitignore ###
87
+ ./staticfiles*
88
+ ./static/bootstrap*
89
+
90
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/LargeFiles.gitignore ###
91
+ data/*
92
+
93
+ **/*.csv
94
+ **/*.mat
95
+ **/*.mp4
96
+ **/*.npy
97
+ **/*.pdf
98
+ **/*.pkl
99
+ **/*.png
100
+ **/*.pth
101
+ **/*.pt
102
+ **/*.chk
103
+ **/*.model
104
+ **/*.tiff
105
+ **/*.wav
106
+ **/*.jpg
107
+ **/*.jpeg
108
+ **/*.h5
109
+ **/*.zip
110
+ **/*.tar
111
+ **/*.gz
112
+ **/*.rar
113
+ **/*.7z
114
+ **/*.hdf5
115
+ **/*.npz
116
+ **/*.fits
117
+ **/*.avi
118
+ **/*.mov
119
+ **/*.mkv
120
+ **/*.gif
121
+ **/*.bmp
122
+ **/*.svg
123
+ **/*.psd
124
+ **/*.tif
125
+ **/*.raw
126
+ **/*.nii
127
+ **/*.dicom
128
+ **/*.xls
129
+ **/*.xlsx
130
+ **/*.doc
131
+ **/*.docx
132
+ **/*.ppt
133
+ **/*.pptx
134
+ **/*.txt
135
+ **/*.log
136
+ **/*.db
137
+ **/*.sqlite
138
+ **/*.xml
139
+ **/*.JNB
140
+ **/*.jnb
141
+
142
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Python.gitignore ###
143
+ # Byte-compiled / optimized / DLL files
144
+ __pycache__/
145
+ *.py[cod]
146
+ *$py.class
147
+
148
+ # C extensions
149
+ *.so
150
+
151
+ # Distribution / packaging
152
+ .Python
153
+ build/
154
+ develop-eggs/
155
+ dist/
156
+ downloads/
157
+ eggs/
158
+ .eggs/
159
+ lib/
160
+ lib64/
161
+ parts/
162
+ sdist/
163
+ var/
164
+ wheels/
165
+ share/python-wheels/
166
+ *.egg-info/
167
+ .installed.cfg
168
+ *.egg
169
+ MANIFEST
170
+
171
+ # PyInstaller
172
+ # Usually these files are written by a python script from a template
173
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
174
+ *.manifest
175
+ *.spec
176
+
177
+ # Installer logs
178
+ pip-log.txt
179
+ pip-delete-this-directory.txt
180
+
181
+ # Unit test / coverage reports
182
+ htmlcov/
183
+ .tox/
184
+ .nox/
185
+ .coverage
186
+ .coverage.*
187
+ .cache
188
+ nosetests.xml
189
+ coverage.xml
190
+ *.cover
191
+ *.py,cover
192
+ .hypothesis/
193
+ .pytest_cache/
194
+ cover/
195
+
196
+ # Translations
197
+ *.mo
198
+ *.pot
199
+
200
+ # Django stuff:
201
+ *.log
202
+ local_settings.py
203
+ db.sqlite3
204
+ db.sqlite3-journal
205
+
206
+ # Flask stuff:
207
+ instance/
208
+ .webassets-cache
209
+
210
+ # Scrapy stuff:
211
+ .scrapy
212
+
213
+ # Sphinx documentation
214
+ docs/_build/
215
+
216
+ # PyBuilder
217
+ .pybuilder/
218
+ target/
219
+
220
+ # Jupyter Notebook
221
+ .ipynb_checkpoints
222
+
223
+ # IPython
224
+ profile_default/
225
+ ipython_config.py
226
+
227
+ # pyenv
228
+ # For a library or package, you might want to ignore these files since the code is
229
+ # intended to run in multiple environments; otherwise, check them in:
230
+ # .python-version
231
+
232
+ # pipenv
233
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
234
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
235
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
236
+ # install all needed dependencies.
237
+ #Pipfile.lock
238
+
239
+ # poetry
240
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
241
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
242
+ # commonly ignored for libraries.
243
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
244
+ #poetry.lock
245
+
246
+ # pdm
247
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
248
+ #pdm.lock
249
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
250
+ # in version control.
251
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
252
+ .pdm.toml
253
+ .pdm-python
254
+ .pdm-build/
255
+
256
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
257
+ __pypackages__/
258
+
259
+ # Celery stuff
260
+ celerybeat-schedule
261
+ celerybeat.pid
262
+
263
+ # SageMath parsed files
264
+ *.sage.py
265
+
266
+ # Environments
267
+ .env
268
+ .venv
269
+ env/
270
+ venv/
271
+ ENV/
272
+ env.bak/
273
+ venv.bak/
274
+
275
+ # Spyder project settings
276
+ .spyderproject
277
+ .spyproject
278
+
279
+ # Rope project settings
280
+ .ropeproject
281
+
282
+ # mkdocs documentation
283
+ /site
284
+
285
+ # mypy
286
+ .mypy_cache/
287
+ .dmypy.json
288
+ dmypy.json
289
+
290
+ # Pyre type checker
291
+ .pyre/
292
+
293
+ # pytype static type analyzer
294
+ .pytype/
295
+
296
+ # Cython debug symbols
297
+ cython_debug/
298
+
299
+ # PyCharm
300
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
301
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
302
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
303
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
304
+ #.idea/
305
+
306
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Django.gitignore ###
307
+
308
+
309
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/TeX.gitignore ###
310
+ ## Core latex/pdflatex auxiliary files:
311
+ *.aux
312
+ *.lof
313
+ *.log
314
+ *.lot
315
+ *.fls
316
+ *.out
317
+ *.toc
318
+ *.fmt
319
+ *.fot
320
+ *.cb
321
+ *.cb2
322
+ .*.lb
323
+
324
+ ## Intermediate documents:
325
+ *.dvi
326
+ *.xdv
327
+ *-converted-to.*
328
+ # these rules might exclude image files for figures etc.
329
+ # *.ps
330
+ # *.eps
331
+ # *.pdf
332
+
333
+ ## Generated if empty string is given at "Please type another file name for output:"
334
+ .pdf
335
+
336
+ ## Bibliography auxiliary files (bibtex/biblatex/biber):
337
+ *.bbl
338
+ *.bcf
339
+ *.blg
340
+ *-blx.aux
341
+ *-blx.bib
342
+ *.run.xml
343
+
344
+ ## Build tool auxiliary files:
345
+ *.fdb_latexmk
346
+ *.synctex
347
+ *.synctex(busy)
348
+ *.synctex.gz
349
+ *.synctex.gz(busy)
350
+ *.pdfsync
351
+ *.rubbercache
352
+ rubber.cache
353
+
354
+ ## Build tool directories for auxiliary files
355
+ # latexrun
356
+ latex.out/
357
+
358
+ ## Auxiliary and intermediate files from other packages:
359
+ # algorithms
360
+ *.alg
361
+ *.loa
362
+
363
+ # achemso
364
+ acs-*.bib
365
+
366
+ # amsthm
367
+ *.thm
368
+
369
+ # beamer
370
+ *.nav
371
+ *.pre
372
+ *.snm
373
+ *.vrb
374
+
375
+ # changes
376
+ *.soc
377
+
378
+ # comment
379
+ *.cut
380
+
381
+ # cprotect
382
+ *.cpt
383
+
384
+ # elsarticle (documentclass of Elsevier journals)
385
+ *.spl
386
+
387
+ # endnotes
388
+ *.ent
389
+
390
+ # fixme
391
+ *.lox
392
+
393
+ # feynmf/feynmp
394
+ *.mf
395
+ *.mp
396
+ *.t[1-9]
397
+ *.t[1-9][0-9]
398
+ *.tfm
399
+
400
+ #(r)(e)ledmac/(r)(e)ledpar
401
+ *.end
402
+ *.?end
403
+ *.[1-9]
404
+ *.[1-9][0-9]
405
+ *.[1-9][0-9][0-9]
406
+ *.[1-9]R
407
+ *.[1-9][0-9]R
408
+ *.[1-9][0-9][0-9]R
409
+ *.eledsec[1-9]
410
+ *.eledsec[1-9]R
411
+ *.eledsec[1-9][0-9]
412
+ *.eledsec[1-9][0-9]R
413
+ *.eledsec[1-9][0-9][0-9]
414
+ *.eledsec[1-9][0-9][0-9]R
415
+
416
+ # glossaries
417
+ *.acn
418
+ *.acr
419
+ *.glg
420
+ *.glo
421
+ *.gls
422
+ *.glsdefs
423
+ *.lzo
424
+ *.lzs
425
+ *.slg
426
+ *.slo
427
+ *.sls
428
+
429
+ # uncomment this for glossaries-extra (will ignore makeindex's style files!)
430
+ # *.ist
431
+
432
+ # gnuplot
433
+ *.gnuplot
434
+ *.table
435
+
436
+ # gnuplottex
437
+ *-gnuplottex-*
438
+
439
+ # gregoriotex
440
+ *.gaux
441
+ *.glog
442
+ *.gtex
443
+
444
+ # htlatex
445
+ *.4ct
446
+ *.4tc
447
+ *.idv
448
+ *.lg
449
+ *.trc
450
+ *.xref
451
+
452
+ # hypdoc
453
+ *.hd
454
+
455
+ # hyperref
456
+ *.brf
457
+
458
+ # knitr
459
+ *-concordance.tex
460
+ # TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files
461
+ # *.tikz
462
+ *-tikzDictionary
463
+
464
+ # listings
465
+ *.lol
466
+
467
+ # luatexja-ruby
468
+ *.ltjruby
469
+
470
+ # makeidx
471
+ *.idx
472
+ *.ilg
473
+ *.ind
474
+
475
+ # minitoc
476
+ *.maf
477
+ *.mlf
478
+ *.mlt
479
+ *.mtc[0-9]*
480
+ *.slf[0-9]*
481
+ *.slt[0-9]*
482
+ *.stc[0-9]*
483
+
484
+ # minted
485
+ _minted*
486
+ *.pyg
487
+
488
+ # morewrites
489
+ *.mw
490
+
491
+ # newpax
492
+ *.newpax
493
+
494
+ # nomencl
495
+ *.nlg
496
+ *.nlo
497
+ *.nls
498
+
499
+ # pax
500
+ *.pax
501
+
502
+ # pdfpcnotes
503
+ *.pdfpc
504
+
505
+ # sagetex
506
+ *.sagetex.sage
507
+ *.sagetex.py
508
+ *.sagetex.scmd
509
+
510
+ # scrwfile
511
+ *.wrt
512
+
513
+ # svg
514
+ svg-inkscape/
515
+
516
+ # sympy
517
+ *.sout
518
+ *.sympy
519
+ sympy-plots-for-*.tex/
520
+
521
+ # pdfcomment
522
+ *.upa
523
+ *.upb
524
+
525
+ # pythontex
526
+ *.pytxcode
527
+ pythontex-files-*/
528
+
529
+ # tcolorbox
530
+ *.listing
531
+
532
+ # thmtools
533
+ *.loe
534
+
535
+ # TikZ & PGF
536
+ *.dpth
537
+ *.md5
538
+ *.auxlock
539
+
540
+ # titletoc
541
+ *.ptc
542
+
543
+ # todonotes
544
+ *.tdo
545
+
546
+ # vhistory
547
+ *.hst
548
+ *.ver
549
+
550
+ # easy-todo
551
+ *.lod
552
+
553
+ # xcolor
554
+ *.xcp
555
+
556
+ # xmpincl
557
+ *.xmpi
558
+
559
+ # xindy
560
+ *.xdy
561
+
562
+ # xypic precompiled matrices and outlines
563
+ *.xyc
564
+ *.xyd
565
+
566
+ # endfloat
567
+ *.ttt
568
+ *.fff
569
+
570
+ # Latexian
571
+ TSWLatexianTemp*
572
+
573
+ ## Editors:
574
+ # WinEdt
575
+ *.bak
576
+ *.sav
577
+
578
+ # Texpad
579
+ .texpadtmp
580
+
581
+ # LyX
582
+ *.lyx~
583
+
584
+ # Kile
585
+ *.backup
586
+
587
+ # gummi
588
+ .*.swp
589
+
590
+ # KBibTeX
591
+ *~[0-9]*
592
+
593
+ # TeXnicCenter
594
+ *.tps
595
+
596
+ # auto folder when using emacs and auctex
597
+ ./auto/*
598
+ *.el
599
+
600
+ # expex forward references with \gathertags
601
+ *-tags.tex
602
+
603
+ # standalone packages
604
+ *.sta
605
+
606
+ # Makeindex log files
607
+ *.lpz
608
+
609
+ # xwatermark package
610
+ *.xwm
611
+
612
+ # REVTeX puts footnotes in the bibliography by default, unless the nofootinbib
613
+ # option is specified. Footnotes are the stored in a file with suffix Notes.bib.
614
+ # Uncomment the next line to have this generated file ignored.
615
+ #*Notes.bib
616
+
617
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Global/Emacs.gitignore ###
618
+ # -*- mode: gitignore; -*-
619
+ *~
620
+ \#*\#
621
+ /.emacs.desktop
622
+ /.emacs.desktop.lock
623
+ *.elc
624
+ auto-save-list
625
+ tramp
626
+ .\#*
627
+
628
+ # Org-mode
629
+ .org-id-locations
630
+ *_archive
631
+
632
+ # flymake-mode
633
+ *_flymake.*
634
+
635
+ # eshell files
636
+ /eshell/history
637
+ /eshell/lastdir
638
+
639
+ # elpa packages
640
+ /elpa/
641
+
642
+ # reftex files
643
+ *.rel
644
+
645
+ # AUCTeX auto folder
646
+ /auto/
647
+
648
+ # cask packages
649
+ .cask/
650
+ dist/
651
+
652
+ # Flycheck
653
+ flycheck_*.el
654
+
655
+ # server auth directory
656
+ /server/
657
+
658
+ # projectiles files
659
+ .projectile
660
+
661
+ # directory configuration
662
+ .dir-locals.el
663
+
664
+ # network security
665
+ /network-security.data
666
+
667
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/SQL.gitignore ###
668
+ **/*.db
669
+ **/*.sqlite3
670
+ *.db-shm
671
+ *.db-wal
672
+
673
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/GitKeep.gitignore ###
674
+ !.gitkeep
675
+ !**/.gitkeep
676
+
677
+ ### Source: /home/ywatanabe/.git-templates/.gitignore-templates/Custom/SLURM.gitignore ###
678
+ slurm_logs
@@ -0,0 +1,31 @@
1
+ # Read the Docs configuration file
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ version: 2
5
+
6
+ # Set the OS, Python version and other tools you might need
7
+ build:
8
+ os: ubuntu-22.04
9
+ tools:
10
+ python: "3.11"
11
+
12
+ # Build documentation in the "docs/sphinx" directory with Sphinx
13
+ sphinx:
14
+ configuration: docs/sphinx/conf.py
15
+ fail_on_warning: false
16
+
17
+ # Optionally build your docs in additional formats such as PDF and ePub
18
+ formats:
19
+ - pdf
20
+ - epub
21
+
22
+ # Python configuration
23
+ python:
24
+ install:
25
+ # Install package with all optional dependencies
26
+ - method: pip
27
+ path: .
28
+ extra_requirements:
29
+ - all
30
+ # Install sphinx documentation requirements
31
+ - requirements: docs/sphinx/requirements.txt