chardet VS pgloader

Compare chardet vs pgloader and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
chardet pgloader
8 31
2,071 5,066
1.2% -
2.9 3.0
6 months ago 29 days ago
Python Common Lisp
GNU Lesser General Public License v3.0 only GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

chardet

Posts with mentions or reviews of chardet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-05.
  • After almost a year, Ben Eater is back
    2 projects | news.ycombinator.com | 5 Nov 2022
  • 3 Ways to Handle non UTF-8 Characters in Pandas
    1 project | dev.to | 20 Jan 2022
    chardet is a library for decoding characters, once installed you can use the following to determine encoding:
  • In MySQL, never use “utf8”. Use “utf8mb4”
    8 projects | news.ycombinator.com | 12 Jan 2022
    The craziest issue I had was I couldn't predict what char encoding the text in my database was in. Most users entered Windows-1252, some text blobs were UTF-16, others were European character sets, and some were UTF-8. Some were Japanese SHIFT_JIS. Don't ask me how any of this happened. I retrospect, I should have dumped all the tables from MySQL and used the excellent PyPy Chardet [1] library to see what I was dealing with, do the conversions and then re-import the data. But then someone could copy UTF-16 from a Windows document and paste it in, so you have to convert going in to the database.

    You have set Apache to UTF-8, PHP to UTF-8, MySQL to UTF-8, and the MySQL driver you are using to UTF-8. It's not clear how these setting interact. Are there silent conversions happening or do you always have to detect the encoding on data coming from the server? HTML pages have a character encoding specifier, but the BOM at the start of the file takes precedence (I think.) I got it to work by always detecting encoding for any text coming from the database and using iconv, but this turned out to be really slow and unreliable. It was truly the biggest mess by an order of magnitude than any other programming problem I faced in my career.

    Would not attempt again.

    [1] https://github.com/chardet/chardet

  • Encoding detection
    5 projects | /r/Common_Lisp | 24 Nov 2021
    I found there is a https://github.com/chardet/chardet python library, which can be ported to Common Lisp.
  • How to convert cmd output to UTF-8
    1 project | /r/learnpython | 30 Sep 2021
    Then use chardet to determine the encoding from the content
  • Everything to know about Requests v2.26.0
    5 projects | dev.to | 13 Jul 2021
    The library that Requests uses for content encoding detection has for the past 10 years been chardet which is licensed LGPL-2.1.
  • PyWhat: Identify Anything
    8 projects | news.ycombinator.com | 16 Jun 2021
  • UTF-8 is not enough? Requesting help with an open source project!
    1 project | /r/django | 26 Feb 2021

pgloader

