Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
76a728b
Release 0.8.36
fern-api[bot] Apr 28, 2025
3f3e7d2
set up initial test for sync operation
AlePouroullis Apr 24, 2025
0834825
fix type error in test
AlePouroullis Apr 24, 2025
4ff9180
basic sync functionality
AlePouroullis Apr 24, 2025
c685887
fix type error and formatting
AlePouroullis Apr 24, 2025
67f17c8
refactor sync utils into SyncClient class
AlePouroullis Apr 25, 2025
0b12a30
add client overloads for call method to use local files at specified …
AlePouroullis Apr 25, 2025
612046e
infer file type from client passed into call overload
AlePouroullis Apr 28, 2025
48262a1
simplify sync client to use updated list files endpoint that includes…
AlePouroullis Apr 28, 2025
2eb8ec1
update test fixture to use staging
AlePouroullis Apr 28, 2025
152fbfa
overload log operation to use local files when relevant
AlePouroullis Apr 29, 2025
c453a6c
Release 0.8.36
fern-api[bot] Apr 29, 2025
6318918
merge auto-generated sdk with new serialize response type
AlePouroullis Apr 29, 2025
d703478
refactor overloads
AlePouroullis Apr 29, 2025
f72fda0
add tests for overloading call and log operations on agents and prompts
AlePouroullis Apr 29, 2025
881f6e2
add environment and path filter to pull operation
AlePouroullis Apr 30, 2025
2745020
Release 0.8.36
fern-api[bot] Apr 30, 2025
6c01255
added include_content query param for retrieving file by path
AlePouroullis Apr 30, 2025
816eaff
add path filter for pulling
AlePouroullis Apr 30, 2025
39662df
refactor overload, moving functionality to sync client + implement LR…
AlePouroullis Apr 30, 2025
db5e37a
add DEFAULT_CACHE_SIZE constant
AlePouroullis Apr 30, 2025
b371348
remove unused imports in sync client
AlePouroullis Apr 30, 2025
693262f
Release 0.8.36
fern-api[bot] Apr 30, 2025
3d478a3
Merge branch 'master' into p_sync/sync
AlePouroullis Apr 30, 2025
941a52e
feat(sync): Add metadata logging for sync operations
AlePouroullis Apr 30, 2025
0063a45
create humanloop cli and support pull operation
AlePouroullis May 1, 2025
de5c767
add oneline option for displaying sync history
AlePouroullis May 1, 2025
d5e2de1
feat: improve local file handling in overload
AlePouroullis May 1, 2025
7f89e45
improve error handling and cli message formatting
AlePouroullis May 1, 2025
ddeef13
fix version in pyproject.toml
AlePouroullis May 1, 2025
fe18a9c
add readme to pyproject.toml
AlePouroullis May 1, 2025
c6539ed
improve docstrings and help for cli
AlePouroullis May 2, 2025
158f90c
Merge branch 'master' of github.com:humanloop/humanloop-python into p…
AlePouroullis May 2, 2025
318aa6f
clean up pyproject.toml
AlePouroullis May 2, 2025
63cc8af
add comments for clarity and remove keywords from pyproject.toml
AlePouroullis May 2, 2025
9f5a3f2
improve docstrings and comments in overload.py
AlePouroullis May 2, 2025
9afd2fc
Release 0.8.36
fern-api[bot] May 6, 2025
d30cc33
Replace with auto-generated SDK
AlePouroullis May 6, 2025
0414fe6
docs: capitalize Prompt and Agent in doc strings
AlePouroullis May 6, 2025
550fb44
Improve overloading and warnings; content -> raw file content
AlePouroullis May 6, 2025
010d82e
Improve error message formatting in sync client
AlePouroullis May 7, 2025
e0a9d53
Improve logging in sync client and CLI
AlePouroullis May 7, 2025
e0a4ae9
Add static type hints to MetadataHandler
AlePouroullis May 7, 2025
40ffd1e
Make duration_ms in log_operation required
AlePouroullis May 7, 2025
01f2ba5
Merge branch 'p_sync/base' into p_sync/sync
AlePouroullis May 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ mypy.ini
README.md
src/humanloop/decorators
src/humanloop/otel
src/humanloop/sync
src/humanloop/cli/

## Tests

Expand Down
146 changes: 123 additions & 23 deletions poetry.lock

Large diffs are not rendered by default.

22 changes: 15 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
# This section is used by PyPI and follows PEP 621 for package metadata
[project]
name = "humanloop"
description = "The Humanloop Python Library"
authors = []

# This section is used by Poetry for development and building
# The metadata here is used during development but not published to PyPI
[tool.poetry]
name = "humanloop"
version = "0.8.36"
description = ""
version = "0.8.36b1"
description = "Humanloop Python SDK"
readme = "README.md"
authors = []
keywords = []
packages = [
{ include = "humanloop", from = "src" },
]

classifiers = [
"Intended Audience :: Developers",
Expand All @@ -26,9 +33,6 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
"Typing :: Typed"
]
packages = [
{ include = "humanloop", from = "src"}
]

[project.urls]
Repository = 'https://github.com/humanloop/humanloop-python'
Expand All @@ -53,8 +57,9 @@ protobuf = ">=5.29.3"
pydantic = ">= 1.9.2"
pydantic-core = "^2.18.2"
typing_extensions = ">= 4.0.0"
click = "^8.0.0"

[tool.poetry.dev-dependencies]
[tool.poetry.group.dev.dependencies]
mypy = "1.0.1"
pytest = "^7.4.0"
pytest-asyncio = "^0.23.5"
Expand Down Expand Up @@ -86,7 +91,10 @@ plugins = ["pydantic.mypy"]
[tool.ruff]
line-length = 120

[tool.poetry.scripts]
humanloop = "humanloop.cli.__main__:cli"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

Loading
Loading