Repository: queryverse/Queryverse.jl Branch: master Commit: ed96cd34df9f Files: 20 Total size: 10.4 KB Directory structure: gitextract_2zyx95fu/ ├── .codecov.yml ├── .github/ │ └── workflows/ │ ├── jlpkgbutler-butler-workflow.yml │ ├── jlpkgbutler-ci-master-workflow.yml │ ├── jlpkgbutler-ci-pr-workflow.yml │ ├── jlpkgbutler-codeformat-pr-workflow.yml │ ├── jlpkgbutler-compathelper-workflow.yml │ ├── jlpkgbutler-docdeploy-workflow.yml │ └── jlpkgbutler-tagbot-workflow.yml ├── .gitignore ├── .jlpkgbutler.toml ├── LICENSE.md ├── NEWS.md ├── Project.toml ├── README.md ├── docs/ │ ├── Project.toml │ ├── make.jl │ └── src/ │ └── index.md ├── src/ │ └── Queryverse.jl └── test/ ├── runtests.jl └── testdata.csv ================================================ FILE CONTENTS ================================================ ================================================ FILE: .codecov.yml ================================================ comment: false ================================================ FILE: .github/workflows/jlpkgbutler-butler-workflow.yml ================================================ name: Run the Julia Package Butler on: push: branches: - main - master schedule: - cron: '0 */1 * * *' workflow_dispatch: jobs: butler: name: "Run Package Butler" runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: davidanthoff/julia-pkgbutler@releases/v1 with: github-token: ${{ secrets.GITHUB_TOKEN }} ssh-private-key: ${{ secrets.JLPKGBUTLER_TOKEN }} channel: stable ================================================ FILE: .github/workflows/jlpkgbutler-ci-master-workflow.yml ================================================ name: Run CI on main on: push: branches: - main - master workflow_dispatch: jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10'] julia-arch: [x64, x86] os: [ubuntu-latest, windows-latest, macOS-latest] exclude: - os: macOS-latest julia-arch: x86 - os: ubuntu-latest julia-arch: x86 julia-version: 1.0.5 - os: ubuntu-latest julia-arch: x86 julia-version: 1.1.1 - os: ubuntu-latest julia-arch: x86 julia-version: 1.2.0 steps: - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.julia-version }} arch: ${{ matrix.julia-arch }} - uses: julia-actions/julia-buildpkg@v1 env: PYTHON: "" - uses: julia-actions/julia-runtest@v1 env: PYTHON: "" - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v3 with: files: ./lcov.info flags: unittests token: ${{ secrets.CODECOV_TOKEN }} ================================================ FILE: .github/workflows/jlpkgbutler-ci-pr-workflow.yml ================================================ name: Run CI on PR on: pull_request: types: [opened, synchronize, reopened] jobs: test: runs-on: ${{ matrix.os }} strategy: matrix: julia-version: ['1.0', '1.1', '1.2', '1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10'] julia-arch: [x64, x86] os: [ubuntu-latest, windows-latest, macOS-latest] exclude: - os: macOS-latest julia-arch: x86 - os: ubuntu-latest julia-arch: x86 julia-version: 1.0.5 - os: ubuntu-latest julia-arch: x86 julia-version: 1.1.1 - os: ubuntu-latest julia-arch: x86 julia-version: 1.2.0 steps: - uses: actions/checkout@v3 - uses: julia-actions/setup-julia@v1 with: version: ${{ matrix.julia-version }} arch: ${{ matrix.julia-arch }} - uses: julia-actions/julia-buildpkg@v1 env: PYTHON: "" - uses: julia-actions/julia-runtest@v1 env: PYTHON: "" - uses: julia-actions/julia-processcoverage@v1 - uses: codecov/codecov-action@v3 with: files: ./lcov.info flags: unittests token: ${{ secrets.CODECOV_TOKEN }} ================================================ FILE: .github/workflows/jlpkgbutler-codeformat-pr-workflow.yml ================================================ name: Code Formatting on: push: branches: - main - master workflow_dispatch: jobs: format: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: julia-actions/julia-codeformat@releases/v1 - name: Create Pull Request uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GITHUB_TOKEN }} commit-message: Format files using DocumentFormat title: '[AUTO] Format files using DocumentFormat' body: '[DocumentFormat.jl](https://github.com/julia-vscode/DocumentFormat.jl) would suggest these formatting changes' labels: no changelog ================================================ FILE: .github/workflows/jlpkgbutler-compathelper-workflow.yml ================================================ name: Run CompatHelper on: schedule: - cron: '00 * * * *' issues: types: [opened, reopened] workflow_dispatch: jobs: CompatHelper: name: "Run CompatHelper.jl" runs-on: ubuntu-latest steps: - name: Pkg.add("CompatHelper") run: julia -e 'using Pkg; Pkg.add("CompatHelper")' - name: CompatHelper.main() env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: julia -e 'using CompatHelper; CompatHelper.main()' ================================================ FILE: .github/workflows/jlpkgbutler-docdeploy-workflow.yml ================================================ name: Deploy documentation on: push: branches: - main - master tags: - v* workflow_dispatch: jobs: docdeploy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: julia-actions/julia-buildpkg@v1 env: PYTHON: "" - uses: julia-actions/julia-docdeploy@latest env: DOCUMENTER_KEY: ${{ secrets.JLPKGBUTLER_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} ================================================ FILE: .github/workflows/jlpkgbutler-tagbot-workflow.yml ================================================ name: TagBot on: issue_comment: types: - created workflow_dispatch: jobs: TagBot: if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' runs-on: ubuntu-latest steps: - uses: JuliaRegistries/TagBot@v1 with: token: ${{ secrets.GITHUB_TOKEN }} ssh: ${{ secrets.JLPKGBUTLER_TOKEN }} branches: true ================================================ FILE: .gitignore ================================================ *.jl.cov *.jl.*.cov *.jl.mem Manifest.toml .vscode ================================================ FILE: .jlpkgbutler.toml ================================================ template = "bach" strategy-matrix-exclude = "os: ubuntu-latest, julia-arch: x86, julia-version: 1.0.5; os: ubuntu-latest, julia-arch: x86, julia-version: 1.1.1; os: ubuntu-latest, julia-arch: x86, julia-version: 1.2.0;" ================================================ FILE: LICENSE.md ================================================ The Queryverse.jl package is licensed under the MIT "Expat" License: > Copyright (c) 2017-2019: David Anthoff. > > > Permission is hereby granted, free of charge, to any person obtaining a copy > > of this software and associated documentation files (the "Software"), to deal > > in the Software without restriction, including without limitation the rights > > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell > > copies of the Software, and to permit persons to whom the Software is > > furnished to do so, subject to the following conditions: > > > > The above copyright notice and this permission notice shall be included in all > > copies or substantial portions of the Software. > > > > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR > > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, > > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE > > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER > > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, > > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE > > SOFTWARE. > > ================================================ FILE: NEWS.md ================================================ # Queryverse.jl v1.0.0 Release Notes * Remove QueryTables.jl and add DataTables.jl * Update all minimal versions of all packages # Queryverse.jl v0.3.1 Release Notes * Make a test more robust # Queryverse.jl v0.3.0 Release Notes * Add QueryTables.jl # Queryverse.jl v0.2.0 Release Notes * Add ParquetFiles back into the mix # Queryverse.jl v0.1.0 Release Notes * Drop julia 0.6 support, add julia 0.7/1.0 support # Queryverse.jl v0.0.2 Release Notes * Fix bug in @tee macro # Queryverse.jl v0.0.1 Release Notes * Initial release ================================================ FILE: Project.toml ================================================ name = "Queryverse" uuid = "612083be-0b0f-5412-89c1-4e7c75506a58" version = "0.7.1-DEV" [deps] CSVFiles = "5d742f6a-9f54-50ce-8119-2520741973ca" DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0" DataTables = "743a1d0a-8ebc-4f23-814b-50d006366bc6" DataValues = "e7dc6d0d-1eca-5fa6-8ad6-5aecde8b7ea5" DataVoyager = "5721bf48-af8e-5845-8445-c9e18126e773" ExcelFiles = "89b67f3b-d1aa-5f6f-9ca4-282e8d98620d" FeatherFiles = "b675d258-116a-5741-b937-b79f054b0542" FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549" IterableTables = "1c8ee90f-4401-5389-894e-7a04a3dc0f4d" ParquetFiles = "46a55296-af5a-53b0-aaa0-97023b66127f" Query = "1a8c2f83-1ff3-5112-b086-8aa67b057ba1" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" StatFiles = "1463e38c-9381-5320-bcd4-4134955f093a" VegaLite = "112f6efa-9a02-5b7d-90c0-432ed331239a" [compat] CSVFiles = "1" DataFrames = "0.20, 0.21, 0.22, 1.0" DataTables = "0.1" DataValues = "0.4.4" DataVoyager = "0.3, 1" ExcelFiles = "1" FeatherFiles = "0.8" FileIO = "1" IterableTables = "1" ParquetFiles = "0.2" Query = "0.12, 1.0" Reexport = "0.2, 1" StatFiles = "0.8" VegaLite = "1, 2.0, 3" julia = "1" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [targets] test = ["Test"] ================================================ FILE: README.md ================================================ # Queryverse [![Project Status: Active - The project has reached a stable, usable state and is being actively developed.](http://www.repostatus.org/badges/latest/active.svg)](http://www.repostatus.org/#active) [![Build Status](https://travis-ci.org/queryverse/Queryverse.jl.svg?branch=master)](https://travis-ci.org/queryverse/Queryverse.jl) [![Build status](https://ci.appveyor.com/api/projects/status/4bf4b25hr0b68xbm/branch/master?svg=true)](https://ci.appveyor.com/project/queryverse/queryverse-jl/branch/master) [![codecov.io](http://codecov.io/github/queryverse/Queryverse.jl/coverage.svg?branch=master)](http://codecov.io/github/queryverse/Queryverse.jl?branch=master) ## Overview Queryverse.jl is a meta package that pulls together a number of packages for handling data in julia. You can learn more at https://www.queryverse.org/. ## Installation You can add the package with: ````julia pkg> add Queryverse ```` ================================================ FILE: docs/Project.toml ================================================ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" [compat] Documenter = "~0.24" ================================================ FILE: docs/make.jl ================================================ using Documenter, Queryverse makedocs( modules=[Queryverse], sitename="Queryverse.jl", analytics="UA-132838790-1", pages=[ "Introduction" => "index.md" ] ) deploydocs( repo="github.com/queryverse/Queryverse.jl.git" ) ================================================ FILE: docs/src/index.md ================================================ # Introduction ================================================ FILE: src/Queryverse.jl ================================================ module Queryverse using Reexport @reexport using DataValues import IterableTables @reexport using Query @reexport using DataTables @reexport using DataFrames @reexport using FileIO @reexport using ExcelFiles @reexport using StatFiles @reexport using CSVFiles @reexport using FeatherFiles @reexport using ParquetFiles @reexport using VegaLite @reexport using DataVoyager export DV export @tee macro tee(ex) quote x -> begin x |> $(esc(ex)) return x end end end const DV = DataValues.DataValue end # module ================================================ FILE: test/runtests.jl ================================================ using Queryverse using Test @testset "Queryverse" begin df = load(joinpath(@__DIR__, "testdata.csv")) |> @query(i, begin @select {i.Count, i.Year} end) |> @tee(save("testoutput.csv")) |> # @tee(begin # data_values() |> # mark_point() |> # encoding_x_ord(:Year) |> # encoding_y_quant(:Count) |> # save("testoutput.pdf") # end) |> DataFrame @test size(df) == (2, 2) io = IOBuffer() f(x) = print(io, sum(x + x)) 1:10 |> @tee(f) |> x -> print(io, " ", sum(x)) @test String(take!(io)) == "110 55" end ================================================ FILE: test/testdata.csv ================================================ Year,Count 2000,23. 2001,254.