Posts with mentions or reviews of pgloader. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-14.
  • Why Is Common Lisp Not the Most Popular Programming Language?
    8 projects | news.ycombinator.com | 14 Feb 2024
    No, it's difficult to read, and understand. It's a parenthesis circus, example -

    https://github.com/dimitri/pgloader/blob/master/src/sources/...

  • We need to talk about parentheses
    6 projects | news.ycombinator.com | 12 Feb 2024
    Examples (for Common Lisp, so not citing Emacs): reddit v1, Google's ITA Software that powers airfare search engines (Kayak, Orbitz…), Postgres' pgloader (http://pgloader.io/), which was re-written from Python to Common Lisp, Opus Modus for music composition, the Maxima CAS, PTC 3D designer CAD software (used by big brands worldwide), Grammarly, Mirai, the 3D editor that designed Gollum's face, the ScoreCloud app that lets you whistle or play an instrument and get the music score,

    but also the ACL2 theorem prover, used in the industry since the 90s, NASA's PVS provers and SPIKE scheduler used for Hubble and JWT, many companies in Quantum Computing, companies like SISCOG, who plans the transportation systems of european metropolis' underground since the 80s, Ravenpack who's into big-data analysis for financial services (they might be hiring), Keepit (https://www.keepit.com/), Pocket Change (Japan, https://www.pocket-change.jp/en/), the new Feetr in trading (https://feetr.io/, you can search HN), Airbus, Alstom, Planisware (https://planisware.com),

    or also the open-source screenshotbot (https://screenshotbot.io), the Kandria game (https://kandria.com/),

    and the companies in https://github.com/azzamsa/awesome-lisp-companies and on LispWorks and Allegro's Success Stories.

    https://github.com/tamurashingo/reddit1.0/

    http://opusmodus.com/

    https://www.ptc.com/en/products/cad/3d-design

    http://www.izware.com/mirai

    https://apps.apple.com/us/app/scorecloud-express/id566535238

  • We migrated our PostgreSQL database with 11 seconds downtime
    1 project | news.ycombinator.com | 18 Jan 2024
    I worked on migrating our MySQL system to PostgreSQL using pgloader ( https://pgloader.io/ ).

    There were some hiccups, things that needed clarification in documentation, and some additional processes that needed to be done outside of the system to get everything we need in place, it was a amazing help. Not sure the project would've been possible without it.

    Data mapping from PostgreSQL to PostgreSQL as in the article isn't nearly as bad as going between systems. We took a full extended outage and didn't preload any data. There were many dry runs before hand and validation before hand, but the system wasn't so mission critical that we couldn't afford to shutoff the system for a couple of hours.

  • Time For Me To Fly… To Render
    5 projects | dev.to | 13 Feb 2023
    Initially, I started down the pgloader path, which seemed to be a common approach for the database conversion. However, using my M1-chip MacBook Pro led to some unexpected issues. Instead, I opted to use NMIG to convert MySQL to PostgreSQL. For more information, please check out the “Highlights From the Database Conversion” section below.
  • PostgresSQL DB restore sature whole SAN IO
    1 project | /r/sysadmin | 29 Nov 2022
    I just checked pgloader (which is mostly for heterogeneous database migrations) and it doesn't seem to have any explicit throttling features, either. However, you can set concurrency, number of workers, and batch size.
  • What language should i learn?
    2 projects | /r/sysadmin | 14 Nov 2022
    But do what makes you happy. The best PostgreSQL data loader in the world is written in Common Lisp. Now, CL is a fast and ANSI standardized language with multiple implementations, and was used to create Reddit, but it's hard to call it fashionable.
  • Why Lisp?
    23 projects | news.ycombinator.com | 3 Nov 2022
    - [ScoreCloud](https://scorecloud.com/) - A web and mobile application to automatically create music notation from music performance or recordings. Built with LispWorks.

    ## DB tools

    - [Pgloader](https://github.com/dimitri/pgloader/) - Migrate to PostgreSQL in a single command!. [PostgreSQL License]

  • What ETL tool you use with Postgres ?
    3 projects | /r/PostgreSQL | 15 Oct 2022
    I would warmly recommend https://pgloader.io but, unfortunately, the Oracle support is still in need of a sponsor :-)
  • Installing pgLoader on RHEL9 - No matching package to install: 'sbcl' - is there a workaround?
    1 project | /r/PostgreSQL | 8 Oct 2022
    I followed instruction here: https://github.com/dimitri/pgloader/blob/master/INSTALL.md, but can't get pass sbcl requirement.
  • Introducing pgsqlite, a pure python module for import sqlite into postgres
    1 project | /r/PostgreSQL | 22 Sep 2022
    https://pgloader.io/ There's been a great tool available for this for many years.

What are some alternatives?

When comparing chardet and pgloader you can also consider the following projects:

Charset Normalizer - Truly universal encoding detector in pure Python

lisp-xl - Common Lisp Microsoft XLSX (Microsoft Excel) loader for arbitrarily-sized / big-size files

fuzzywuzzy - Fuzzy String Matching in Python

docker-postgres-upgrade - a PoC for using "pg_upgrade" inside Docker -- learn from it, adapt it for your needs; don't expect it to work as-is!

ftfy - Fixes mojibake and other glitches in Unicode text, after the fact.

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

Levenshtein - The Levenshtein Python C extension module contains functions for fast computation of Levenshtein distance and string similarity

cl-wget - The Non-Interactive Network Downloader: cl-wget is a free software for retrieving files using HTTPS; cl-wget makes mirroring websites easy.

shortuuid - A generator library for concise, unambiguous and URL-safe UUIDs.

kandria - A post-apocalyptic actionRPG. Now on Steam!

pyfiglet - An implementation of figlet written in Python

TimescaleDB - An open-source time-series SQL database optimized for fast ingest and complex queries. Packaged as a PostgreSQL extension.