jevaro-server 0.1.0__py3-none-any.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.
- jevaro_server/__init__.py +1 -0
- jevaro_server/__main__.py +15 -0
- jevaro_server/app.py +140 -0
- jevaro_server/arrow.py +160 -0
- jevaro_server-0.1.0.dist-info/METADATA +96 -0
- jevaro_server-0.1.0.dist-info/RECORD +11 -0
- jevaro_server-0.1.0.dist-info/WHEEL +5 -0
- jevaro_server-0.1.0.dist-info/entry_points.txt +2 -0
- jevaro_server-0.1.0.dist-info/licenses/LICENSE +202 -0
- jevaro_server-0.1.0.dist-info/licenses/NOTICE +4 -0
- jevaro_server-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Jevaro: TypeSafe questions in, ordered Arrow answers out."""
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
|
|
3
|
+
import uvicorn
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
def main():
|
|
7
|
+
parser = argparse.ArgumentParser(description="Run the Jevaro Arrow proxy")
|
|
8
|
+
parser.add_argument("--host", default="127.0.0.1")
|
|
9
|
+
parser.add_argument("--port", type=int, default=8000)
|
|
10
|
+
args = parser.parse_args()
|
|
11
|
+
uvicorn.run("jevaro_server.app:app", host=args.host, port=args.port)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
if __name__ == "__main__":
|
|
15
|
+
main()
|
jevaro_server/app.py
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"""POST /v1/systemone: TypeSafe requests with state or a nonempty states array."""
|
|
2
|
+
|
|
3
|
+
import asyncio
|
|
4
|
+
import os
|
|
5
|
+
from collections import deque
|
|
6
|
+
from typing import Annotated
|
|
7
|
+
|
|
8
|
+
import pyarrow as pa
|
|
9
|
+
from fastapi import FastAPI, Header, HTTPException
|
|
10
|
+
from fastapi.responses import StreamingResponse
|
|
11
|
+
from pydantic import BaseModel, ConfigDict, Field, model_validator
|
|
12
|
+
from typesafe_sdk import AsyncTypeSafeClient, Choice, JSONContent, Noul, Score
|
|
13
|
+
|
|
14
|
+
from .arrow import StreamSink, answer_batch, schema_for
|
|
15
|
+
|
|
16
|
+
MEDIA_TYPE = "application/vnd.apache.arrow.stream"
|
|
17
|
+
Question = Annotated[Choice | Score | Noul, Field(discriminator="type")]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class Evaluation(BaseModel):
|
|
21
|
+
model_config = ConfigDict(extra="forbid", allow_inf_nan=False)
|
|
22
|
+
|
|
23
|
+
state: JSONContent | None = None
|
|
24
|
+
states: list[JSONContent] | None = None
|
|
25
|
+
questions: dict[str, Question] = Field(min_length=1)
|
|
26
|
+
model: str = Field(default="jev-latest", min_length=1)
|
|
27
|
+
|
|
28
|
+
@model_validator(mode="after")
|
|
29
|
+
def validate_request(self):
|
|
30
|
+
singular = "state" in self.model_fields_set
|
|
31
|
+
plural = "states" in self.model_fields_set
|
|
32
|
+
if singular == plural:
|
|
33
|
+
raise ValueError("Supply exactly one of state or states")
|
|
34
|
+
if singular and self.state is None:
|
|
35
|
+
raise ValueError("state must be a string, object, or array")
|
|
36
|
+
if plural and not self.states:
|
|
37
|
+
raise ValueError("states must be a nonempty array")
|
|
38
|
+
for question in self.questions.values():
|
|
39
|
+
if isinstance(question, Choice) and not 1 <= len(question.criteria) <= 255:
|
|
40
|
+
raise ValueError("Choice requires 1 to 255 options")
|
|
41
|
+
if isinstance(question, Score) and not 2 <= len(question.criteria) <= 10:
|
|
42
|
+
raise ValueError("Score requires 2 to 10 levels")
|
|
43
|
+
return self
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
async def ordered_responses(client, states, questions, model, concurrency):
|
|
47
|
+
"""A sliding window bounds running calls AND completed results awaiting their turn."""
|
|
48
|
+
remaining = iter(states)
|
|
49
|
+
pending = deque()
|
|
50
|
+
|
|
51
|
+
def submit():
|
|
52
|
+
try:
|
|
53
|
+
state = next(remaining)
|
|
54
|
+
except StopIteration:
|
|
55
|
+
return
|
|
56
|
+
pending.append(asyncio.create_task(
|
|
57
|
+
client.system_one(state=state, questions=questions, model=model)
|
|
58
|
+
))
|
|
59
|
+
|
|
60
|
+
try:
|
|
61
|
+
for _ in range(min(concurrency, len(states))):
|
|
62
|
+
submit()
|
|
63
|
+
while pending:
|
|
64
|
+
# Keep the task in the deque while awaiting it, so cancellation catches it too.
|
|
65
|
+
response = await pending[0]
|
|
66
|
+
pending.popleft()
|
|
67
|
+
yield response
|
|
68
|
+
submit()
|
|
69
|
+
finally:
|
|
70
|
+
for task in pending:
|
|
71
|
+
task.cancel()
|
|
72
|
+
await asyncio.gather(*pending, return_exceptions=True)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def create_app(*, client_factory=AsyncTypeSafeClient, concurrency=None):
|
|
76
|
+
if concurrency is None:
|
|
77
|
+
concurrency = int(os.environ.get("JEVARO_CONCURRENCY", "8"))
|
|
78
|
+
if isinstance(concurrency, bool) or not isinstance(concurrency, int) or concurrency < 1:
|
|
79
|
+
raise ValueError("JEVARO_CONCURRENCY must be a positive integer")
|
|
80
|
+
app = FastAPI(title="Jevaro", version="0.1.0")
|
|
81
|
+
|
|
82
|
+
@app.post("/v1/systemone", response_class=StreamingResponse)
|
|
83
|
+
async def system_one(
|
|
84
|
+
body: Evaluation, authorization: Annotated[str | None, Header()] = None,
|
|
85
|
+
):
|
|
86
|
+
if authorization is not None:
|
|
87
|
+
scheme, _, api_key = authorization.partition(" ")
|
|
88
|
+
if scheme.lower() != "bearer" or not api_key.strip():
|
|
89
|
+
raise HTTPException(401, "Expected Authorization: Bearer <TYPESAFE_API_KEY>")
|
|
90
|
+
api_key = api_key.strip()
|
|
91
|
+
else:
|
|
92
|
+
api_key = os.environ.get("TYPESAFE_API_KEY")
|
|
93
|
+
if not api_key:
|
|
94
|
+
raise HTTPException(401, "Set TYPESAFE_API_KEY or send an Authorization bearer token")
|
|
95
|
+
|
|
96
|
+
states = body.states if body.states is not None else [body.state]
|
|
97
|
+
try:
|
|
98
|
+
schema = schema_for(body.questions)
|
|
99
|
+
except (ValueError, TypeError) as error:
|
|
100
|
+
raise HTTPException(422, str(error)) from error
|
|
101
|
+
|
|
102
|
+
async def stream():
|
|
103
|
+
sink = StreamSink()
|
|
104
|
+
writer = pa.ipc.new_stream(sink, schema)
|
|
105
|
+
try:
|
|
106
|
+
# Arrow emits the schema on the first write. Flush a zero-row batch
|
|
107
|
+
# before constructing the upstream client or starting any API calls.
|
|
108
|
+
writer.write_batch(pa.RecordBatch.from_arrays(
|
|
109
|
+
[field.type.array([]) for field in schema], schema=schema,
|
|
110
|
+
))
|
|
111
|
+
yield sink.drain()
|
|
112
|
+
async with client_factory(
|
|
113
|
+
api_key=api_key,
|
|
114
|
+
base_url=os.environ.get("TYPESAFE_UPSTREAM_URL", "https://api.typesafe.ai"),
|
|
115
|
+
) as client:
|
|
116
|
+
responses = ordered_responses(
|
|
117
|
+
client, states, body.questions, body.model, concurrency,
|
|
118
|
+
)
|
|
119
|
+
try:
|
|
120
|
+
async for response in responses:
|
|
121
|
+
writer.write_batch(answer_batch(schema, response))
|
|
122
|
+
yield sink.drain()
|
|
123
|
+
finally:
|
|
124
|
+
await responses.aclose()
|
|
125
|
+
writer.close()
|
|
126
|
+
yield sink.drain() # Normal completion alone sends the Arrow EOS marker.
|
|
127
|
+
finally:
|
|
128
|
+
# On failure/disconnect, discard any buffered EOS; the HTTP stream aborts.
|
|
129
|
+
writer.close()
|
|
130
|
+
sink.close()
|
|
131
|
+
|
|
132
|
+
return StreamingResponse(stream(), media_type=MEDIA_TYPE, headers={
|
|
133
|
+
"X-Accel-Buffering": "no",
|
|
134
|
+
"X-Jevaro-Row-Count": str(len(states)),
|
|
135
|
+
})
|
|
136
|
+
|
|
137
|
+
return app
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
app = create_app()
|
jevaro_server/arrow.py
ADDED
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
"""Compact answer-only Arrow schema. No original prompts or requested model."""
|
|
2
|
+
|
|
3
|
+
import io
|
|
4
|
+
import json
|
|
5
|
+
|
|
6
|
+
import pyarrow as pa
|
|
7
|
+
from typesafe_sdk import Choice, ChoiceAnswer, Noul, NoulAnswer, Score, ScoreAnswer
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def required(name, data_type):
|
|
11
|
+
return pa.field(name, data_type, nullable=False)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def probabilities(size):
|
|
15
|
+
return pa.list_(required("item", pa.float64()), size)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
class AnswerType(pa.ExtensionType):
|
|
19
|
+
def __init__(self, storage, **metadata):
|
|
20
|
+
self._metadata = json.dumps(
|
|
21
|
+
metadata, ensure_ascii=False,
|
|
22
|
+
separators=(",", ":"), allow_nan=False,
|
|
23
|
+
).encode()
|
|
24
|
+
super().__init__(storage, f"jevaro.{self.kind}")
|
|
25
|
+
|
|
26
|
+
def __arrow_ext_serialize__(self):
|
|
27
|
+
return self._metadata
|
|
28
|
+
|
|
29
|
+
@classmethod
|
|
30
|
+
def __arrow_ext_deserialize__(cls, storage, serialized):
|
|
31
|
+
metadata = json.loads(serialized)
|
|
32
|
+
result = cls(**metadata)
|
|
33
|
+
if not storage.equals(result.storage_type):
|
|
34
|
+
raise ValueError("Storage does not match Jevaro extension metadata")
|
|
35
|
+
return result
|
|
36
|
+
|
|
37
|
+
def __eq__(self, other):
|
|
38
|
+
if not isinstance(other, AnswerType):
|
|
39
|
+
return NotImplemented
|
|
40
|
+
return (type(self) is type(other) and self.storage_type == other.storage_type
|
|
41
|
+
and self._metadata == other._metadata)
|
|
42
|
+
|
|
43
|
+
def __ne__(self, other):
|
|
44
|
+
equal = self.__eq__(other)
|
|
45
|
+
return NotImplemented if equal is NotImplemented else not equal
|
|
46
|
+
|
|
47
|
+
def __hash__(self):
|
|
48
|
+
return hash((type(self), self.storage_type, self._metadata))
|
|
49
|
+
|
|
50
|
+
def array(self, answers):
|
|
51
|
+
storage = pa.array([self.pack(answer) for answer in answers], self.storage_type)
|
|
52
|
+
return pa.ExtensionArray.from_storage(self, storage)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class ChoiceType(AnswerType):
|
|
56
|
+
kind = "choice"
|
|
57
|
+
|
|
58
|
+
def __init__(self, labels):
|
|
59
|
+
self.labels = tuple(labels)
|
|
60
|
+
if (not 1 <= len(self.labels) <= 255
|
|
61
|
+
or any(not isinstance(label, str) for label in self.labels)
|
|
62
|
+
or len(set(self.labels)) != len(self.labels)):
|
|
63
|
+
raise ValueError("Choice requires 1 to 255 unique string labels")
|
|
64
|
+
super().__init__(pa.struct([
|
|
65
|
+
required("choice", pa.uint8()),
|
|
66
|
+
required("confidence", pa.float64()),
|
|
67
|
+
required("probabilities", probabilities(len(self.labels))),
|
|
68
|
+
]), labels=self.labels)
|
|
69
|
+
|
|
70
|
+
def pack(self, answer):
|
|
71
|
+
if not isinstance(answer, ChoiceAnswer) or set(answer.probabilities) != set(self.labels):
|
|
72
|
+
raise ValueError("Choice answer does not match the schema")
|
|
73
|
+
return {
|
|
74
|
+
"choice": self.labels.index(answer.choice),
|
|
75
|
+
"confidence": answer.confidence,
|
|
76
|
+
"probabilities": [answer.probabilities[label] for label in self.labels],
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class ScoreType(AnswerType):
|
|
81
|
+
kind = "score"
|
|
82
|
+
|
|
83
|
+
def __init__(self, legend):
|
|
84
|
+
if not isinstance(legend, (list, tuple)) or not 2 <= len(legend) <= 10:
|
|
85
|
+
raise ValueError("Score requires 2 to 10 levels")
|
|
86
|
+
super().__init__(pa.struct([
|
|
87
|
+
required("score", pa.float64()),
|
|
88
|
+
required("confidence", pa.float64()),
|
|
89
|
+
required("probabilities", probabilities(len(legend))),
|
|
90
|
+
]), legend=legend)
|
|
91
|
+
|
|
92
|
+
def pack(self, answer):
|
|
93
|
+
legend = dict(enumerate(json.loads(self._metadata)["legend"]))
|
|
94
|
+
if (not isinstance(answer, ScoreAnswer) or answer.legend != legend
|
|
95
|
+
or set(answer.probabilities) != set(legend)):
|
|
96
|
+
raise ValueError("Score answer does not match the schema")
|
|
97
|
+
return {
|
|
98
|
+
"score": answer.score,
|
|
99
|
+
"confidence": answer.confidence,
|
|
100
|
+
"probabilities": [answer.probabilities[level] for level in legend],
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class NoulType(AnswerType):
|
|
105
|
+
kind = "noul"
|
|
106
|
+
|
|
107
|
+
def __init__(self):
|
|
108
|
+
super().__init__(pa.float64())
|
|
109
|
+
|
|
110
|
+
def pack(self, answer):
|
|
111
|
+
if not isinstance(answer, NoulAnswer):
|
|
112
|
+
raise ValueError("Expected a Noul answer")
|
|
113
|
+
return answer.noul
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
def schema_for(questions):
|
|
117
|
+
def answer_type(question):
|
|
118
|
+
if isinstance(question, Choice):
|
|
119
|
+
return ChoiceType(question.criteria)
|
|
120
|
+
if isinstance(question, Score):
|
|
121
|
+
return ScoreType(question.criteria)
|
|
122
|
+
if isinstance(question, Noul):
|
|
123
|
+
return NoulType()
|
|
124
|
+
raise TypeError("Unsupported question type")
|
|
125
|
+
|
|
126
|
+
return pa.schema([required(name, answer_type(q)) for name, q in questions.items()])
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def answer_batch(schema, response):
|
|
130
|
+
if set(response.answers) != set(schema.names):
|
|
131
|
+
raise ValueError("Response answer names do not match the questions")
|
|
132
|
+
return pa.RecordBatch.from_arrays(
|
|
133
|
+
[field.type.array([response.answers[field.name]]) for field in schema], schema=schema,
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class StreamSink(io.RawIOBase):
|
|
138
|
+
"""Keep only the bytes since the last HTTP chunk, not the whole IPC stream."""
|
|
139
|
+
|
|
140
|
+
def __init__(self):
|
|
141
|
+
super().__init__()
|
|
142
|
+
self._chunks = []
|
|
143
|
+
self._position = 0
|
|
144
|
+
|
|
145
|
+
def writable(self):
|
|
146
|
+
return True
|
|
147
|
+
|
|
148
|
+
def tell(self):
|
|
149
|
+
return self._position
|
|
150
|
+
|
|
151
|
+
def write(self, data):
|
|
152
|
+
data = bytes(data)
|
|
153
|
+
self._chunks.append(data)
|
|
154
|
+
self._position += len(data)
|
|
155
|
+
return len(data)
|
|
156
|
+
|
|
157
|
+
def drain(self):
|
|
158
|
+
data = b"".join(self._chunks)
|
|
159
|
+
self._chunks.clear()
|
|
160
|
+
return data
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: jevaro-server
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A small TypeSafe-to-Arrow streaming proxy
|
|
5
|
+
Author: Columnar Technologies Inc.
|
|
6
|
+
License-Expression: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/columnar-tech/jevaro
|
|
8
|
+
Project-URL: Documentation, https://github.com/columnar-tech/jevaro/blob/main/jevaro-server/README.md
|
|
9
|
+
Project-URL: Repository, https://github.com/columnar-tech/jevaro
|
|
10
|
+
Project-URL: Issues, https://github.com/columnar-tech/jevaro/issues
|
|
11
|
+
Requires-Python: >=3.11
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
License-File: LICENSE
|
|
14
|
+
License-File: NOTICE
|
|
15
|
+
Requires-Dist: fastapi<1,>=0.115
|
|
16
|
+
Requires-Dist: uvicorn<1,>=0.30
|
|
17
|
+
Requires-Dist: typesafe-sdk==0.7.2
|
|
18
|
+
Requires-Dist: pyarrow==25.0.1
|
|
19
|
+
Dynamic: license-file
|
|
20
|
+
|
|
21
|
+
# Jevaro server
|
|
22
|
+
|
|
23
|
+
A Python proxy that evaluates states with TypeSafe and streams the answers
|
|
24
|
+
as Arrow. See the [quickstart](https://github.com/columnar-tech/jevaro/blob/main/docs/quickstart.md)
|
|
25
|
+
for an example using both SDKs.
|
|
26
|
+
|
|
27
|
+
## Run
|
|
28
|
+
|
|
29
|
+
Requires Python 3.11+.
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
python3 -m venv .venv
|
|
33
|
+
.venv/bin/python -m pip install jevaro-server
|
|
34
|
+
export TYPESAFE_API_KEY="your-api-key"
|
|
35
|
+
.venv/bin/jevaro-server
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
The default address is `http://127.0.0.1:8000`. Change it with `--host` and
|
|
39
|
+
`--port`. `python -m jevaro_server` runs the same command in an activated
|
|
40
|
+
environment.
|
|
41
|
+
|
|
42
|
+
## Configuration
|
|
43
|
+
|
|
44
|
+
| Setting | Default | Purpose |
|
|
45
|
+
| --- | --- | --- |
|
|
46
|
+
| `--host` | `127.0.0.1` | Listen address |
|
|
47
|
+
| `--port` | `8000` | Listen port |
|
|
48
|
+
| `TYPESAFE_API_KEY` | Unset | Upstream key when a request has no bearer token |
|
|
49
|
+
| `TYPESAFE_UPSTREAM_URL` | `https://api.typesafe.ai` | Upstream API base URL |
|
|
50
|
+
| `JEVARO_CONCURRENCY` | `8` | Maximum pending calls/results per incoming request; positive integer |
|
|
51
|
+
|
|
52
|
+
An incoming `Authorization: Bearer <key>` overrides the server's key and is
|
|
53
|
+
forwarded to TypeSafe. A request without that header uses the server's key.
|
|
54
|
+
Jevaro has no separate client access control: keep it local, or put
|
|
55
|
+
authentication in front of a shared server.
|
|
56
|
+
|
|
57
|
+
`TYPESAFE_BASE_URL` is an SDK setting for reaching Jevaro. The server uses
|
|
58
|
+
`TYPESAFE_UPSTREAM_URL` to reach TypeSafe.
|
|
59
|
+
|
|
60
|
+
## Streaming
|
|
61
|
+
|
|
62
|
+
`POST /v1/systemone` accepts `state` or a nonempty `states` array and a map of
|
|
63
|
+
questions. After validating the request, the server sends the schema and an
|
|
64
|
+
empty batch before starting upstream calls. Each later batch contains one
|
|
65
|
+
answer row, in input order.
|
|
66
|
+
|
|
67
|
+
The response uses `application/vnd.apache.arrow.stream` and has no
|
|
68
|
+
`Content-Length`. It sets `X-Accel-Buffering: no`; configure any reverse proxy
|
|
69
|
+
to pass the stream without buffering.
|
|
70
|
+
|
|
71
|
+
See the [HTTP API](https://github.com/columnar-tech/jevaro/blob/main/docs/http-api.md)
|
|
72
|
+
and [Arrow schema](https://github.com/columnar-tech/jevaro/blob/main/docs/arrow-schema.md)
|
|
73
|
+
for the request and result formats.
|
|
74
|
+
|
|
75
|
+
## Limits
|
|
76
|
+
|
|
77
|
+
The full JSON request is held in memory. Pending calls and completed answers
|
|
78
|
+
waiting for their turn are bounded by `JEVARO_CONCURRENCY`. A slow earlier
|
|
79
|
+
call delays later rows. Closing the stream cancels pending work; calls already
|
|
80
|
+
processed upstream still count as API use.
|
|
81
|
+
|
|
82
|
+
Retries use the official TypeSafe SDK's default policy, including backoff for
|
|
83
|
+
429 and 529 responses. Concurrency is per incoming request. This version has
|
|
84
|
+
no shared account rate limiter.
|
|
85
|
+
|
|
86
|
+
If an upstream call fails after retries, the HTTP stream aborts. Its status
|
|
87
|
+
is already 200 at that point. Readers must consume the stream successfully
|
|
88
|
+
before treating the result as complete.
|
|
89
|
+
|
|
90
|
+
## Development
|
|
91
|
+
|
|
92
|
+
See [Contributing](https://github.com/columnar-tech/jevaro/blob/main/CONTRIBUTING.md)
|
|
93
|
+
for setup and tests. The server is independent of the earlier demo scripts.
|
|
94
|
+
|
|
95
|
+
[Apache-2.0](https://github.com/columnar-tech/jevaro/blob/main/LICENSE).
|
|
96
|
+
Copyright 2026 Columnar Technologies Inc.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
jevaro_server/__init__.py,sha256=zjVPHIDov1GoMJiilAWYyIXc99m1S-mq_oXPgOKioQ8,64
|
|
2
|
+
jevaro_server/__main__.py,sha256=9vb2V2SxyBICJ-S67vSBxl6vU2p8OaXV-J83l2Isye0,382
|
|
3
|
+
jevaro_server/app.py,sha256=qRt01oxEpTDLWue6VwF3AwY5YiFUvr4Ea5IDBjQTKf0,5660
|
|
4
|
+
jevaro_server/arrow.py,sha256=fxNcOASQxlHYVjJB4CN8qykVSkAXsJSp3Jg83AJiIro,5290
|
|
5
|
+
jevaro_server-0.1.0.dist-info/licenses/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
|
|
6
|
+
jevaro_server-0.1.0.dist-info/licenses/NOTICE,sha256=IGR81ak0xjdH-cxNCbcVqj3ZcyIr8em859UZE-Vhjns,98
|
|
7
|
+
jevaro_server-0.1.0.dist-info/METADATA,sha256=Xkdw1kv1hCR70J_8wVkUNMc6WfnOtlXKynmSUDzHmdU,3727
|
|
8
|
+
jevaro_server-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
|
|
9
|
+
jevaro_server-0.1.0.dist-info/entry_points.txt,sha256=LBkzzNQVkgvH4LYX0L8ir-CZgTlCjw9JP5OHhq0H-7Y,62
|
|
10
|
+
jevaro_server-0.1.0.dist-info/top_level.txt,sha256=Ev2p6qndPxdlr5i8RvQaHmh-uf_NWIEOZiYF2JEUSHQ,14
|
|
11
|
+
jevaro_server-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
jevaro_server
|