{"id":13648135,"url":"https://github.com/python-quantities/python-quantities","last_synced_at":"2025-04-22T07:30:39.863Z","repository":{"id":2547968,"uuid":"560911","full_name":"python-quantities/python-quantities","owner":"python-quantities","description":"Quantities package for the python programming language","archived":false,"fork":false,"pushed_at":"2025-04-11T14:19:54.000Z","size":1098,"stargazers_count":212,"open_issues_count":77,"forks_count":74,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-11T14:54:30.634Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://packages.python.org/quantities/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/python-quantities.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2010-03-13T17:40:12.000Z","updated_at":"2025-04-11T14:19:58.000Z","dependencies_parsed_at":"2023-12-11T10:26:18.053Z","dependency_job_id":"7d93ebe7-1ab0-4510-a0d2-582087c29bca","html_url":"https://github.com/python-quantities/python-quantities","commit_stats":{"total_commits":453,"total_committers":35,"mean_commits":"12.942857142857143","dds":0.5607064017660044,"last_synced_commit":"1fe4723e7eb190cca263b8b2869e4328de673bf8"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-quantities%2Fpython-quantities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-quantities%2Fpython-quantities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-quantities%2Fpython-quantities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/python-quantities%2Fpython-quantities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/python-quantities","download_url":"https://codeload.github.com/python-quantities/python-quantities/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250195033,"owners_count":21390230,"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-02T01:03:59.784Z","updated_at":"2025-04-22T07:30:39.855Z","avatar_url":"https://github.com/python-quantities.png","language":"Python","readme":"==========\nquantities\n==========\n\nQuantities is designed to handle arithmetic and\nconversions of physical quantities, which have a magnitude, dimensionality\nspecified by various units, and possibly an uncertainty. See the tutorial_\nfor examples. Quantities builds on the popular numpy library and is\ndesigned to work with numpy ufuncs, many of which are already\nsupported. Quantities is actively developed, and while the current features\nand API are stable, test coverage is incomplete so the package is not\nsuggested for mission-critical applications.\n\n|pypi version|_ |Build status|_\n\n.. |pypi version| image:: https://img.shields.io/pypi/v/quantities.png\n.. _`pypi version`: https://pypi.python.org/pypi/quantities\n.. |Build status| image:: https://github.com/python-quantities/python-quantities/actions/workflows/test.yml/badge.svg?branch=master\n.. _`Build status`: https://github.com/python-quantities/python-quantities/actions/workflows/test.yml\n.. _tutorial: http://python-quantities.readthedocs.io/en/latest/user/tutorial.html\n\n\nA Python package for handling physical quantities. The source code and issue\ntracker are hosted on GitHub:\n\nhttps://www.github.com/python-quantities/python-quantities\n\nDownload\n--------\nGet the latest version of quantities from\nhttps://pypi.python.org/pypi/quantities/\n\nTo get the Git version do::\n\n    $ git clone git://github.com/python-quantities/python-quantities.git\n\n\nDocumentation and usage\n-----------------------\nYou can find the official documentation at:\n\nhttp://python-quantities.readthedocs.io/\n\nHere is a simple example:\n\n.. code:: python\n\n   \u003e\u003e\u003e import quantities as pq\n   \u003e\u003e\u003e distance = 42*pq.metre\n   \u003e\u003e\u003e time = 17*pq.second\n   \u003e\u003e\u003e velocity = distance / time\n   \u003e\u003e\u003e \"%.3f %s\" % (velocity.magnitude, velocity.dimensionality)\n   '2.471 m/s'\n   \u003e\u003e\u003e velocity + 3\n   Traceback (most recent call last):\n     ...\n   ValueError: Unable to convert between units of \"dimensionless\" and \"m/s\"\n\nInstallation\n------------\nquantities has a hard dependency on the `NumPy \u003chttp://www.numpy.org\u003e`_ library.\nYou should install it first, please refer to the NumPy installation guide:\n\nhttp://docs.scipy.org/doc/numpy/user/install.html\n\nTo install quantities itself, then simply run::\n\n    $ pip install quantities\n\n\nTests\n-----\nTo execute all tests, install pytest::\n\n    $ python -m pip install pytest\n\nAnd run::\n\n    $ pytest\n\nin the current directory. The master branch is automatically tested by\nGitHub Actions.\n\nAuthor\n------\nquantities was originally written by Darren Dale, and has received contributions from `many people`_.\n\n.. _`many people`: https://github.com/python-quantities/python-quantities/graphs/contributors\n\nLicense\n-------\nQuantities only uses BSD compatible code.  See the Open Source\nInitiative `licenses page \u003chttp://www.opensource.org/licenses\u003e`_\nfor details on individual licenses.\n\nSee `doc/user/license.rst \u003cdoc/user/license.rst\u003e`_ for further details on the license of quantities\n","funding_links":[],"categories":["Python","ریاضی"],"sub_categories":["کار با زمان و تقویم"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-quantities%2Fpython-quantities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpython-quantities%2Fpython-quantities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpython-quantities%2Fpython-quantities/lists"}