Skip to main content

Fast and memory-efficient PX to CSV converter

Project description

px2csv

Convert PX (PC-Axis) files to CSV fast and memory-efficiently in Python.

We currently support only UTF-8 encoded PX files.

Install from PyPI

pip install px2csv

Convert using file paths

from px2csv import convert
convert("examples/12b4.px", "examples/12b4.csv", include_codes=True, include_labels=True)

For large sparse PX files, skip missing values and avoid repeated label columns:

from px2csv import convert
convert(
	"examples/132g.px",
	"examples/132g.csv",
	include_codes=True,
	include_labels=False,
	skip_empty=True,
)

Convert using file-like objects (streams)

import io
from px2csv import convert
with open("examples/12b4.px", "rb") as fin, open("examples/12b4.csv", "wb") as fout:
	convert(fin, fout, include_codes=True, include_labels=True)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

px2csv-1.0.1-cp314-cp314-win_amd64.whl (299.9 kB view details)

Uploaded CPython 3.14Windows x86-64

px2csv-1.0.1-cp314-cp314-win32.whl (281.7 kB view details)

Uploaded CPython 3.14Windows x86

px2csv-1.0.1-cp314-cp314-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.14musllinux: musl 1.2+ x86-64

px2csv-1.0.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

px2csv-1.0.1-cp314-cp314-macosx_11_0_arm64.whl (96.4 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

px2csv-1.0.1-cp313-cp313-win_amd64.whl (290.2 kB view details)

Uploaded CPython 3.13Windows x86-64

px2csv-1.0.1-cp313-cp313-win32.whl (274.2 kB view details)

Uploaded CPython 3.13Windows x86

px2csv-1.0.1-cp313-cp313-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13musllinux: musl 1.2+ x86-64

px2csv-1.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

px2csv-1.0.1-cp313-cp313-macosx_11_0_arm64.whl (96.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

px2csv-1.0.1-cp312-cp312-win_amd64.whl (290.1 kB view details)

Uploaded CPython 3.12Windows x86-64

px2csv-1.0.1-cp312-cp312-win32.whl (274.1 kB view details)

Uploaded CPython 3.12Windows x86

px2csv-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12musllinux: musl 1.2+ x86-64

px2csv-1.0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

px2csv-1.0.1-cp312-cp312-macosx_11_0_arm64.whl (96.3 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

px2csv-1.0.1-cp311-cp311-win_amd64.whl (289.2 kB view details)

Uploaded CPython 3.11Windows x86-64

px2csv-1.0.1-cp311-cp311-win32.whl (273.9 kB view details)

Uploaded CPython 3.11Windows x86

px2csv-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11musllinux: musl 1.2+ x86-64

px2csv-1.0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

px2csv-1.0.1-cp311-cp311-macosx_11_0_arm64.whl (95.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file px2csv-1.0.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 299.9 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 58003027d8cfec5f53f9387ba18a7084630a9f6a5e817d04957b82c195b543b2
MD5 e4500004da13e99f73aac1017d27c300
BLAKE2b-256 b3ad44961db9185a63b52a6306e572b3355ab71150a193b6c0d223d87d2c1b22

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp314-cp314-win_amd64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp314-cp314-win32.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp314-cp314-win32.whl
  • Upload date:
  • Size: 281.7 kB
  • Tags: CPython 3.14, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp314-cp314-win32.whl
Algorithm Hash digest
SHA256 bc5078015f1e5288d26c9ce65a6e28db3da4a1025b37bde0eadf1d12c3160acc
MD5 ccbe81014f34b8fd7e535bbfda0a6356
BLAKE2b-256 d678aab4fd881a5ed979f77ac4ecb4a94dbd86e50f63d04afc43b80b27657d37

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp314-cp314-win32.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp314-cp314-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp314-cp314-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f0a8e237665038cb9e6eb04cf9b6ea61466ba31fb2221c887b221108df98125a
MD5 d8bcefc647ed496b6f398594bc920fef
BLAKE2b-256 8a48e9a7d36da79aa34e83aa657b6ddf299ad9f585ce697d6f4be1cd5b85a616

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp314-cp314-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bb54ef6e3807b20c27b5df359d69dad608901b9b0fff687331ef1d4fc4f53758
MD5 e6b81499c3bf949111d5f6c5d5b2b70b
BLAKE2b-256 76e81439ef6ac099640df35a1db83e86322003c3fe75af85c6c7783ef1718907

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46831088d5a72269c166a5df41502ca31ccb9e4d58b111be45ead09529ba62ed
MD5 5983b0e7599bacec2e31e4dd7cbc8638
BLAKE2b-256 e46f3ca7792a0372f72ef35334cf808684fc60f43d86342a4f312cfae27d7716

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 290.2 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0973509df5b58ad2f8b2d153a1937c25c2929b79fc188ba3a5e3fd9fab249d3c
MD5 6ae481d147ee0a0994db9064ae0f021d
BLAKE2b-256 b094bc615b8e574a7abdd64dfe2960669480267369dc414d98acd5fd6d7c350d

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp313-cp313-win32.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 274.2 kB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 93cbb60a58b04ce16a15ac0792db3e827f837b0147b6f9dd0c1cb29b54d83f7f
MD5 faa333fac3fe211427ea8353706e1f86
BLAKE2b-256 30b7807b19815c43bb4db0fb5fa7da1d82c8d49135033a3c2e6b779071b9ae26

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp313-cp313-win32.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp313-cp313-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp313-cp313-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 35b42360f761a0d978a3b04704930a3a649d7aae3d37b2d5b391e33fdf7897f5
MD5 1df916a675bfa96e8b544cc793cd24c8
BLAKE2b-256 3174468358a2b3a9b9aefd1f1164f72ea0712824a607cb251746317e95c288f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp313-cp313-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c65a2fee166a07657949e8c5b0a223e025701973caa9041add4cb4f746068293
MD5 354955aaa9949b2a6b5b8adc8546d3e3
BLAKE2b-256 7324552473a34697b26ebf42b954ed1e62afc02384704d4fc68267f6eae3f6a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4db94994523119f7c72e74e476d703bcb43f71dfad59e80b81129a1914e3d134
MD5 81dccbcf77a30793135ac3a4fe6aa4c1
BLAKE2b-256 0f2d9c4ab134065829acd287e7e86c25345e5e7719fa1e709fd74121ce655697

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 290.1 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b09786a98a990692d1cd9353530ad88eeaf31577b70005313c94666788214522
MD5 f516fbcd23cde18278b1c2701711d214
BLAKE2b-256 95bf3c43dc2dab02bcc6b7487a203fd5cd22787432597736165009d43c8beaf6

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 274.1 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 67c8f0a46287cf62e75aef9f7c09595d719a69f591635c8687207fc8fe4aaa94
MD5 bcfaaf9b9b95e4692465b849550ec829
BLAKE2b-256 5ca6fe17f84eacbd99bc166e2b6fcc1139e5677fd1402f94b0e7b9383bbb5316

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp312-cp312-win32.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 d4ca5c2100d33c7a405712f8a213c7b86b41d669416e881e562fe38c980a6ad4
MD5 d5da18abbf2779ef33a3ae321278eb2d
BLAKE2b-256 65a9684ad433c5c76ef6bc29f0e117e5422b7cdf78b8729b91e5d218d6bbc3c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp312-cp312-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 993b8449504d2f38246ddfa51d55cd180c91c7749ae43cc9a15d5689b46c5fea
MD5 a450009b66e58b5ea726c205e9a46da9
BLAKE2b-256 d004af509d672d1ab566efaf8f27d97ff70d067bac52c2c76bf3fb0e79ae49ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1f8ddc4b420be9146d5a76cfe7986c48549959f8b0783e08334eb6cf9fdad3c3
MD5 156cd4c0d4b06b44e1a5b8dc96de1eb6
BLAKE2b-256 290c98ad3b833c4c18ced2b361dd455ab12090e4d9e2c7d647a45beee9225553

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 289.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f0ff9b8b6351b7f364a62227bcd6462873b63d8f52c71563560eac68297107f4
MD5 ae9ba47209fe2e1b89c903c559d44911
BLAKE2b-256 7eb0b20126d46dfa92c842f214df47b759317d7b48c578b59621cae1ac2dcc63

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: px2csv-1.0.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 273.9 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for px2csv-1.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 c802f6058c0759b967ccb4109c26dad0791bf8b304c6530d73de98c930ef44f1
MD5 0e3c19e4a170b34131b469a95d8a3d7a
BLAKE2b-256 dbec25d03555a900bb71a1a4431279b6b10bfba0d3fb519e5c0bebb73d5ad5d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp311-cp311-win32.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 4cb076fb1639895dd0575d096a0734e43a989808c2f8d82d92c6b93913e453cd
MD5 03e8ec458bee730fe40dde1c8e565a33
BLAKE2b-256 d5be67000ea73cbb1cefe177e8687d4aacf31f92261c92f5c37bb78a5f5cfe61

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp311-cp311-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 467dfe713ba69cae9763ef72b7ae839afa865572bc3e5a83ff7ad29a8825ccba
MD5 c09f4246aef4d687cad385e63f11a3c1
BLAKE2b-256 551d90ee74951f6d8becc18ea0e7935ad9e8c60b9b41a775a895f71f79eb4ee2

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file px2csv-1.0.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for px2csv-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7e920f2b873a01df0c8a65c5bf7de89718881beef98e1ac6d6d2b2eac3ea5536
MD5 d55c1fd1e0926e0fac1a0060d46ecd62
BLAKE2b-256 6f20123bca477ed0a405e2cbecaf127ef6cea3fd30184d20cf48d273f065a261

See more details on using hashes here.

Provenance

The following attestation bundles were made for px2csv-1.0.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on kustij/px2csv

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page