Skip to content

Commit 73e7225

Browse files
author
DvirDukhan
authored
new license (#280)
* new license * license in source * fixed license.txt * rename license folder
1 parent b46b8a4 commit 73e7225

File tree

118 files changed

+833
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+833
-4
lines changed

LICENSE.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Except as otherwise specified in the source code headers for specific files, the source code in this repository is made available to you under your choice of
2+
(i) Redis Source Available License 2.0 (RSALv2) or (ii) the Server Side Public License v1 (SSPLv1)

license/RSALv2.txt

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
Redis Source Available License 2.0 dated November 15, 2022
2+
3+
## Acceptance
4+
5+
By using the software, you agree to all of the terms and conditions below.
6+
7+
## Copyright License
8+
9+
The licensor grants you a non-exclusive, royalty-free, worldwide, non-sublicensable, non-transferable license to use, copy, distribute, make available, and prepare derivative works of the software, in each case subject to the limitations and conditions below.
10+
11+
## Limitations
12+
13+
You may not make the functionality of the software or a modified version available to third parties as a service, or distribute the software or a modified version in a manner that makes the functionality of the software available to third parties.
14+
Making the functionality of the software or modified version available to third parties includes, without limitation, enabling third parties to interact with the functionality of the software or modified version in distributed form or remotely through a computer network, offering a product or service the value of which entirely or primarily derives from the value of the software or modified version, or offering a product or service that accomplishes for users the primary purpose of the software or modified version.
15+
16+
You may not alter, remove, or obscure any licensing, copyright, or other notices of the licensor in the software. Any use of the licensor’s trademarks is subject to applicable law.
17+
18+
## Patents
19+
20+
The licensor grants you a license, under any patent claims the licensor can license, or becomes able to license, to make, have made, use, sell, offer for sale, import and have imported the software, in each case subject to the limitations and conditions in this license. This license does not cover any patent claims that you cause to be infringed by modifications or additions to the software. If you or your company make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
21+
22+
## Notices
23+
24+
You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms.
25+
If you modify the software, you must include in any modified copies of the software prominent notices stating that you have modified the software.
26+
27+
## No Other Rights
28+
29+
These terms do not imply any licenses other than those expressly granted in these terms.
30+
Termination
31+
32+
If you use the software in violation of these terms, such use is not licensed, and your licenses will automatically terminate. If the licensor provides you with a notice of your violation, and you cease all violations of this license no later than 30 days after you receive that notice, your licenses will be reinstated retroactively. However, if you violate these terms after such reinstatement, any additional violation of these terms will cause your licenses to terminate automatically and permanently.
33+
34+
## No Liability
35+
36+
As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.
37+
38+
## Definitions
39+
40+
The licensor is the entity offering these terms, and the software is the software the licensor makes available under these terms, including any portion of it.
41+
42+
To modify a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission other than making an exact copy. The resulting work is called a modified version of the earlier work.
43+
44+
you refers to the individual or entity agreeing to these terms.
45+
46+
your company is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. control means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
47+
48+
your licenses are all the licenses granted to you for the software under these terms.
49+
50+
use means anything you do with the software requiring one of your licenses.
51+
52+
trademark means trademarks, service marks, and similar rights.
53+
54+
55+

LICENSE renamed to license/SSPLv1.txt

Lines changed: 102 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Server Side Public License
22
VERSION 1, OCTOBER 16, 2018
33

4-
Copyright © 2021 Redis, Inc.
4+
Copyright © 2018 MongoDB, Inc.
55

66
Everyone is permitted to copy and distribute verbatim copies of this
77
license document, but changing it is not allowed.
@@ -500,7 +500,7 @@
500500

501501
14. Revised Versions of this License.
502502

503-
Redis, Inc. may publish revised and/or new versions of the Server Side
503+
MongoDB, Inc. may publish revised and/or new versions of the Server Side
504504
Public License from time to time. Such new versions will be similar in
505505
spirit to the present version, but may differ in detail to address new
506506
problems or concerns.
@@ -509,9 +509,9 @@
509509
specifies that a certain numbered version of the Server Side Public
510510
License “or any later version” applies to it, you have the option of
511511
following the terms and conditions either of that numbered version or of
512-
any later version published by Redis, Inc. If the Program does not
512+
any later version published by MongoDB, Inc. If the Program does not
513513
specify a version number of the Server Side Public License, you may
514-
choose any version ever published by Redis, Inc.
514+
choose any version ever published by MongoDB, Inc.
515515

516516
If the Program specifies that a proxy can decide which future versions of
517517
the Server Side Public License can be used, that proxy's public statement
@@ -555,3 +555,101 @@
555555
return for a fee.
556556

557557
END OF TERMS AND CONDITIONS
558+
559+
560+
561+
562+
563+
Elastic License 2.0
564+
565+
URL: https://www.elastic.co/licensing/elastic-license
566+
567+
## Acceptance
568+
569+
By using the software, you agree to all of the terms and conditions below.
570+
571+
## Copyright License
572+
573+
The licensor grants you a non-exclusive, royalty-free, worldwide,
574+
non-sublicensable, non-transferable license to use, copy, distribute, make
575+
available, and prepare derivative works of the software, in each case subject to
576+
the limitations and conditions below.
577+
578+
## Limitations
579+
580+
You may not provide the software to third parties as a hosted or managed
581+
service, where the service provides users with access to any substantial set of
582+
the features or functionality of the software.
583+
584+
You may not move, change, disable, or circumvent the license key functionality
585+
in the software, and you may not remove or obscure any functionality in the
586+
software that is protected by the license key.
587+
588+
You may not alter, remove, or obscure any licensing, copyright, or other notices
589+
of the licensor in the software. Any use of the licensor’s trademarks is subject
590+
to applicable law.
591+
592+
## Patents
593+
594+
The licensor grants you a license, under any patent claims the licensor can
595+
license, or becomes able to license, to make, have made, use, sell, offer for
596+
sale, import and have imported the software, in each case subject to the
597+
limitations and conditions in this license. This license does not cover any
598+
patent claims that you cause to be infringed by modifications or additions to
599+
the software. If you or your company make any written claim that the software
600+
infringes or contributes to infringement of any patent, your patent license for
601+
the software granted under these terms ends immediately. If your company makes
602+
such a claim, your patent license ends immediately for work on behalf of your
603+
company.
604+
605+
## Notices
606+
607+
You must ensure that anyone who gets a copy of any part of the software from you
608+
also gets a copy of these terms.
609+
610+
If you modify the software, you must include in any modified copies of the
611+
software prominent notices stating that you have modified the software.
612+
613+
## No Other Rights
614+
615+
These terms do not imply any licenses other than those expressly granted in
616+
these terms.
617+
618+
## Termination
619+
620+
If you use the software in violation of these terms, such use is not licensed,
621+
and your licenses will automatically terminate. If the licensor provides you
622+
with a notice of your violation, and you cease all violation of this license no
623+
later than 30 days after you receive that notice, your licenses will be
624+
reinstated retroactively. However, if you violate these terms after such
625+
reinstatement, any additional violation of these terms will cause your licenses
626+
to terminate automatically and permanently.
627+
628+
## No Liability
629+
630+
*As far as the law allows, the software comes as is, without any warranty or
631+
condition, and the licensor will not be liable to you for any damages arising
632+
out of these terms or the use or nature of the software, under any kind of
633+
legal claim.*
634+
635+
## Definitions
636+
637+
The **licensor** is the entity offering these terms, and the **software** is the
638+
software the licensor makes available under these terms, including any portion
639+
of it.
640+
641+
**you** refers to the individual or entity agreeing to these terms.
642+
643+
**your company** is any legal entity, sole proprietorship, or other kind of
644+
organization that you work for, plus all organizations that have control over,
645+
are under the control of, or are under common control with that
646+
organization. **control** means ownership of substantially all the assets of an
647+
entity, or the power to direct its management and policies by vote, contract, or
648+
otherwise. Control can be direct or indirect.
649+
650+
**your licenses** are all the licenses granted to you for the software under
651+
these terms.
652+
653+
**use** means anything you do with the software requiring one of your licenses.
654+
655+
**trademark** means trademarks, service marks, and similar rights.

scripts/BF_batches_clf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Redis Ltd. 2021 - present
2+
# Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
3+
# the Server Side Public License v1 (SSPLv1).
4+
15
import matplotlib.pyplot as plt
26
import numpy as np
37

scripts/HNSW_batches_clf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Copyright Redis Ltd. 2021 - present
2+
# Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
3+
# the Server Side Public License v1 (SSPLv1).
4+
15
import matplotlib.pyplot as plt
26
import numpy as np
37

src/VecSim/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1+
# Copyright Redis Ltd. 2021 - present
2+
# Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
3+
# the Server Side Public License v1 (SSPLv1).
4+
15
pass # needed for poetry to consider this to be a package

src/VecSim/algorithms/brute_force/bf_batch_iterator.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
*Copyright Redis Ltd. 2021 - present
3+
*Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
4+
*the Server Side Public License v1 (SSPLv1).
5+
*/
6+
17
#pragma once
28

39
#include "VecSim/batch_iterator.h"

src/VecSim/algorithms/brute_force/bfm_batch_iterator.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
*Copyright Redis Ltd. 2021 - present
3+
*Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
4+
*the Server Side Public License v1 (SSPLv1).
5+
*/
6+
17
#pragma once
28
#include "bf_batch_iterator.h"
39

src/VecSim/algorithms/brute_force/bfs_batch_iterator.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
*Copyright Redis Ltd. 2021 - present
3+
*Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
4+
*the Server Side Public License v1 (SSPLv1).
5+
*/
6+
17
#pragma once
28
#include "bf_batch_iterator.h"
39

src/VecSim/algorithms/brute_force/brute_force.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
/*
2+
*Copyright Redis Ltd. 2021 - present
3+
*Licensed under your choice of the Redis Source Available License 2.0 (RSALv2) or
4+
*the Server Side Public License v1 (SSPLv1).
5+
*/
6+
17
#pragma once
28

39
#include "vector_block.h"

0 commit comments

Comments
 (0)