Install
The official Apache Fory™ releases are provided as source artifacts.
For source download, please see Apache Fory™ download page.
Java
To add a dependency on Apache Fory™ using Maven, use the following:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
<version>0.12.3</version>
</dependency>
<!-- row/arrow format support -->
<!-- <dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-format</artifactId>
<version>0.12.3</version>
</dependency> -->
Scala
To add a dependency on Apache Fory™ scala for scala 2.13 with maven, use the following:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-scala_2.13</artifactId>
<version>0.12.3</version>
</dependency>
To add a dependency on Apache Fory™ scala for scala 3 with maven, use the following:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-scala_3</artifactId>
<version>0.12.3</version>
</dependency>
To add a dependency on Apache Fory™ scala for scala 2.13 with sbt, use the following:
libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "0.12.3"
To add a dependency on Apache Fory™ scala for scala 3 with sbt, use the following:
libraryDependencies += "org.apache.fory" % "fory-scala_3" % "0.12.3"
Kotlin
To add a dependency on Apache Fory™ kotlin with maven, use the following:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin</artifactId>
<version>0.12.3</version>
</dependency>
Python
python -m pip install --upgrade pip
pip install pyfory==0.12.3
JavaScript
Apache Fory™ is NOT yet available on npm, please install from source code now.