electronics-engineering-ai999x 1.1.0__py3-none-win_amd64.whl

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.
Files changed (54) hide show
  1. electronics_engineering_ai999x/__init__.py +48 -0
  2. electronics_engineering_ai999x/_ax_native.dll +0 -0
  3. electronics_engineering_ai999x/_capabilities.py +1356 -0
  4. electronics_engineering_ai999x/_engine/__init__.py +14 -0
  5. electronics_engineering_ai999x/_engine/_lazy.py +49 -0
  6. electronics_engineering_ai999x/_engine/answer.py +187 -0
  7. electronics_engineering_ai999x/_engine/compiler.py +547 -0
  8. electronics_engineering_ai999x/_engine/decision_reader.py +233 -0
  9. electronics_engineering_ai999x/_engine/derivations.py +166 -0
  10. electronics_engineering_ai999x/_engine/engine.py +250 -0
  11. electronics_engineering_ai999x/_engine/explain.py +157 -0
  12. electronics_engineering_ai999x/_engine/explanations.py +143 -0
  13. electronics_engineering_ai999x/_engine/expr.py +251 -0
  14. electronics_engineering_ai999x/_engine/formula_solver.py +302 -0
  15. electronics_engineering_ai999x/_engine/identity.py +42 -0
  16. electronics_engineering_ai999x/_engine/inputs.py +160 -0
  17. electronics_engineering_ai999x/_engine/knowledge_store.py +269 -0
  18. electronics_engineering_ai999x/_engine/native.py +239 -0
  19. electronics_engineering_ai999x/_engine/pack.py +200 -0
  20. electronics_engineering_ai999x/_engine/planner.py +180 -0
  21. electronics_engineering_ai999x/_engine/policy.py +87 -0
  22. electronics_engineering_ai999x/_engine/precision.py +108 -0
  23. electronics_engineering_ai999x/_engine/proc_reader.py +443 -0
  24. electronics_engineering_ai999x/_engine/procedure_spec.py +283 -0
  25. electronics_engineering_ai999x/_engine/product.py +1068 -0
  26. electronics_engineering_ai999x/_engine/quantity.py +255 -0
  27. electronics_engineering_ai999x/_engine/relation.py +190 -0
  28. electronics_engineering_ai999x/_engine/retrieval.py +61 -0
  29. electronics_engineering_ai999x/_engine/search.py +75 -0
  30. electronics_engineering_ai999x/_engine/slot_reader.py +109 -0
  31. electronics_engineering_ai999x/_engine/student_gate.py +228 -0
  32. electronics_engineering_ai999x/_engine/systems/__init__.py +33 -0
  33. electronics_engineering_ai999x/_engine/systems/reader.py +248 -0
  34. electronics_engineering_ai999x/_engine/systems/solver.py +284 -0
  35. electronics_engineering_ai999x/_engine/visual.py +161 -0
  36. electronics_engineering_ai999x/cli.py +29 -0
  37. electronics_engineering_ai999x/pack/MANIFEST.json +51 -0
  38. electronics_engineering_ai999x/pack/capabilities/procedures.py +4466 -0
  39. electronics_engineering_ai999x/pack/capabilities/procedures_certified.json +149 -0
  40. electronics_engineering_ai999x/pack/dictionary/kinds.json +207 -0
  41. electronics_engineering_ai999x/pack/dictionary/terms.json +3870 -0
  42. electronics_engineering_ai999x/pack/electronics_engineering_knowledge_public.sqlite +0 -0
  43. electronics_engineering_ai999x/pack/knowledge/reference_cases.json +3 -0
  44. electronics_engineering_ai999x/pack/knowledge/relations.json +5 -0
  45. electronics_engineering_ai999x/pack/search/encoder.int8.onnx +0 -0
  46. electronics_engineering_ai999x/pack/search/index.json +1 -0
  47. electronics_engineering_ai999x/pack/search/tokenizer.json +8088 -0
  48. electronics_engineering_ai999x-1.1.0.dist-info/METADATA +528 -0
  49. electronics_engineering_ai999x-1.1.0.dist-info/RECORD +54 -0
  50. electronics_engineering_ai999x-1.1.0.dist-info/WHEEL +4 -0
  51. electronics_engineering_ai999x-1.1.0.dist-info/entry_points.txt +2 -0
  52. electronics_engineering_ai999x-1.1.0.dist-info/licenses/LICENSE +204 -0
  53. electronics_engineering_ai999x-1.1.0.dist-info/licenses/NOTICE +8 -0
  54. electronics_engineering_ai999x-1.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,48 @@
