Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
780 commits
Select commit Hold shift + click to select a range
2924126
Fix docs
quinnj Jun 26, 2020
3d2ad1f
Merge pull request #663 from JuliaData/jq/rowperf
quinnj Jun 26, 2020
3c51761
Lots of cleanup
quinnj Jun 27, 2020
0075065
Merge pull request #664 from JuliaData/jq/cleanup
quinnj Jun 27, 2020
d74c2fc
Quick fix for testing file
quinnj Jun 27, 2020
c0426a8
Add CSV.Chunks for iterating over chunks of large files
quinnj Jun 27, 2020
27a4af3
fix 32-bit
quinnj Jun 27, 2020
f5023fd
fix windows
quinnj Jun 27, 2020
ed3dab6
fix travis
quinnj Jun 27, 2020
bd4c8f3
Merge pull request #665 from JuliaData/jq/chunks
quinnj Jun 27, 2020
4ac8e99
Add some precompiles
quinnj Jun 27, 2020
138e323
Merge pull request #666 from JuliaData/jq/precompile
quinnj Jun 27, 2020
4671e57
Add SentinelArrays compat
quinnj Jun 27, 2020
0ceb5df
When column names passed manually, ensure we respect starting position
quinnj Jun 28, 2020
da0a5dc
Merge pull request #671 from JuliaData/jq/668
quinnj Jun 28, 2020
e9651d9
Bump version
quinnj Jun 28, 2020
d7ce2e7
Improve accuracy of estimated rows for multithreaded parsing
quinnj Jun 30, 2020
5b06308
Fix tests
quinnj Jun 30, 2020
ed48ad2
Merge pull request #673 from JuliaData/jq/estrows
quinnj Jul 1, 2020
b9cb5d4
Make the automatic pooled=>string column promotion more efficient
quinnj Jul 3, 2020
2933624
remove debug
quinnj Jul 3, 2020
88cf907
fix nightly test
quinnj Jul 3, 2020
e21beb3
Merge pull request #676 from JuliaData/jq/pool
quinnj Jul 3, 2020
478670f
Fix #678 by ensuring pooled columns get missing value set for invalid…
quinnj Jul 7, 2020
131f233
Bump version
quinnj Jul 7, 2020
b96868a
added documentation for the dateformats option
kragol Jul 8, 2020
d4ce5b6
Merge pull request #682 from kragol/document_dateformats
quinnj Jul 9, 2020
ce5d2ad
Ensure dropped columns are ignored in later file processing
quinnj Jul 9, 2020
df2541b
Fix typemap for our new custom types world
quinnj Jul 9, 2020
c53b274
Merge pull request #683 from JuliaData/jq/679
quinnj Jul 9, 2020
0238a22
Merge pull request #684 from JuliaData/jq/680
quinnj Jul 9, 2020
2658645
bump version
quinnj Jul 9, 2020
34f64c8
Add docs for reading non-UTF-8 files
nalimilan Jul 9, 2020
e48968a
Improve docstring
nalimilan Jul 9, 2020
464617c
Fix case when type is provided for dropped columns
quinnj Jul 10, 2020
ad9cc64
Merge pull request #686 from JuliaData/jq/679_part2
quinnj Jul 10, 2020
4136307
Merge pull request #685 from JuliaData/nl/encodings
quinnj Jul 10, 2020
ac3761d
Change deprecation warning for CSV.read
quinnj Jul 10, 2020
056e464
Sample column types when finding multithreaded row chunks
quinnj Jul 11, 2020
81ea51c
Fix writeheader=false deprecation (#692)
quinnj Jul 17, 2020
1bcc733
Bump version
quinnj Jul 18, 2020
65a6ce7
Example writing into zip archive
lungben Jul 23, 2020
7e77bb3
Merge pull request #693 from lungben/patch-1
quinnj Jul 25, 2020
c5ebf92
Merge pull request #687 from JuliaData/jq/csvread
quinnj Jul 28, 2020
90a1c3d
Bump version
quinnj Jul 28, 2020
c547eed
Fix IOBuffer check
quinnj Jul 28, 2020
9c0efd3
Merge pull request #698 from JuliaData/jq/iobuf
quinnj Jul 28, 2020
dfff952
More work on cleaning things up
quinnj Jul 28, 2020
57b48a9
Merge pull request #688 from JuliaData/jq/opts
quinnj Jul 29, 2020
ff624be
Clean up some docs
quinnj Jul 29, 2020
83e3a08
Bump version
quinnj Jul 29, 2020
1647390
update deprecation warning
heliosdrm Jul 29, 2020
6549a8d
Update src/CSV.jl
quinnj Jul 29, 2020
da0967a
Merge pull request #700 from heliosdrm/patch-1
quinnj Jul 29, 2020
7d61268
Use depwarn for deprecations
omus Jul 31, 2020
ab4ae50
Merge pull request #704 from JuliaData/cv/use-actual-deprecations
quinnj Aug 1, 2020
ec2c4b5
Fix manually specified categorical type
quinnj Aug 1, 2020
b3f7292
Don't attempt multithreaded parsing when tasks == 1
quinnj Aug 1, 2020
3007529
Bump version
quinnj Aug 1, 2020
f93473f
as per https://github.com/JuliaData/CSV.jl/issues/708
kafisatz Aug 1, 2020
e8e81f8
Add canonical url to docs generator (#717)
IanButterworth Aug 11, 2020
f7bc714
typo fix (#722)
tlienart Aug 14, 2020
2e57b3a
Improve multithreaded detection failure message
quinnj Aug 18, 2020
52adf19
Warn if user passes threaded=true, but there aren't enough rows (#731)
quinnj Aug 18, 2020
815467b
Fix when column was maybe detected as pooled, then disappeared in dat…
quinnj Aug 18, 2020
6a69434
Use Logging.warn to output warning messages (#728)
gregod Aug 18, 2020
102e67c
Make ignoreemptylines=true by default (#736)
quinnj Sep 3, 2020
99e34cd
Add lines_to_check to allow configuring multithreaded parsing (#737)
quinnj Sep 5, 2020
a56edb9
Fix use of typesubtract for julia 1.6 nightly (#745)
quinnj Sep 30, 2020
9f6ef10
Check missingstrings for space/tab for setting Parsers Options (#747)
quinnj Oct 8, 2020
74919d0
Improve inferrability of getproperty(::Row2, ::Symbol) (#753)
quinnj Oct 16, 2020
bba1af3
Introduce automatic warning silencing (#754)
quinnj Oct 17, 2020
d061955
fix an error with writing Any[(a=1,)] (#756)
bkamins Oct 21, 2020
ccfa23f
Fallback to singled-threaded parsing if file chunking fails (#761)
quinnj Oct 29, 2020
bfd8d66
Implement Tables.partitions on CSV.Chunks
quinnj Oct 29, 2020
8d05682
Return ChainedVector of SentinelArrays as default columns
quinnj Oct 29, 2020
2ffb4b1
Fix CSV.Chunks crashing due to finalized buffer
quinnj Oct 29, 2020
2e8a8f3
add 0 and 1 to default false/true strings
kescobo Oct 29, 2020
7d1c4e0
Allow passing bufsize to CSV.write (#767)
quinnj Nov 2, 2020
68d7153
Remove CategoricalArrays/DataFrames dependencies (#766)
quinnj Nov 2, 2020
9b61b7b
fix Travis CI links in README.md [skip ci] (#770)
ranocha Nov 7, 2020
e461bec
Update TagBot.yml
quinnj Nov 10, 2020
6b6c434
Fix AbstractVector{UInt8} problem (#772)
bkamins Nov 12, 2020
c42aade
Allow multithreaded writing of input table partitions (#773)
quinnj Nov 13, 2020
d2197f0
Bump version
quinnj Nov 13, 2020
6e304ba
Improve error message for CSV.read(source)
nalimilan Nov 15, 2020
8dae145
Merge pull request #775 from JuliaData/nl/message
quinnj Nov 15, 2020
83ffceb
Switch CI from travis to github actions
quinnj Nov 21, 2020
c0db636
try to fix windows testing
quinnj Nov 21, 2020
055706d
Merge pull request #784 from JuliaData/jq/ci
quinnj Nov 21, 2020
38351ba
Update README.md
quinnj Nov 21, 2020
b57715f
Update README.md
quinnj Nov 21, 2020
7da816c
Avoid ambiguity between user-provided UInt64 column type and PosLen
quinnj Nov 22, 2020
00261df
Merge pull request #787 from JuliaData/jq/785.take2
quinnj Nov 22, 2020
c94256a
bump version
quinnj Nov 22, 2020
81cb617
Ensure we check for commented rows when skipping rows for header/data
quinnj Nov 24, 2020
304baa7
Update docs and adjust tests
quinnj Nov 24, 2020
6bf67ab
Adjust fix
quinnj Nov 24, 2020
72cc23e
Update docs
quinnj Nov 24, 2020
7308bb3
Add new tests from original issue
quinnj Nov 24, 2020
def726a
Merge pull request #789 from JuliaData/jq/788
quinnj Nov 24, 2020
9b2ebe3
bump version
quinnj Nov 24, 2020
04a2cc7
Update CI & README
quinnj Dec 12, 2020
b406994
Don't consider single space as delimiter in auto-detect fallback (#801)
quinnj Jan 6, 2021
d7e3d0b
Update make.jl
quinnj Jan 14, 2021
e27bf42
Support new PooledArrays 1.0 release (#805)
quinnj Jan 30, 2021
425f2de
Bump version
quinnj Jan 30, 2021
c386238
Scrub CSV.File types for Tables.Schema (#811)
quinnj Feb 25, 2021
2f26971
Add tests for #796 (#813)
quinnj Feb 28, 2021
46d8801
Bump version
quinnj Feb 28, 2021
9ab93e0
Don't make PointerString a subtype of AbstractString to avoid (#823)
andreasnoack Apr 13, 2021
384f35a
tweak format of bulleted docstrings (#826)
cormullion Apr 14, 2021
cd2d900
Fix CSV.File schema for pooled columns when multithreaded parsing (#828)
quinnj Apr 20, 2021
f405361
Bump version
quinnj May 20, 2021
fc20967
make "Edit on Github" points to main branch (#835)
Moelf May 25, 2021
bfd415d
CSV parsing internals refactoring (#837)
quinnj Jun 16, 2021
ffda8d3
Fix nightly
quinnj Jun 17, 2021
c3ef56a
Fix ByteValueCounter out of bounds indexing (#847)
quinnj Jun 17, 2021
2df8580
Add new quoted keyword arg to allow disabling of checking for quoted …
quinnj Jun 17, 2021
0eaacb4
Keyword argument cleanup in preparation for 1.0 release (#846)
quinnj Jun 23, 2021
52663d4
Use sch.names to get schema names instead of relying on type paramete…
quinnj Jun 23, 2021
644076d
Update CSV to support Parsers 2.0 (#862)
quinnj Aug 1, 2021
cec2795
Improve error message in case input file doesn't exist (#863)
quinnj Aug 3, 2021
d462c35
Allow turning off missing value parsing (#865)
quinnj Aug 4, 2021
3b62f10
Fix select/drop on CSV.Rows (#866)
quinnj Aug 5, 2021
5144950
Add automatic support for reading gzipped csv files (#864)
quinnj Aug 19, 2021
17bffa1
Overhaul CSV.jl docs (#869)
quinnj Aug 20, 2021
e2a24c8
Fix docs
quinnj Aug 20, 2021
522067a
Fix #854 by adding some more docs around potential array types return…
quinnj Aug 20, 2021
25a5c2e
Fix #818 by improving the nothing case for CSV.write
quinnj Aug 20, 2021
6668f74
Ensure tempfiles are removed for CSV.Rows if they're used
quinnj Aug 20, 2021
5eb2dd3
Add extra validation on types/dateformat/pool keyword args (#870)
quinnj Aug 20, 2021
61c1b0b
Respect typemap in type promotion cases while parsing (#872)
quinnj Aug 20, 2021
462f40e
Allow passing vector of inputs to `CSV.File`/`CSV.read` (#873)
quinnj Aug 23, 2021
4191215
Improve time-to-first-read via precompile + despecialization (#875)
quinnj Aug 24, 2021
953636a
Support SubArray{UInt8, 1, Vector{UInt8}} as valid source (#876)
quinnj Aug 24, 2021
79f856f
Re-organise docs a little to make navigation easier (#877)
nickrobinson251 Aug 27, 2021
4efa2f2
A little refactoring to improve inference and precompilation (#880)
quinnj Sep 1, 2021
9d8da50
Support gzip compression when writing csv output (#883)
quinnj Sep 1, 2021
8cb5893
Fix a few allocation/inference issues (#885)
quinnj Sep 8, 2021
ea9eca2
bump version
quinnj Sep 8, 2021
7e73b91
Jq/docs (#886)
quinnj Sep 8, 2021
ad2a972
Export String[X] types from WeakRefStrings.jl (#889)
bkamins Sep 8, 2021
a9eefcd
Attempt to make reading from S3Paths work again (#892)
quinnj Sep 10, 2021
43f8a66
Refactor internal pooling mechanics (#898)
quinnj Sep 13, 2021
914c7fc
Declare `isrowtable(::Rows) == true` (#897)
nickrobinson251 Sep 13, 2021
a843810
Bump version
quinnj Sep 13, 2021
4886c49
Fix nonstandard type passed as single types and fix deprecations (#902)
quinnj Sep 15, 2021
b0032e8
Fix CSV.Rows when missing values are parsed (#904)
quinnj Sep 15, 2021
c3af297
Support CodeUnits as valid input for CSV.File/CSV.Rows (#905)
quinnj Sep 15, 2021
7c7cfbc
Allow passing function for types/pool keyword arguments (#906)
quinnj Sep 16, 2021
f8ce5c3
bump version
quinnj Sep 16, 2021
a675672
Try to ensure refpools are promoted between string/inlinestring (#909)
quinnj Sep 20, 2021
5a7f25d
bump version
quinnj Sep 20, 2021
263e5c5
Remove overly strict type constraint on pool keyword arg for CSV.Rows…
quinnj Sep 22, 2021
c394358
Add example of non-string column pooling in docs (#914)
quinnj Sep 22, 2021
e816da9
Enhancements to vector of inputs to CSV.File (#920)
quinnj Oct 1, 2021
0f97e66
Ensure tempfile for compressed input is removed when uncompressed (#922)
quinnj Oct 1, 2021
549b1ab
Take dependency on InlineStrings package (#923)
quinnj Oct 1, 2021
0786153
Add `validate` keyword for disabling argument checks (#911)
nickrobinson251 Oct 1, 2021
69dd7b9
bump version
quinnj Oct 1, 2021
137c33f
revert version
quinnj Oct 1, 2021
1f7a552
Bump version (#924)
nickrobinson251 Oct 4, 2021
bb033b0
Fix ambiguity of "promoting" a PooledVector to its same type (#926)
nickrobinson251 Oct 13, 2021
8995706
Move promotions.csv file to src/ since we use it for precompile (#930)
quinnj Oct 19, 2021
1941dc1
Fix macro hygiene issue in CSV.Rows for custom types (#931)
quinnj Oct 19, 2021
c5fad7c
bump version
quinnj Oct 19, 2021
fb33d39
Fix corner case when string promotion produces diff type than promote…
quinnj Oct 21, 2021
7de4228
Add an overall module docstring (#934)
Junxiao-Hou Oct 21, 2021
5e74a7f
bump version
quinnj Oct 21, 2021
90f9996
Update TagBot.yml
quinnj Oct 23, 2021
c2f58b6
bump version
quinnj Oct 23, 2021
1586ea1
Fix tests on 32-bit (#928)
nalimilan Oct 27, 2021
a68bb04
Bump version to 0.9.10 (#937)
nalimilan Oct 27, 2021
b747df8
Ensure dropped columns have type set as missing (#943)
quinnj Nov 16, 2021
bf82bf3
Fix a few type issues in multithreaded parsing (#944)
quinnj Nov 16, 2021
879f41b
bump version
quinnj Nov 16, 2021
55e0fc9
Avoid promoting inline string types larger than String31
quinnj Dec 14, 2021
d25992a
Don't warn on final missing value when EOF has been reached
quinnj Dec 14, 2021
482a187
Improve performance of reading files with duplicate column names (#955)
wentasah Dec 24, 2021
cde550c
Overhaul how column pooling works while parsing (#962)
quinnj Jan 15, 2022
e5b5eba
951 whitespace (#953)
tp2750 Jan 15, 2022
654baba
Correct error writing struct (#961)
jcunwin Jan 15, 2022
84232cf
Bump version
quinnj Jan 15, 2022
1061e24
Bump versions
quinnj Jan 16, 2022
a677ff0
Fix use of limit in multithreaded parsing (#964)
quinnj Jan 19, 2022
df718c7
Bump version
quinnj Jan 19, 2022
61f8891
A couple of inferrability improvements (#968)
timholy Jan 20, 2022
5145f3d
Update index.md (#966)
logankilpatrick Jan 25, 2022
4fb9b0e
fix Parsers version to unbreak precompilation (#979)
oscardssmith Feb 14, 2022
2c02394
Fix auto bool detection (#980)
quinnj Feb 18, 2022
4891dd2
Require Parsers 2.2.3 to fix precompilation on windows (#986)
quinnj Mar 6, 2022
604333f
Bump version
quinnj Mar 6, 2022
48245f7
Simplify precompilation to try and avoid crash on windows (#996)
quinnj Mar 30, 2022
3ebd2c9
Bump version
quinnj Mar 30, 2022
0217552
Expose user-facing versions of `CSV.writerow` (#1003)
quinnj May 6, 2022
6073652
Show an example on top of `CSV.read` (#1004)
May 19, 2022
cdb0cbb
Add links to alternatives to the readme (#1006)
mcabbott Aug 27, 2022
1ade6a8
Fix typo in README.md (#1020)
npbarnes Aug 31, 2022
b87a0c7
Add example of `types` taking a function (#1015)
nickrobinson251 Sep 9, 2022
b4360cc
fix typos (#1026)
musvaage Sep 16, 2022
ea78bbb
Allow `Regex` keys for selecting columns in `types/dateformat/pool` k…
nickrobinson251 Sep 19, 2022
3d47734
Check for user-given type when encountering extra columns during pars…
nickrobinson251 Sep 19, 2022
77578cc
Add SnoopPrecompile (#1018)
jakobnissen Oct 7, 2022
3a6f898
Don't abuse some Parsers APIs as much (#1038)
quinnj Oct 20, 2022
b35af59
Bump version to 0.10.5
quinnj Oct 21, 2022
4d63d17
Make `Chunks` tests more robust and fix default behaviour (#1039)
nickrobinson251 Oct 21, 2022
09bc666
Bump version to 0.10.6
nickrobinson251 Oct 21, 2022
2691812
Revert "Add SnoopPrecompile (#1018)" (#1043)
quinnj Oct 25, 2022
050789b
Clear thread state to ensure threads local state don't keep reference…
quinnj Oct 25, 2022
360b215
Update Project.toml
quinnj Oct 25, 2022
bfd754e
Only clear thread states if we're the root task (#1050)
quinnj Nov 4, 2022
35e8402
Use SnoopPrecompile for precompilation (#1051)
quinnj Nov 13, 2022
077e177
Use WeakRefs for spawned tasks to avoid holding unexpected references…
quinnj Dec 8, 2022
b167e0c
Update Project.toml
quinnj Dec 8, 2022
6164099
SnoopPrecompile compat
quinnj Dec 8, 2022
19b44e4
Also precompile CSV.File(::String) (#1060)
timholy Dec 13, 2022
2b07821
Disallow delim and quotechar matching (#1066)
quinnj Jan 4, 2023
94deaf4
Update Project.toml
quinnj Jan 4, 2023
cfb4ffb
`typemap`: switch to IdDict (#1069)
timholy Jan 19, 2023
ac11e05
Fix getproperty calls on fields for File (#1081)
albheim Apr 23, 2023
b3b717a
Example updated to show conversion to a Matrix (#1078)
a2ray Apr 23, 2023
390a7d3
SnoopPrecompile -> PrecompileTools (#1088)
timholy May 9, 2023
ae05b87
Some fixes for multithreaded Context parsing (#1073)
Liozou May 19, 2023
631e456
Fix typo in reading.md (#1094)
LilithHafner Jun 5, 2023
03c22d9
Support groupmark (#1093)
LilithHafner Jun 5, 2023
2f0e4a5
Update Project.toml
quinnj Jun 5, 2023
07fb6c2
Bump Parsers compat to 2.5 (#1097)
JackDunnNZ Jun 16, 2023
4e6a332
Selectively reduce multithreaded parsing @error (#1099)
Liozou Jun 20, 2023
bbaeec0
Fix multithreaded fail on trailing empty column (#1098)
Liozou Jun 20, 2023
058fa68
doc(examples.md): fix extraneous ``` (#1100)
stephen-huan Jun 26, 2023
c81a1af
docs: fixing Example.md render with @ref => @id (#1106)
hungpham3112 Aug 10, 2023
cb1b411
Add zenodo badge to README; fixes #1112
quinnj Sep 20, 2023
c6efb45
typos (#1119)
musvaage Dec 15, 2023
849f17f
Update Project.toml
quinnj Jan 1, 2024
00f5510
Update keyworddocs.jl for limit to remove use of deprecated "threaded…
era127 Feb 17, 2024
66a3a65
Add compat to Documenter.jl, use `warnonly = Documenter.except()` (#1…
longemen3000 Feb 28, 2024
141e2e4
support for IOBuffer containing `Memory` (#1125)
longemen3000 Feb 28, 2024
ba1f4d2
Update Project.toml
quinnj Mar 2, 2024
acd36a6
Update ci.yml: Add mac aarch64 CI, codecov v4 (#1127)
ViralBShah Mar 8, 2024
67424ce
Fix breakage caused by JuliaLang/julia/pull/53896 (#1133)
longemen3000 Apr 9, 2024
3d61294
Update Project.toml to 0.10.14 (#1134)
ViralBShah Apr 10, 2024
57eca79
Fix CI badge in README
andreasnoack May 7, 2024
80936af
Fix reading gzipped file in Julia 1.11 on Windows (#1144)
nhz2 Oct 19, 2024
e84bd71
fix decchar handling in writecell() for AbstractFloat (#1109)
sara2512 Oct 19, 2024
41a6875
Bump version to 0.10.15
quinnj Oct 19, 2024
8207959
fix INT128_MIN write (#1152)
belous-dp Jan 10, 2025
9f95cfb
Bump codecov/codecov-action from 4 to 5 (#1149)
dependabot[bot] Jan 28, 2025
04ec1cf
Update examples.md to use ZipArchives (#1158)
nhz2 Mar 28, 2025
f29ba9b
Bump actions/checkout from 4 to 6
dependabot[bot] Dec 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
open-pull-requests-limit: 99
labels:
- "dependencies"
- "github-actions"
15 changes: 15 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
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.DOCUMENTER_KEY }}
76 changes: 76 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: CI
on:
pull_request:
push:
branches: [main]
tags: ["*"]
jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
env:
JULIA_NUM_THREADS: 2
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
version:
- '1' # Current stable version
os:
- ubuntu-latest
- windows-latest
- macOS-latest
arch:
- x64
include:
- os: macOS-14
arch: aarch64
version: '1'
- os: ubuntu-latest
arch: x86
version: '1'
- os: ubuntu-latest
arch: x64
version: '1.6'
- os: ubuntu-latest
arch: x64
version: 'nightly'
- os: windows-latest
arch: x64
version: 'lts'

steps:
- run: git config --global core.autocrlf false
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
path: ~/.julia/artifacts
key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }}
restore-keys: |
${{ runner.os }}-test-${{ env.cache-name }}-
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
token: ${{ secrets.CODECOV_TOKEN }}

docs:
name: Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/julia-buildpkg@latest
- uses: julia-actions/julia-docdeploy@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
.DS_Store
docs/build/
docs/site/
*.jl.cov
*.jl.*.cov
*.jl.mem
precompile
Manifest.toml
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The CSV.jl package is licensed under the MIT "Expat" License:

> Copyright (c) 2015: Jacob Quinn.
> Copyright (c) 2015: Jacob Quinn, JuliaData contributors, Julia Computing.
>
> Permission is hereby granted, free of charge, to any person obtaining
> a copy of this software and associated documentation files (the
Expand Down
39 changes: 39 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name = "CSV"
uuid = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
authors = ["Jacob Quinn <quinn.jacobd@gmail.com>"]
version = "0.10.15"

[deps]
CodecZlib = "944b1d66-785c-5afd-91f1-9de20f533193"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
FilePathsBase = "48062228-2e41-5def-b9a4-89aafe57970f"
InlineStrings = "842dd82b-1e85-43dc-bf29-5d0ee9dffc48"
Mmap = "a63ad114-7e13-5084-954f-fe012c677804"
Parsers = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
PooledArrays = "2dfb63ee-cc39-5dd5-95bd-886bf059d720"
SentinelArrays = "91c51154-3ec4-41a3-a24f-3f23e20d615c"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
WeakRefStrings = "ea10d353-3f73-51f8-a26c-33c1cb351aa5"
WorkerUtilities = "76eceee3-57b5-4d4a-8e66-0e911cebbf60"

[compat]
CodecZlib = "0.7"
FilePathsBase = "0.6,0.7,0.8,0.9"
InlineStrings = "1"
Parsers = "2.5"
PooledArrays = "0.5, 1.0"
SentinelArrays = "1.2"
PrecompileTools = "1"
Tables = "1.1"
WeakRefStrings = "1.4"
WorkerUtilities = "1.6"
julia = "1.6"

[extras]
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "Random"]
59 changes: 59 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,60 @@

# CSV

[![CI](https://github.com/JuliaData/CSV.jl/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/JuliaData/CSV.jl/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/JuliaData/CSV.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaData/CSV.jl)
[![deps](https://juliahub.com/docs/CSV/deps.svg)](https://juliahub.com/ui/Packages/CSV/HHBkp?t=2)
[![version](https://juliahub.com/docs/CSV/version.svg)](https://juliahub.com/ui/Packages/CSV/HHBkp)
[![pkgeval](https://juliahub.com/docs/CSV/pkgeval.svg)](https://juliahub.com/ui/Packages/CSV/HHBkp)
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.8004128.svg)](https://doi.org/10.5281/zenodo.8004128)

*A fast, flexible delimited file reader/writer for Julia.*

## Installation

The package is registered in the [`General`](https://github.com/JuliaRegistries/General) registry and so can be installed at the REPL with `] add CSV`.

## Documentation

- [**STABLE**][docs-stable-url] &mdash; **most recently tagged version of the documentation.**
- [**LATEST**][docs-latest-url] &mdash; *in-development version of the documentation.*

## Project Status

The package is tested against Julia `1.0`, current stable release, and nightly on Linux, OS X, and Windows.

## Contributing and Questions

Contributions are very welcome, as are feature requests and suggestions. Please open an
[issue][issues-url] if you encounter any problems or would just like to ask a question.

[docs-latest-img]: https://img.shields.io/badge/docs-latest-blue.svg
[docs-latest-url]: https://JuliaData.github.io/CSV.jl/latest

[docs-stable-img]: https://img.shields.io/badge/docs-stable-blue.svg
[docs-stable-url]: https://JuliaData.github.io/CSV.jl/stable

[ci-img]: https://github.com/JuliaData/CSV.jl/workflows/CI/badge.svg
[ci-url]: https://github.com/JuliaData/CSV.jl/actions?query=workflow%3ACI+branch%3Amaster

[codecov-img]: https://codecov.io/gh/JuliaData/CSV.jl/branch/master/graph/badge.svg
[codecov-url]: https://codecov.io/gh/JuliaData/CSV.jl

[issues-url]: https://github.com/JuliaData/CSV.jl/issues

## Alternatives

There are several other packages for reading CSV files in Julia, which may suit your needs better:

* The standard library contains [DelimitedFiles.jl](https://docs.julialang.org/en/v1/stdlib/DelimitedFiles/), at least until Julia 1.8.
This returns a `Matrix` rather than a [Tables.jl](https://github.com/JuliaData/Tables.jl)-style container, thus works best for files of homogeneous element type.
On large files, CSV.jl will be much faster.

* [CSVFiles.jl](https://github.com/queryverse/CSVFiles.jl) uses the [FileIO.jl](https://github.com/JuliaIO/FileIO.jl)'s `load` / `save` API,
but otherwise has similar goals. Like CSV.jl, it works with [Tables.jl](https://github.com/JuliaData/Tables.jl) objects such as DataFrames.

* [DLMReader.jl](https://github.com/sl-solution/DLMReader.jl) also aims to be fast for large files,
closely associated with [InMemoryDatasets.jl](https://github.com/sl-solution/InMemoryDatasets.jl).

* [Pandas.jl](https://github.com/JuliaPy/Pandas.jl) wraps Python's [pandas](https://pandas.pydata.org) library (using [PyCall.jl](https://github.com/JuliaPy/PyCall.jl)).
This is a closer cousin of [DataFrames.jl](https://github.com/JuliaData/DataFrames.jl), but builds in the ability to read/write CSV files.
6 changes: 6 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

[compat]
Documenter = "1"
21 changes: 21 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using Documenter, CSV

makedocs(;
modules=[CSV],
format=Documenter.HTML(prettyurls=false),
pages=[
"Home" => "index.md",
"Reading" => "reading.md",
"Writing" => "writing.md",
"Examples" => "examples.md",
],
repo="https://github.com/JuliaData/CSV.jl/blob/{commit}{path}#{line}",
sitename="CSV.jl",
authors="Jacob Quinn",
warnonly = Documenter.except(),
)

deploydocs(;
repo="github.com/JuliaData/CSV.jl",
devbranch = "main"
)
Loading
Loading