aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add logging support for "healpix2hpx" & "hpx2healpix"Aaron LI2016-09-293-6/+64
| | | | | | * Argument "--log" control the log level * Argument "--logfile" to log the messages to file * Argument "--quiet" to disable logging messages to screen
* utils/logging.py: Hack the "filemode" arg of "basicConfig()"Aaron LI2016-09-291-1/+4
| | | | | "logging.basicConfig()" does NOT accept parameter "filemode" if the corresponding paramter "filename" NOT specified.
* utils/healpix.py: Fix logger nameAaron LI2016-09-291-1/+1
|
* setup_logging(): Add parameter "level"Aaron LI2016-09-291-2/+14
| | | | Also fix a bug about parameter "stream".
* utils/healpix.py: Add various log INFO messagesAaron LI2016-09-291-6/+22
| | | | Also fix a bug about "append_comment".
* Add utility "setup_logging()" to setup/update loggingAaron LI2016-09-292-0/+71
| | | | | | This "setup_logging()" utility can setup the logging module with the given configuration dict, and can also update the logging configs by specify the additional parameters.
* configs/manager.py: Add "filemode" to the logging dictAaron LI2016-09-291-1/+3
|
* configs: Minor adjustment to logging formatAaron LI2016-09-291-1/+1
|
* configs: Fix ConfigError and disable interpolationAaron LI2016-09-291-3/+9
| | | | | | Since we do not use string interpolation in configs, so disable this feature, otherwise `MissingInterpolationOption` error happens due to the "logging" configs which contains string formats.
* configs: Add default config spec for loggingAaron LI2016-09-291-0/+34
|
* configs/manager.py: Add property "logging"Aaron LI2016-09-291-2/+28
| | | | | | | This "logging" property get and perpare the configurations for `logging.basicConfig()` use. Needs testing.
* Implement the basic ConfigManger()Aaron LI2016-09-272-0/+80
| | | | | | | | This is very basic at the moment, and needs many improvements. Thanks: https://github.com/pazz/alot TODO: Add config specifications with default values
* setup.py: add classifier and requirementsAaron LI2016-09-271-2/+31
|
* Python 3.4 should be supportedAaron LI2016-09-271-1/+1
|
* Update .gitignore for Python package repoAaron LI2016-09-271-5/+13
|
* README.rst: note that only Python 3 is supportedAaron LI2016-09-271-0/+4
|
* Rewrite setup.py and update __init__.py accordinglyAaron LI2016-09-272-22/+18
|
* Remove ".py" extension for bin scriptsAaron LI2016-09-272-0/+0
|
* utils/healpix.py: remove duplicated headerAaron LI2016-09-271-2/+0
|
* Add console scripts healpix2hpx.py and hpx2healpix.pyAaron LI2016-09-272-0/+124
|
* utils/healpix.py: HEALPix data and HPX projection conversionsAaron LI2016-09-272-0/+344
| | | | | | | | | * healpix2hpx: reorganize HEALPix data in HPX projection * hpx2healpix: recover the HEALPix data from HPX projection Thanks: M. Calabretta: WCSLIB: HPXcvt TODO: Add test codes
* __init__.py: add __url__ and minor fixAaron LI2016-09-271-2/+1
|
* Update requirements.txtAaron LI2016-09-251-0/+3
|
* Add logging and update setup configsAaron LI2016-09-252-2/+29
|
* README.rst: fix a linkAaron LI2016-09-211-1/+1
|
* README.rst: fix linksAaron LI2016-09-211-2/+2
|
* Setup package structuresAaron LI2016-09-2010-0/+85
| | | | | Credit: https://github.com/kennethreitz/samplemod TODO: Add the 'docs' part
* Change README using reStructuredText syntaxAaron LI2016-09-202-31/+35
|
* Minor revisions to CONTRIBUTING.mdAaron LI2016-09-091-7/+9
|
* README.md: add contributions sectionAaron LI2016-09-091-1/+5
|
* Add CONTRIBUTING.md to guide contributions.Aaron LI2016-09-091-0/+130
| | | | | | | | | | This contribution guidelines largely based on the guidelines of the following two projects: * [bootstrap](https://github.com/twbs/bootstrap) * [caffe](https://github.com/BVLC/caffe) Thanks them!
* README.md: explain license for the documentationsAaron LI2016-09-091-2/+3
|
* First commit :)Aaron LI2016-09-073-0/+62