{"id":27461,"library":"tk","title":"TensorKit","description":"TensorKit is a deep learning helper bridging Python and C++. Version 0.1.0, early development stage with no stable release cadence.","status":"active","version":"0.1.0","language":"python","source_language":"en","source_url":"https://github.com/atranitell/TensorKit","tags":["deep learning","C++","tensor","helper"],"install":[{"cmd":"pip install tk","lang":"bash","label":"PyPI install"}],"dependencies":[],"imports":[{"note":"The package imports as 'tk', not 'TensorKit'.","wrong":"from tk import TensorKit","symbol":"TensorKit","correct":"import tk"}],"quickstart":{"code":"import tk\nimport numpy as np\n\ntensor = tk.Tensor(np.array([1, 2, 3]))\nprint(tensor)","lang":"python","description":"Create a TensorKit tensor from a numpy array."},"warnings":[{"fix":"Use an alias: import tk as tensorflow_kit","message":"The package name 'tk' conflicts with Python's built-in 'tkinter' module (often imported as 'tk'). Be careful with namespace collisions.","severity":"gotcha","affected_versions":"all"},{"fix":"Pin version strictly: tk==0.1.0 in requirements.","message":"TensorKit is in early alpha; API breaking changes are expected. There is no stable release.","severity":"breaking","affected_versions":"0.1.0"},{"fix":"Monitor GitHub for updates.","message":"No known deprecations yet, but the library is very new.","severity":"deprecated","affected_versions":"0.1.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run 'pip install tk' and ensure you are not importing tkinter as 'tk' first.","cause":"The package is not installed or the name 'tk' conflicts with tkinter.","error":"ModuleNotFoundError: No module named 'tk'"},{"fix":"Inspect the module: dir(tk) to see available classes.","cause":"The API may have changed; check the installed version.","error":"ImportError: cannot import name 'Tensor' from 'tk'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}