-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add more typing information * Tidy up imports * PEP-8 naming
- Loading branch information
Showing
21 changed files
with
124 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Metadata-Version: 2.1 | ||
Name: PyQuantity | ||
Version: 1.1 | ||
Summary: Quantities in Python | ||
Home-page: UNKNOWN | ||
Author: akm | ||
Author-email: akm@unyx.net | ||
License: BSD | ||
Platform: UNKNOWN | ||
License-File: LICENSE | ||
|
||
UNKNOWN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
LICENSE | ||
README.md | ||
setup.py | ||
quantity/__init__.py | ||
quantity/PyQuantity.egg-info/PKG-INFO | ||
quantity/PyQuantity.egg-info/SOURCES.txt | ||
quantity/PyQuantity.egg-info/dependency_links.txt | ||
quantity/PyQuantity.egg-info/top_level.txt | ||
quantity/quantity/__init__.py | ||
quantity/quantity/quantity.py | ||
test/test_prefix.py | ||
test/test_quantity.py | ||
test/test_quantity_config_parser.py | ||
test/test_unit.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
quantity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
# -*- coding: utf-8 -*- | ||
__author__ = 'akm' | ||
from .prefix import Prefix, has_power, has_prefix, get_power, get_prefix, closest_prefix | ||
from . import prefixes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
__author__ = 'akm' | ||
from .unit import Unit, has_combined_unit, has_conversion, has_divided_unit, has_unit, get_conversion, get_unit, get_units | ||
from .unit import (Unit, has_combined_unit, has_conversion, has_divided_unit, has_unit, get_conversion, get_unit, | ||
get_units, NoUnit) | ||
from . import units |
Oops, something went wrong.