Mercurial > hg > numerics
annotate README.txt @ 193:dc495f0b5ee8 default tip
[testing] toxify
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 13 Aug 2017 15:52:01 -0700 |
parents | 2a69ce7f944e |
children |
rev | line source |
---|---|
35 | 1 = numerics = |
2 | |
3 /python experiments in numerics + plotting/ | |
4 | |
191
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
5 == What is numerics? == |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
6 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
7 Over the years and at various companies, I have found the need to |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
8 perform quick pipelines of calculations on mathematical data (usually |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
9 numbers). The `numerics` |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
10 [python package](https://pypi.python.org/pypi/numerics) |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
11 is an assemblege of tools and methods needed to scratch this issue. |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
12 It is neither scoped nor complete. |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
13 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
14 `numerics` largely deals in the currency of Comma Separated Value (CSV) |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
15 files. |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
16 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
17 == Dependencies == |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
18 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
19 The backbone of `numerics` are its dependencies, which I have either |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
20 used + liked or just used: |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
21 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
22 - [NumPy](http://www.numpy.org/) |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
23 - [pandas](http://pandas.pydata.org/) : python data analysis |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
24 - [matplotlib](https://matplotlib.org/) |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
25 - [bokeh](http://bokeh.pydata.org/en/latest/) : because I couldn't |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
26 decide which visualization library I *actually* wanted |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
27 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
28 These dependencies are (mostly) listed in `numerics`'s |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
29 [setup.py](http://k0s.org/hg/numerics/file/tip/setup.py) |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
30 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
31 |
174 | 32 == Installation == |
33 | |
176 | 34 Because `numerics` is largely a bunch of experiments, it requires |
35 several packages. Some of them *may* be challenging to install. | |
36 Here's how, as best I know. | |
37 | |
191
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
38 I have found it necessary to `pip install bokeh` before |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
39 the rest of numerics...otherwise a version conflict re `pytz` may result. |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
40 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
41 Then one may do `python setup.py develop` in the `numerics` directory |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
42 |
174 | 43 === OSX === |
44 | |
191
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
45 For [matplotlib](https://matplotlib.org/): |
177 | 46 |
174 | 47 http://superuser.com/questions/242190/how-to-install-matplotlib-on-os-x |
48 | |
177 | 49 You may also have to manually refresh the font cache: |
50 | |
51 cd ~/.matplotlib/ | |
52 fc-list # Should take a couple minutes. | |
53 | |
54 (From: http://stackoverflow.com/questions/17490444/import-matplotlib-pyplot-hangs ) | |
55 | |
191
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
56 |
192 | 57 == Testing == |
58 | |
59 Use `pytest` + `tox` per usual | |
60 | |
35 | 61 == Libraries == |
0 | 62 |
35 | 63 The following libraries, listed by language, may be worth investigating. |
64 | |
191
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
65 |
35 | 66 === JavaScript === |
67 | |
68 - http://metricsgraphicsjs.org/ | |
143 | 69 - https://github.com/mikedewar/d3py : python -> d3 bridge |
0 | 70 |
191
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
71 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
72 == Links == |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
73 |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
74 - https://scipy.org/ |
09bcb48cc067
[documentation] more on what this is and what it depends on
Jeff Hammel <k0scist@gmail.com>
parents:
177
diff
changeset
|
75 |
0 | 76 ---- |
77 | |
78 Jeff Hammel | |
79 | |
35 | 80 http://k0s.org/hg/numerics |
0 | 81 |