Skip to main content

VOXROW

Daftar isi:


Instalasi dan Cara Penggunaan VOXROW

$ pip install voxrow

Contoh cara penggunaan VOXROW dapat dilihat di example/example.ipynb.

MacOS (Hanya Jika Error)

Pastikan clang sudah terinstal. Jika tidak, maka jalankan perintah berikut ini:

$ xcode-select --install

Instal VOXROW dengan perintah berikut ini:

$ brew install openssl@3 rust && env LDFLAGS="-L$(brew --prefix openssl@3)/lib" CFLAGS="-I$(brew --prefix openssl@3)/include" pip install "voxrow[query]"

Server

Disarankan untuk menggunakan Ubuntu 18.04 x64 (CPU minimal 1 vCore, RAM minimal 512 MB, Storage minimal 10 GB SSD, dan Bandwidth minimal 500 GB), supaya memudahkan pengelolaan server dengan mengunakan script VOXROW. Adapun langkah yang harus dipersiapkan adalah sebagai berikut:

  1. Pastikan telah ada source-code VOXROW di komputer lokal dan server. Dapat dipergunakan perintah Git berikut ini:

    $ git clone --recurse-submodules -j8 https://gitlab.com/voxrow/library.git
    

    Jangan jalankan perintah ini di folder root/ milik server!

  2. Masuk ke folder server/:

    $ cd voxrow/src/server/
    
  3. Pastikan GNU Make sudah ada, dengan menjalankan perintah ini:

    $ . install/make_gnu.sh
    

    Script ini hanya dapat dipergunakan di Ubuntu Linux, instalasi untuk OS selain ini silahkan cari di internet.

  4. Jalankan perintah di komputer lokal dan server sebagai berikut:

    • Komputer lokal:

      Pastikan terlebih dahulu bahwa SSH Key Pair sudah dibuat, baca baik-baik instruksi dalam prosesnya! Berikut ini adalah perintahnya:

      $ sudo ssh-keygen
      

      Salin public key komputer lokal ke server dengan perintah ini:

      $ make local_ssh_key_to_server
      

      Ikuti instruksi yang dimintakan saat proses berjalan.

      Masukkan alamat server dan username root.

    • Server:

      Pastikan anda masuk sebagai username root!

      $ make
      

      Ikuti instruksi yang dimintakan saat proses berjalan. Setelah proses berakhir server akan reboot. Selesai reboot masuk kembali dengan username baru yang telah dibuat.

      GitLab CI/CD dipergunakan untuk mempermudah proses release aplikasi. Registrasi GitLab Runner di private server perlu dilakukan untuk proses CI/CD, berikut adalah perintahnya:

      $ make register_runner
      

      Setelah seluruh proses selesai dijalankan, maka hapuslah source-code VOXROW dari server, karena sudah tidak diperlukan lagi. Perintahnya adalah sebagai berikut:

      $ sudo rm -rf voxrow/
      

Source-code

Sebagai catatan beberapa perintah aplikasi di komputer lokal ini dapat berjalan dengan baik di OS MacOS dan Linux. Adapun untuk OS Windows perlu dilakukan sedikit penyesuaian.

Editor

VSCode (Visual Studio Code) dipergunakan untuk memudahkan dalam penulisan source-code.

Beberapa extension VSCode dipasangkan untuk memudahkan penulisan source-code, antara lain:

Repositori Git

Git GUI Sourcetree dapat dipergunakan untuk memudahkan pengelolaan repositori, pada sistem operasi Windows atau MacOS.

Branching model Git-Flow dari Vincent Driessen dipergunakan untuk memudahkan pengelolaan feature, release, dan hotfix di dalam repositori.

Tata Cara Penulisan Markdown

Beberapa sumber ini dapat dijadikan acuan tata cara penulisan markdown:

Python

Dipergunakan Python 3.8.0 (versi minimal).

Dalam mengembangkan source-code di komputer lokal, maka pertamakali perlu dibuat environtment python dengan langkah berikut ini:

  1. Pastikan versi python yang dipergunakan sudah sesuai.

    $ python3 -V
    
  2. Buat environtment python.

    $ python3 -m venv venv
    

    Instruksi terkait environtment python yang dapat dipergunakan antara lain:

    • Aktivasi:

      $ . venv/bin/activate
      

      Kembangkan source-code dengan kondisi environtment python sedang teraktivasi.

    • Deaktivasi:

      (venv) $ deactivate
      
  3. Pastikan pustaka pendukung terpasang di environtment python.

    (venv) $ pip install --upgrade pip && pip install -r requirements.txt
    

Lisensi

Lisensi yang dipergunakan adalah MS-RSL (Microsoft Reference Source License).

Metadata

Release files for voxrow 0.9.37

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for voxrow 0.9.37
File Size Uploaded Provenance Actions
voxrow-0.9.37.tar.gz 44.1 kB Without provenance Details for voxrow-0.9.37.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for voxrow 0.9.37
File Interpreter ABI Platform Actions
voxrow-0.9.37-py3-none-any.whl Python 3 none any Details for voxrow-0.9.37-py3-none-any.whl

Total release size: 120.2 kB

Release files / voxrow-0.9.37.tar.gz

Download URL voxrow-0.9.37.tar.gz
Size 44.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b22c5b530c8f5648cedc3a18583b2f3abc6fc6b65bc2365f6c945bde1d4ada18
BLAKE2b-256 checksum
How to use checksums
d54346427a402f8ee37da0d38d34a54c646550618988d815a60b28e178c14d64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.15

Release files / voxrow-0.9.37-py3-none-any.whl

Download URL voxrow-0.9.37-py3-none-any.whl
Size 76.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68d2396758fe7664b4c6e2a957e25d1f5b5aecff403a1776e761e37443761b81
BLAKE2b-256 checksum
How to use checksums
95e94d22d77be4f1e5824b52685bc92ff8b894f2c2bbef508fbe2967505e82ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.15

Security for voxrow 0.9.37

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.9.37 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page