1
+ """electronics-engineering-ai999x — offline electronics engineering answers with their formula, steps and verification.
2
+
3
+ import electronics_engineering_ai999x as m
4
+ m.ask("BJT voltage-divider bias: VCC = 12 V, R1 = 47 kohm, R2 = 10 kohm, RC = 2.2 kohm, RE = 470 ohm, beta = 150, VBE = 0.7 V").show()
5
+ m.solve("elx_common_emitter_amplifier", IC=1e-3, beta=100.0, VT=0.025, RC=5000.0, RL=10e3, RE1=0.0, RB=20e3, Rsig=1000.0)
6
+ m.capabilities() # every certified capability
7
+
8
+ 92 certified capabilities: semiconductors (thermal voltage, intrinsic and doped carrier concentrations, conductivity,
9
+ drift, the Einstein relation, built-in potential, depletion width, junction capacitance); diodes (Shockley equation and
10
+ its inverse, the exact diode-resistor operating point, rectifier averages, capacitor-filter ripple, Zener regulators and
11
+ their design, LED resistors); bipolar transistors (fixed, voltage-divider, emitter and collector-feedback bias, hybrid-pi
12
+ parameters, CE, CC and CB amplifiers, fT, the Miller effect and time-constant cutoffs, current mirrors, the Wilson
13
+ mirror, the cascode, the differential pair); MOSFETs and CMOS (drain current, gm and ro, divider bias, common-source and
14
+ source-follower amplifiers, body effect, inverter threshold and delay); op-amps (inverting, non-inverting, summing,
15
+ difference and instrumentation amplifiers, finite gain, integrator, differentiator, gain-bandwidth and slew-rate limits,
16
+ offsets, Schmitt triggers, feedback, phase margin); active filters (first order, Sallen-Key, multiple feedback,
17
+ Butterworth and Chebyshev order and sections); oscillators (RC phase-shift, Wien bridge, Colpitts, Hartley, crystal,
18
+ relaxation, 555, PLL); data converters (ADC code, quantisation SNR, ENOB, jitter, R-2R and binary-weighted DACs, SAR,
19
+ dual slope, sample-and-hold); timing (RC and Elmore delay, CMOS power, setup and hold, metastability); power supplies
20
+ (linear and adjustable regulators, series-pass regulators, heat sinks).
21
+ Questions use one documented form, "<capability phrase>: name = value, ..." with units; a question that is not
22
+ determined is refused rather than guessed.
23
+
24
+ Creator / engineer: Ibnul Jaif Farabi. Company: AI999X.
25
+ """
26
+ from __future__ import annotations
27
+
28
+ from pathlib import Path
29
+
30
+ try: # the installed package carries its own copy of the engine
31
+ from ._engine import Answer
32
+ from ._engine.product import Product
33
+ except ImportError: # the factory's source tree, during development
34
+ from ai999x_factory.runtime import Answer
35
+ from ai999x_factory.runtime.product import Product
36
+
37
+ __version__ = "1.1.0"
38
+ _P = Product("electronics_engineering", [Path(__file__).resolve().parent / "pack", Path(__file__).resolve().parents[3]])
39
+ pack, ask, solve, compile_problem = _P.pack, _P.ask, _P.solve, _P.compile_problem
40
+ formula, formulas, quantities, conditions, capabilities = _P.formula, _P.formulas, _P.quantities, _P.conditions, _P.capabilities
41
+ examples, family_examples, structured_example, to_si = _P.examples, _P.family_examples, _P.structured_example, _P.to_si
42
+ templates, procedure_examples = _P.templates, _P.procedure_examples
43
+ prove, derivations, about = _P.prove, _P.derivations, (lambda: {**_P.about(), "version": __version__, "engine": _P.engine()})
44
+ knowledge, lookup, related = _P.knowledge, _P.lookup, _P.related
45
+ plot, plot_relation, search = _P.plot, _P.plot_relation, _P.search # figures (SVG) and capability search ([search])
46
+ figures, engine = _P.figures, _P.engine # live figures and the engine in use: the Rust engine on Windows/Linux x86_64
47
+ __all__ = ["ask", "solve", "prove", "derivations", "about", "formula", "formulas", "quantities", "conditions", "capabilities",
48
+ "compile_problem", "pack", "Answer", "plot", "plot_relation", "search", "figures", "engine", "__version__"]