Code Monkey home page Code Monkey logo

codewithdev / apache-avro-docs Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 419 KB

Apache Avro is a Data Serialisation system that converts the data objects into stream of bytes. It supports multiple languages. This documentation is created using Sphinx in Python for Docs generator.

License: Apache License 2.0

Makefile 0.18% JavaScript 12.38% CSS 9.42% HTML 59.02% Python 18.76% Batchfile 0.23%
avro-data avro-kafka avro-schema contribution docs hacktoberfest open-source python schema serialization

apache-avro-docs's Introduction

Avro Python API References

Avro is a Data Serialization framework that converts any data format into machine and binary format. Avro supports Python3. These documentation will guide you through the Python's Avro APIs, classes, and methods. The documentation are generated using Sphinx and pages are built using the Myst in Sphinx.

Consideration before running the Docs.

  • Clone the repo https://github.com/codewithdev/Apache-Avro-Docs.git.
  • Open the Apache-Avro-Docs directory with an IDE (Recommended Pycharm).
  • Open the terminal and type pip install -r requirement.txt to install required packages.
  • You will see conf.py a configuration file which you can use to modify the template, extensions, and other configuration of Sphinx.
  • To play with the documentation, in the terminal, type make html to create HTML version of pages. The HTML version of the pages are always generated and stored within the build > html folder.

Installing Sphinx docs using Python Virtual Environment

Create a virtual environment using python3 -m venv venv. If you are using PyCharm IDE, by default it creates a new virtual environment. You can choose to select the virtual environment where you want to install the librarires.

Running Docs locally

Sphinx is a Open Source Python documentation generator. The Avro documentation pages are generated using the markdown (Myst) library in Sphinx. Once the .md pages are converted into HTML, you can see it live on your local server by typing; sphinx-autobuild source build/html. You will see the localserver has started running on http://localhost:8000/ or http://127.0.0.1:8000/.

Sphinx Documentation Theme

The documentation is crafted on Furo theme. However, after installing the packages from requirement.txt and running the docs locally, if you are still seeing the default theme albaster, you can refer to the Furo docs.

Accessing the Example Code

Avro sample file uses DataFileReader and DataFileWriter in the example.py file to read/write data to Avro files. For more information, access the file from the example.py. If you run the code, it generates the output in the example.avro Avro file.

apache-avro-docs's People

Contributors

codewithdev avatar

Watchers

 avatar  avatar

apache-avro-docs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.