The repository for all your experiments
Project description
The repository for all your experiments
Quickstart • Documentation • Contributing • License • Contact
Cubyc is an open-source experiment tracking library for data scientists. With Cubyc, you can easily track, version, and analyze your experiments using Git and SQL, all without ever leaving your Python environment.
Quickstart
Install Cubyc:
pip install cubyc
Initialize a new project in your current directory:
cubyc init
Start tracking your experiments:
import numpy as np
from cubyc import Run
@Run(tags=["linear_algebra"])
def matrix_multiplication(n_size: int):
A = np.random.rand(n_size, n_size)
B = np.random.rand(n_size, n_size)
_ = np.dot(A, B)
for n_size in [10, 20, 40, 80, 160, 320, 640]:
matrix_multiplication(n_size=n_size)
Analyze your runs with SQL:
from cubyc import query
statement = """
SELECT config.n_size, metadata.runtime
FROM config
INNER JOIN metadata ON config.id = metadata.id
ORDER BY metadata.runtime ASC
"""
print(query(statement=statement))
Output:
>>> n_size runtime
... 0 10 0.012209
... 1 20 1.455673
... 2 40 2.768197
... 3 80 4.073367
... 4 160 5.336599
... 5 320 6.663631
... 6 640 8.028414
Documentation
For more information and examples on how to use Cubyc, please refer to our documentation.
Contributing
We welcome contributions from the community! If you'd like to contribute to Cubyc, please read our contributing guidelines and code of conduct.
License
Cubyc is released under the LGPL-3.0 License.
Contact
If you have any questions, feedback, or suggestions, please feel free to open an issue or join our community.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cubyc-0.1.2.tar.gz
.
File metadata
- Download URL: cubyc-0.1.2.tar.gz
- Upload date:
- Size: 22.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64258a12f25087dc2f15515e4a4bbba699db31dca853323e9f39b8741496fb73 |
|
MD5 | ec41417fd8cde93f3bfb085b9bbf43b3 |
|
BLAKE2b-256 | 3f8cb4a986fd18ffd6ed8e1c3c972f10fba7c99ce88c37a9d72c97c1ff318e6d |
File details
Details for the file cubyc-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: cubyc-0.1.2-py3-none-any.whl
- Upload date:
- Size: 28.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.3 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49e8dbf83a73dc472412ee32610e1cdc2ea7cf61a941866aa2f6a994592fd022 |
|
MD5 | 979cdd313882ec40198463e4fee5ea90 |
|
BLAKE2b-256 | ce504b0fd3b3fec3c890593207d8beb5c1cbe154912ec61d427b698aff77cd15 |