-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathpyproject.toml
More file actions
1180 lines (1070 loc) · 25 KB
/
pyproject.toml
File metadata and controls
1180 lines (1070 loc) · 25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# ============================================
# SciTeX: Python Framework for Scientific Research
# https://scitex.ai
# ============================================
# /home/ywatanabe/proj/scitex-python/pyproject.toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "scitex"
version = "2.27.2"
description = "A comprehensive Python library for scientific computing and data analysis"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "AGPL-3.0" }
authors = [
{ name = "Yusuke Watanabe", email = "ywatanabe@scitex.ai" }
]
keywords = [
"scientific-computing",
"data-analysis",
"machine-learning",
"signal-processing",
"neural-networks",
"research"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries :: Python Modules",
]
# ============================================
# Core Dependencies (Minimal - Always Installed)
# ============================================
# Philosophy: Keep core minimal. Users install what they need with:
# pip install scitex[modulename]
# pip install scitex[audio,scholar] # multiple modules
# pip install scitex[all] # everything
dependencies = [
# Essential Scientific Computing
"numpy",
"pandas",
# Essential Utilities
"PyYAML",
"tqdm",
"packaging",
"natsort", # Natural sorting - used by many modules
# Reproducibility Verification
"scitex-clew>=0.1.0",
# App SDK — unified file storage for local + cloud
"scitex-app>=0.1.0",
# Delegated core modules (thin re-exports)
"scitex-dev>=0.1.0",
"scitex-io>=0.2.0",
"scitex-stats>=0.2.0",
"scitex-audio>=0.1.0",
"scitex-notification>=0.1.0",
]
[project.urls]
Homepage = "https://github.com/ywatanabe1989/scitex-python"
Documentation = "https://scitex.readthedocs.io"
Repository = "https://github.com/ywatanabe1989/scitex-python"
"Bug Tracker" = "https://github.com/ywatanabe1989/scitex-python/issues"
[project.scripts]
scitex = "scitex.__main__:main"
# MCP Server entry points (individual modules)
# scitex-audio entry point now in standalone scitex-audio package
scitex-canvas = "scitex.canvas.mcp_server:main"
scitex-capture = "scitex.capture.mcp_server:main"
scitex-diagram = "scitex.diagram.mcp_server:main"
scitex-plt = "scitex.plt.mcp_server:main"
scitex-scholar = "scitex.scholar.mcp_server:main"
# scitex-stats entry point now in standalone scitex-stats package
scitex-template = "scitex.template.mcp_server:main"
scitex-ui = "scitex.ui.mcp_server:main"
# Unified MCP Server (all modules in one)
scitex-mcp-server = "scitex.mcp_server:main"
[project.entry-points."scitex_dev.docs"]
scitex = "scitex"
[project.entry-points."scitex_dev.skills"]
scitex = "scitex"
# ============================================
# Optional Dependencies - Module-Oriented
# ============================================
# Install specific modules: pip install scitex[audio]
# Install multiple: pip install scitex[audio,scholar,stats]
# Install all: pip install scitex[all]
[project.optional-dependencies]
# --------------------------------------------
# Module-Specific Dependencies
# Each module can be installed independently
# --------------------------------------------
# App Module - Unified file storage SDK (local + cloud)
# Use: pip install scitex[app]
app = [
"scitex-app>=0.1.0",
]
# AI Module - LLM APIs and ML tools
# Use: pip install scitex[ai]
ai = [
"openai",
"anthropic",
"google-genai",
"groq",
"scikit-learn",
"joblib",
"seaborn",
"scipy",
"matplotlib",
"natsort",
"pillow",
"pyyaml",
"requests",
"ruamel.yaml",
"xarray",
"umap-learn",
"sktime>=0.21.0", # >=0.21 has proper build-system deps declared (0.8.1 was broken)
"markdown2",
"imbalanced-learn",
# # Heavy dependencies handled by _AVAILABLE flags
# "optuna",
# "psutil",
# "torch",
# "pytorch_pretrained_vit",
# "torchvision",
]
# Audio Module - Text-to-Speech
# Use: pip install scitex[audio]
audio = [
"scitex-audio>=0.1.0",
]
# Audit Module - Code and security auditing
# Use: pip install scitex[audit]
audit = []
# Benchmark Module - Performance monitoring
# Use: pip install scitex[benchmark]
benchmark = [
"psutil",
]
# Bridge Module - External system integration
# Use: pip install scitex[bridge]
bridge = [
"matplotlib",
"scipy",
]
# Container Module - Unified container management (Apptainer + Docker)
# Use: pip install scitex[container]
# Note: scitex-container provided via host mount (not on PyPI)
container = []
# Browser Module - Web automation
# Use: pip install scitex[browser]
browser = [
"playwright>=1.40.0",
"aiohttp",
"matplotlib",
]
# Capture Module - Screenshot capture
# Use: pip install scitex[capture]
capture = [
"mss",
"Pillow",
"playwright>=1.40.0",
"mcp",
]
# Canvas Module - High-level figure composition
# Use: pip install scitex[canvas]
canvas = [
"figrecipe>=0.16.0",
]
# CLI Module - Command line interface
# Use: pip install scitex[cli]
cli = [
"click",
"requests",
"playwright",
"pyyaml",
"aiohttp",
"beautifulsoup4",
"GitPython",
]
# Cloud Module - Cloud service integration
# Use: pip install scitex[cloud]
cloud = [
"matplotlib",
]
# Compat Module - Compatibility utilities
# Use: pip install scitex[compat]
compat = []
# Config Module - Configuration management
# Use: pip install scitex[config]
config = [
"PyYAML",
]
# Context Module - Context managers
# Use: pip install scitex[context]
context = []
# CV Module - Computer vision
# Use: pip install scitex[cv]
cv = [
"opencv-python",
"Pillow",
]
# DB Module - Database operations
# Use: pip install scitex[db]
db = [
"sqlalchemy",
"psycopg2-binary",
]
# Dataset Module - Dataset management
# Use: pip install scitex[dataset]
dataset = []
# Datetime Module - Date and time utilities
# Use: pip install scitex[datetime]
datetime = []
# Decorators Module - Caching and utilities
# Use: pip install scitex[decorators]
decorators = [
"joblib",
"tqdm",
"xarray",
"pytest-asyncio",
"matplotlib",
"scipy",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# Diagram Module - Diagram generation
# Use: pip install scitex[diagram]
diagram = [
"PyYAML",
]
# Dict Module - Dictionary utilities
# Use: pip install scitex[dict]
dict = []
# DSP Module - Digital Signal Processing
# Use: pip install scitex[dsp]
dsp = [
"scipy",
"sounddevice",
"matplotlib",
"joblib",
"tensorpac",
"ruamel.yaml",
"h5py",
"readchar",
"xarray",
"seaborn",
# # Heavy dependencies handled by _AVAILABLE flags
# "mne",
# "torch",
# "ripple_detection",
# "torchsummary",
# "julius",
# "torchaudio",
]
# DevTools Module - scitex.dev code analysis and development tools
# Use: pip install scitex[devtools]
# Note: Named "devtools" to avoid conflict with "dev" (testing deps)
devtools = [
"matplotlib",
"joblib",
"ruamel.yaml",
"xarray",
"seaborn",
"scipy",
]
# DT Module - Date/time utilities
# Use: pip install scitex[dt]
dt = [
"matplotlib",
]
# Gen Module - General utilities
# Use: pip install scitex[gen]
gen = [
"ipython",
"h5py",
"pyperclip",
"readchar",
"scipy",
"matplotlib",
"xarray",
"requests",
"joblib",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# Etc Module - Miscellaneous utilities
# Use: pip install scitex[etc]
etc = [
"readchar",
]
# Events Module - Event system
# Use: pip install scitex[events]
events = []
# Gists Module - Code snippet management
# Use: pip install scitex[gists]
gists = []
# Git Module - Git operations
# Use: pip install scitex[git]
git = [
"GitPython",
"matplotlib",
]
# IO Module - File I/O operations
# Use: pip install scitex[io]
io = [
"scitex-io>=0.2.0",
"h5py",
"openpyxl",
"xlrd",
"ruamel.yaml",
"lxml",
"lxml_html_clean",
"xarray",
"zarr",
"numcodecs",
"Pillow",
"piexif",
"pypdf",
"qrcode[pil]",
"PyMuPDF",
"pdfplumber",
"python-docx",
"html2text",
"markdown",
"joblib",
"plotly",
"pymatreader",
"natsort",
"GitPython",
"scipy",
"matplotlib",
"pyarrow",
"pyyaml",
"tqdm",
# # Heavy dependencies handled by _AVAILABLE flags
# "mne",
# "optuna",
# "catboost",
# "psutil",
# "torch",
]
# Introspect Module - Code introspection
# Use: pip install scitex[introspect]
introspect = []
# Linalg Module - Linear algebra
# Use: pip install scitex[linalg]
linalg = [
"scipy",
"sympy",
"geom_median",
"matplotlib",
"joblib",
"xarray",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# Logging Module - Enhanced logging
# Use: pip install scitex[logging]
logging = [
"matplotlib",
]
# Media Module - Media display utilities
# Use: pip install scitex[media]
media = []
# ML Module - Machine learning
# Use: pip install scitex[ml]
ml = [
"scitex[ai]",
]
# Module Module - Module management
# Use: pip install scitex[module]
module = []
# MSWord Module - MS Word document handling
# Use: pip install scitex[msword]
msword = [
"python-docx",
"pypandoc",
]
# NN Module - Neural Networks
# Use: pip install scitex[nn]
nn = [
"seaborn",
"ipdb",
"matplotlib",
"joblib",
"tensorpac",
"ruamel.yaml",
"h5py",
"readchar",
"xarray",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
# "torchaudio",
# "torchsummary",
# "julius",
# "mne",
# "ripple_detection",
]
# Notebook Module - Jupyter notebook utilities
# Use: pip install scitex[notebook]
notebook = []
# Notification Module - Phone call, SMS, and other notifications
# Use: pip install scitex[notification]
notification = [
"scitex-notification>=0.1.0",
]
# OS Module - OS utilities
# Use: pip install scitex[os]
os = []
# Parallel Module - Parallel processing
# Use: pip install scitex[parallel]
parallel = [
"tqdm",
]
# Path Module - Path utilities
# Use: pip install scitex[path]
path = [
"GitPython",
"matplotlib",
]
# Pd Module - Pandas utilities
# Use: pip install scitex[pd]
pd = [
"xarray",
]
# PLT Module - Plotting utilities
# Use: pip install scitex[plt]
plt = [
"matplotlib",
"seaborn",
"Pillow",
"piexif",
"termplotlib",
"scipy",
"xarray",
"pyyaml",
"joblib",
"ruamel.yaml",
"figrecipe>=0.16.0",
]
# Project Module - Project management
# Use: pip install scitex[project]
project = []
# Repro Module - Reproducibility tools
# Use: pip install scitex[repro]
repro = [
"matplotlib",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
# "jax",
# "tensorflow",
]
# Resource Module - Resource monitoring
# Use: pip install scitex[resource]
resource = [
"psutil",
"matplotlib",
"pyyaml",
"joblib",
"ruamel.yaml",
"h5py",
"scipy",
"readchar",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# Reproduce Module - Reproducibility tools
# Use: pip install scitex[reproduce]
reproduce = [
"scitex[repro]",
]
# RNG Module - Random number generation
# Use: pip install scitex[rng]
rng = [
"scitex[repro]",
]
# Scholar GUI - Minimal deps for Flask citation graph viewer
# Use: pip install scitex[scholar-gui]
scholar-gui = [
"flask>=2.0.0",
"click",
"crossref-local",
"openalex-local",
]
# Scholar Module - Paper management & browser
# Use: pip install scitex[scholar]
scholar = [
"selenium",
"webdriver-manager",
"beautifulsoup4",
"html2text",
"crawl4ai",
"scholarly",
"pymed",
"python-docx",
"pypdf",
"pdfplumber",
"PyMuPDF",
"pytesseract",
"bibtexparser",
"playwright>=1.40.0",
"feedparser",
"httpx",
"tenacity",
"pydantic",
"watchdog",
"natsort",
"aiohttp",
"openpyxl",
"sqlalchemy",
"nest-asyncio",
"seaborn",
"scikit-learn",
"Pillow",
"requests",
"matplotlib",
"pyyaml",
"tqdm",
"sql-manager",
"ruamel.yaml",
# Standalone packages
"crossref-local",
"openalex-local",
"connectedpapers-py",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# Schema Module - Data schema validation
# Use: pip install scitex[schema]
schema = []
# Security Module - Security utilities
# Use: pip install scitex[security]
security = []
# Session Module - Session management
# Use: pip install scitex[session]
session = [
"matplotlib",
"PyYAML",
]
# Sh Module - Shell utilities
# Use: pip install scitex[sh]
sh = [
"matplotlib",
]
# Social Module - Social media integration
# Use: pip install scitex[social]
social = [
"socialia>=0.3.1",
]
# Stats Module - Statistical analysis
# Use: pip install scitex[stats]
stats = [
"scitex-stats>=0.2.0",
"scipy",
"statsmodels",
"matplotlib",
"tabulate",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# Str Module - String utilities
# Use: pip install scitex[str]
str = [
"natsort",
"matplotlib",
"xarray",
]
# Template Module - Project templates
# Use: pip install scitex[template]
template = [
"scitex[git]",
]
# Tex Module - LaTeX utilities
# Use: pip install scitex[tex]
tex = [
"matplotlib",
]
# Tunnel Module - SSH reverse tunnel for NAT traversal
# Use: pip install scitex[tunnel]
tunnel = [
"scitex-tunnel",
]
# Torch Module - PyTorch support
# Use: pip install scitex[torch]
torch = [
"torch",
]
# Types Module - Type utilities
# Use: pip install scitex[types]
types = [
"xarray",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
]
# UI Module - User interface utilities
# Use: pip install scitex[ui]
ui = []
# Utils Module - General utilities
# Use: pip install scitex[utils]
utils = [
"h5py",
"natsort",
"matplotlib",
"xarray",
"tqdm",
]
# Verify Module - Verification utilities
# Use: pip install scitex[verify]
verify = [
"scitex[clew]",
]
# Web Module - Web utilities
# Use: pip install scitex[web]
web = [
"aiohttp",
"beautifulsoup4",
"readability-lxml",
"requests",
"Pillow",
"matplotlib",
"tqdm",
"joblib",
"scikit-learn",
"pytest-asyncio",
"ruamel.yaml",
"xarray",
"seaborn",
"scipy",
"markdown2",
"anthropic",
"openai",
"google-genai",
"groq",
# # Heavy dependencies handled by _AVAILABLE flags
# "torch",
# "umap-learn",
]
# Clew Module - Hash-based verification for reproducible science (Ariadne's thread)
# Use: pip install scitex[clew]
# Note: No extra dependencies - uses only stdlib (sqlite3, hashlib)
clew = []
# Writer Module - Academic paper writing
# Use: pip install scitex[writer]
writer = [
"scitex-writer", # Core writer package (single source of truth)
"yq",
"xlsx2csv",
"csv2latex",
"matplotlib",
"GitPython",
"pytest-asyncio",
]
# --------------------------------------------
# Heavy Dependencies (Optional)
# --------------------------------------------
# Use: pip install scitex[heavy]
# Or combine: pip install scitex[io,heavy]
heavy = [
# PyTorch ecosystem
"torch",
"torchvision",
"torchaudio",
"torchsummary",
"julius",
"pytorch_pretrained_vit",
# Neuroscience
"mne",
"ripple_detection",
# ML/Optimization
"optuna",
"catboost",
# Other ML frameworks
"jax",
"tensorflow",
# Visualization
"umap-learn",
# System
"psutil",
]
# --------------------------------------------
# Development Tools
# --------------------------------------------
# Documentation
# Use: pip install scitex[docs]
docs = [
"sphinx>=7.0",
"sphinx-rtd-theme>=2.0",
"myst-parser>=2.0",
"sphinx-copybutton>=0.5",
"sphinx-autodoc-typehints>=1.25",
]
# Development Tools
# Use: pip install scitex[dev]
dev = [
# Testing
"pytest",
"pytest-cov",
"pytest-xdist",
"pytest-timeout",
"pytest-mock",
"pytest-env",
"pytest-asyncio",
"pytest-testmon",
"pytest-json-report",
# Code Quality
"ruff",
"mypy",
"pre-commit",
"pyright",
"python-lsp-server",
"jedi",
"rope",
# Profiling
"line-profiler",
"memory-profiler",
# Documentation
"sphinx",
"sphinx-rtd-theme",
"sphinx-autodoc-typehints",
"sphinx-autobuild",
"myst-parser",
"markdown",
"markdown2",
"pygments",
# Build
"build",
"twine",
"wheel",
"setuptools",
# Type Hints
"types-requests",
"types-PyYAML",
"types-setuptools",
# Maintenance scripts
"stdlib-list",
"tomlkit",
"matplotlib",
"pyyaml",
# SciTeX ecosystem packages
"scitex-tunnel",
"scitex-container",
]
# All features (everything except dev)
# Use: pip install scitex[all]
# Auto-aggregates all individual module extras via self-referencing.
# When adding a new module extras group, add a corresponding entry here.
all = [
"scitex[ai]",
"scitex[app]",
"scitex[audio]",
"scitex[audit]",
"scitex[docs]",
"scitex[benchmark]",
"scitex[bridge]",
"scitex[browser]",
"scitex[canvas]",
"scitex[capture]",
"scitex[clew]",
"scitex[cli]",
"scitex[cloud]",
"scitex[compat]",
"scitex[config]",
"scitex[container]",
"scitex[context]",
"scitex[cv]",
"scitex[dataset]",
"scitex[db]",
"scitex[datetime]",
"scitex[decorators]",
"scitex[devtools]",
"scitex[diagram]",
"scitex[dict]",
"scitex[dsp]",
"scitex[dt]",
"scitex[etc]",
"scitex[events]",
"scitex[gen]",
"scitex[gists]",
"scitex[git]",
"scitex[heavy]",
"scitex[introspect]",
"scitex[io]",
"scitex[linalg]",
"scitex[logging]",
"scitex[media]",
"scitex[ml]",
"scitex[module]",
"scitex[msword]",
"scitex[nn]",
"scitex[notebook]",
"scitex[notification]",
"scitex[os]",
"scitex[parallel]",
"scitex[path]",
"scitex[pd]",
"scitex[plt]",
"scitex[project]",
"scitex[repro]",
"scitex[reproduce]",
"scitex[resource]",
"scitex[rng]",
"scitex[schema]",
"scitex[scholar]",
"scitex[scholar-gui]",
"scitex[security]",
"scitex[session]",
"scitex[sh]",
"scitex[social]",
"scitex[stats]",
"scitex[str]",
"scitex[template]",
"scitex[tex]",
"scitex[torch]",
"scitex[tunnel]",
"scitex[types]",
"scitex[ui]",
"scitex[utils]",
"scitex[verify]",
"scitex[web]",
"scitex[writer]",
]
# ============================================
# Tool Configurations
# ============================================
[tool.hatch.version]
path = "src/scitex/__version__.py"
pattern = '__version__ = "(?P<version>[^"]+)"'
[tool.hatch.build.targets.wheel]
exclude = [
# Scholar development symlinks
"src/scitex/scholar/.env",
"src/scitex/scholar/.venv",
"src/scitex/scholar/.claude",
"src/scitex/scholar/crossref_local",
"src/scitex/scholar/library",
"src/scitex/scholar/docs/to_claude",
"src/scitex/scholar/data/impact_factor/impact_factor.db",
]
[tool.hatch.build.targets.sdist]
exclude = [
# Scholar development symlinks
"src/scitex/scholar/.env",
"src/scitex/scholar/.venv",
"src/scitex/scholar/.claude",
"src/scitex/scholar/crossref_local",
"src/scitex/scholar/library",
"src/scitex/scholar/docs/to_claude",
"src/scitex/scholar/data/impact_factor/impact_factor.db",
]
[tool.pytest.ini_options]
minversion = "6.0"
pythonpath = ["src"]
testpaths = ["tests"]
cache_dir = ".pytest_cache"
python_files = ["test_*.py"]
python_classes = ["Test*"]
python_functions = ["test_*"]
addopts = [
"-v",
"--tb=short",
"--strict-markers",
"--disable-warnings",
"-p", "no:warnings",
"--ignore=tests/custom/old/",
"--import-mode=importlib",
"--timeout=60",
]
timeout_method = "signal"
asyncio_mode = "auto"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"integration: marks tests as integration tests",
"unit: marks tests as unit tests",
"asyncio: marks tests as async tests",
"benchmark: marks tests as benchmark tests",
"filterwarnings: marks tests to filter specific warnings",
]
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::PendingDeprecationWarning",
"ignore::FutureWarning",
]
[tool.coverage.run]
source = ["src/scitex"]
branch = true
parallel = true
relative_files = true
omit = [
"*/tests/*",
"*/__pycache__/*",
"*/.old/*",
"*/migrations/*",
"*/conftest.py",
"*/setup.py",