{"id":13531908,"url":"https://github.com/Qalculate/libqalculate","last_synced_at":"2025-04-01T20:30:45.217Z","repository":{"id":37942455,"uuid":"60243288","full_name":"Qalculate/libqalculate","owner":"Qalculate","description":"Qalculate! library and CLI","archived":false,"fork":false,"pushed_at":"2024-10-27T13:46:12.000Z","size":26991,"stargazers_count":1849,"open_issues_count":126,"forks_count":148,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-10-29T17:55:09.824Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://qalculate.github.io/","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qalculate.png","metadata":{"files":{"readme":"README","changelog":"ChangeLog","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-02T07:45:31.000Z","updated_at":"2024-10-29T02:17:52.000Z","dependencies_parsed_at":"2023-10-21T08:25:29.482Z","dependency_job_id":"119eff71-ea6e-4e40-97be-b09e8b1f9a1e","html_url":"https://github.com/Qalculate/libqalculate","commit_stats":null,"previous_names":[],"tags_count":71,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qalculate%2Flibqalculate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qalculate%2Flibqalculate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qalculate%2Flibqalculate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qalculate%2Flibqalculate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qalculate","download_url":"https://codeload.github.com/Qalculate/libqalculate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246709923,"owners_count":20821297,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T07:01:06.813Z","updated_at":"2025-04-01T20:30:40.208Z","avatar_url":"https://github.com/Qalculate.png","language":"C++","funding_links":[],"categories":["C++","dc (desk calculator) \u0026 bc","Utilities","Calculators \u0026 Math"],"sub_categories":["Math"],"readme":"Qalculate! library and CLI\n\nQalculate! is a multi-purpose cross-platform desktop calculator. It is simple\nto use but provides power and versatility normally reserved for complicated\nmath packages, as well as useful tools for everyday needs (such as currency\nconversion and percent calculation). Features include a large library of\ncustomizable functions, unit calculations and conversion, symbolic calculations\n(including integrals and equations), arbitrary precision, uncertainty\npropagation, interval arithmetic, plotting, and a user-friendly interface (GTK+,\nQt, and CLI).\n\n1. Requirements\n\n* GMP and MPFR\n* libxml2\n* libcurl, icu, gettext (recommended)\n* iconv, readline (recommended for CLI)\n* Gnuplot 1.7 (optional)\n* doxygen (for compilation of git version)\n\nFor Linux distributions which provide separate development packages, these must\nbe installed for all the required libraries (e.g. libmpfr-dev) before\ncompilation.\n\n2. Installation\n\nIn a terminal window in the top source code directory run\n\n* ./autogen.sh (not required if using a release source tarball, only if using\n  the git version)\n* ./configure\n* make\n* make install (as root)\n* ldconfig (if necessary, as root)\n\nIf libqalculate is installed in /usr/local (default) you may need to add\n/usr/local/lib to the library path of the system (add /usr/local/lib to a file\nunder /etc/ld.so.conf.d/ and run ldconfig).\n\n3. API Documentation\n\nThe API documentation is included in the package and is installed in\n$docdir/libqalculate/html (usually /usr/share/doc/libqalculate/html).\nIt is generated when running autogen.sh.\n\nIt is also available online at reference/index.html.\n\n4. Using the CLI program \"qalc\"\n\nTo calculate a single expression from the command line (non-interactive mode)\nenter \"qalc EXPRESSION\" (e.g. qalc 5+2)\n\n\"qalc --help\" shows information about command line options in non-interactive\nmode.\n\nIf you run \"qalc\" without any mathematical expression the program will start in\ninteractive mode, where you can enter multiple expressions with history and\ncompletion, manipulate the result and change settings.\n\nType \"help\" in interactive mode for more information.\n\nA man page is also available (shown using the command \"man qalc\", or online at https://qalculate.github.io/manual/qalc.html).\n\n5. Other Applications\n\nThe main user interfaces for libqalculate are\nqalculate-gtk (https://github.com/Qalculate/qalculate-gtk) and\nqalculate-qt (https://github.com/Qalculate/qalculate-qt).\n\nOther software using libqalculate include\n* KDE Plasma Workspace (https://www.kde.org/workspaces/plasmadesktop/)\n* Cantor (http://kde.org/applications/education/cantor/)\n* Step (http://kde.org/applications/education/step/)\n* Qalculate widget for KDE Plasma (https://store.kde.org/p/1155946/)\n\n6. Features\n\n* Calculation and parsing:\n   * Basic operations and operators:\n     + - * / mod ^ E () \u0026\u0026 || ! \u003c \u003e \u003e= \u003c= != ~ \u0026 | \u003c\u003c \u003e\u003e xor\n   * Fault-tolerant parsing of strings:\n     log 5 / 2 .5 (3) + (2( 3 +5 = ln(5) / (2.5 * 3) + 2 * (3 + 5)\n   * Expressions may contain any combination of numbers, functions, units,\n     variables, vectors and matrices, and dates\n   * Supports complex and infinite numbers\n   * Propagation of uncertainty\n   * Interval arithmetic (for determination of the number of significant digits\n     or direct calculation with intervals of numbers)\n   * Supports all common number bases, as well as negative and non-integer\n     radices, sexagesimal numbers, time format, and roman numerals\n   * Ability to disable functions, variables, units or unknown variables for\n     less confusion: e.g. when you do not want (a+b)^2 to mean (are+barn)^2 but\n     (\"a\"+\"b\")^2\n   * Controllable implicit multiplication\n   * Matrices and vectors, and related operations (determinants etc.)\n   * Verbose error messages\n   * Arbitrary precision\n   * RPN mode\n* Result display:\n   * Supports all common number bases, as well as negative and non-integer\n     radices, sexagesimal numbers, time format, and roman numerals\n   * Many customization options: precision, max/min decimals, complex form,\n     multiplication sign, etc.\n   * Exact or approximate: sqrt(32) returns 4 * sqrt(2) or 5.66\n   * Simple and mixed fractions: 4 / 6 * 2 = 1.333... = 4/3 = 1 + 1/3\n* Symbolic calculation:\n   * E.g. (x + y)^2 = x^2 + 2xy + y^2; 4 \"apples\" + 3 \"oranges\"\n   * Factorization and simplification\n   * Differentiation and integration\n   * Can solve most equations and inequalities\n   * Customizable assumptions give different results\n     (e.g. ln(2x) = ln(2) + ln(x) if x is assumed positive)\n* Functions:\n   * Hundreds of flexible functions: trigonometry, exponents and logarithms,\n     combinatorics, geometry, calculus, statistics, finance, time and date,\n     etc.\n   * Can easily be created, edited and saved to a standard XML file\n* Units:\n   * Supports all SI units and prefixes (including binary), as well as imperial\n     and other unit systems\n   * Automatic conversion: ft + yd + m = 2.2192 m\n   * Explicit conversion: 5 m/s to mi/h = 11.18 miles/hour\n   * Smart conversion: automatically converts 5 kg*m/s^2 to 5 N\n   * Currency conversion with retrieval of daily exchange rates\n   * Different name forms: abbreviation, singular, plural (m, meter, meters)\n   * Can easily be created, edited and saved to a standard XML file\n* Variables and constants:\n   * Basic constants: pi, e, etc.\n   * Lots of physical constants (with or without units) and properties of\n     chemical element\n   * CSV file import and export\n   * Can easily be created, edited and saved to a standard XML file\n   * Flexible - may contain simple numbers, units, or whole expressions\n   * Data sets with objects and associated properties in database-like\n     structure\n* Plotting:\n   * Uses Gnuplot\n   * Can plot functions or data (matrices and vectors)\n   * Ability to save plot to PNG image, postscript, etc.\n   * Several customization options\n* and more...\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQalculate%2Flibqalculate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FQalculate%2Flibqalculate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FQalculate%2Flibqalculate/lists"}