kundali-chart-mcp 0.2.4 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +60 -43
  2. package/azure-function/flatlib/LICENSE +22 -0
  3. package/azure-function/flatlib/MANIFEST.in +2 -0
  4. package/azure-function/flatlib/README.md +31 -0
  5. package/azure-function/flatlib/README.rst +47 -0
  6. package/azure-function/flatlib/docs/Makefile +195 -0
  7. package/azure-function/flatlib/docs/README.md +37 -0
  8. package/azure-function/flatlib/docs/make.bat +263 -0
  9. package/azure-function/flatlib/docs/source/_static/python-interpreter-osx.png +0 -0
  10. package/azure-function/flatlib/docs/source/_static/python-interpreter-win32.png +0 -0
  11. package/azure-function/flatlib/docs/source/_static/xcode-command-line-tools.png +0 -0
  12. package/azure-function/flatlib/docs/source/conf.py +286 -0
  13. package/azure-function/flatlib/docs/source/faq.rst +49 -0
  14. package/azure-function/flatlib/docs/source/index.rst +23 -0
  15. package/azure-function/flatlib/docs/source/installation.rst +87 -0
  16. package/azure-function/flatlib/docs/source/tutorials/chart-properties.rst +196 -0
  17. package/azure-function/flatlib/docs/source/tutorials/create-chart.rst +129 -0
  18. package/azure-function/flatlib/docs/source/tutorials/index.rst +9 -0
  19. package/azure-function/flatlib/docs/source/tutorials/intro-python.rst +168 -0
  20. package/azure-function/flatlib/flatlib/__init__.py +14 -0
  21. package/azure-function/flatlib/flatlib/angle.py +127 -0
  22. package/azure-function/flatlib/flatlib/aspects.py +330 -0
  23. package/azure-function/flatlib/flatlib/chart.py +185 -0
  24. package/azure-function/flatlib/flatlib/const.py +308 -0
  25. package/azure-function/flatlib/flatlib/datetime.py +212 -0
  26. package/azure-function/flatlib/flatlib/dignities/__init__.py +9 -0
  27. package/azure-function/flatlib/flatlib/dignities/accidental.py +482 -0
  28. package/azure-function/flatlib/flatlib/dignities/essential.py +219 -0
  29. package/azure-function/flatlib/flatlib/dignities/tables.py +495 -0
  30. package/azure-function/flatlib/flatlib/ephem/__init__.py +23 -0
  31. package/azure-function/flatlib/flatlib/ephem/eph.py +189 -0
  32. package/azure-function/flatlib/flatlib/ephem/ephem.py +211 -0
  33. package/azure-function/flatlib/flatlib/ephem/swe.py +327 -0
  34. package/azure-function/flatlib/flatlib/ephem/tools.py +107 -0
  35. package/azure-function/flatlib/flatlib/geopos.py +93 -0
  36. package/azure-function/flatlib/flatlib/lists.py +106 -0
  37. package/azure-function/flatlib/flatlib/object.py +268 -0
  38. package/azure-function/flatlib/flatlib/predictives/__init__.py +9 -0
  39. package/azure-function/flatlib/flatlib/predictives/primarydirections.py +336 -0
  40. package/azure-function/flatlib/flatlib/predictives/profections.py +44 -0
  41. package/azure-function/flatlib/flatlib/predictives/returns.py +44 -0
  42. package/azure-function/flatlib/flatlib/props.py +357 -0
  43. package/azure-function/flatlib/flatlib/protocols/__init__.py +9 -0
  44. package/azure-function/flatlib/flatlib/protocols/almutem.py +117 -0
  45. package/azure-function/flatlib/flatlib/protocols/behavior.py +69 -0
  46. package/azure-function/flatlib/flatlib/protocols/temperament.py +271 -0
  47. package/azure-function/flatlib/flatlib/resources/README.md +3 -0
  48. package/azure-function/flatlib/flatlib/resources/swefiles/fixstars.cat +1138 -0
  49. package/azure-function/flatlib/flatlib/resources/swefiles/seas_12.se1 +0 -0
  50. package/azure-function/flatlib/flatlib/resources/swefiles/seas_18.se1 +0 -0
  51. package/azure-function/flatlib/flatlib/resources/swefiles/seas_24.se1 +0 -0
  52. package/azure-function/flatlib/flatlib/resources/swefiles/semo_12.se1 +0 -0
  53. package/azure-function/flatlib/flatlib/resources/swefiles/semo_18.se1 +0 -0
  54. package/azure-function/flatlib/flatlib/resources/swefiles/semo_24.se1 +0 -0
  55. package/azure-function/flatlib/flatlib/resources/swefiles/sepl_12.se1 +0 -0
  56. package/azure-function/flatlib/flatlib/resources/swefiles/sepl_18.se1 +0 -0
  57. package/azure-function/flatlib/flatlib/resources/swefiles/sepl_24.se1 +0 -0
  58. package/azure-function/flatlib/flatlib/tools/__init__.py +9 -0
  59. package/azure-function/flatlib/flatlib/tools/arabicparts.py +184 -0
  60. package/azure-function/flatlib/flatlib/tools/chartdynamics.py +152 -0
  61. package/azure-function/flatlib/flatlib/tools/planetarytime.py +182 -0
  62. package/azure-function/flatlib/flatlib/utils.py +76 -0
  63. package/azure-function/flatlib/recipes/README.md +3 -0
  64. package/azure-function/flatlib/recipes/accidentaldignities.py +59 -0
  65. package/azure-function/flatlib/recipes/almutem.py +25 -0
  66. package/azure-function/flatlib/recipes/arabicparts.py +24 -0
  67. package/azure-function/flatlib/recipes/aspects.py +28 -0
  68. package/azure-function/flatlib/recipes/behavior.py +25 -0
  69. package/azure-function/flatlib/recipes/chartdynamics.py +45 -0
  70. package/azure-function/flatlib/recipes/eclipses.py +23 -0
  71. package/azure-function/flatlib/recipes/essentialdignities.py +34 -0
  72. package/azure-function/flatlib/recipes/leapyears.py +70 -0
  73. package/azure-function/flatlib/recipes/planetarytime.py +29 -0
  74. package/azure-function/flatlib/recipes/primarydirections.py +51 -0
  75. package/azure-function/flatlib/recipes/profections.py +28 -0
  76. package/azure-function/flatlib/recipes/siderealzodiac.py +22 -0
  77. package/azure-function/flatlib/recipes/solarreturn.py +34 -0
  78. package/azure-function/flatlib/recipes/solaryears.py +61 -0
  79. package/azure-function/flatlib/recipes/temperament.py +37 -0
  80. package/azure-function/flatlib/requirements.txt +1 -0
  81. package/azure-function/flatlib/scripts/build.py +51 -0
  82. package/azure-function/flatlib/scripts/clean.py +9 -0
  83. package/azure-function/flatlib/scripts/utils.py +51 -0
  84. package/azure-function/flatlib/setup.py +49 -0
  85. package/azure-function/flatlib/tests/test_chart.py +19 -0
  86. package/azure-function/function_app.py +43 -13
  87. package/azure-function/requirements.txt +3 -3
  88. package/package.json +2 -2
@@ -0,0 +1,263 @@
1
+ @ECHO OFF
2
+
3
+ REM Command file for Sphinx documentation
4
+
5
+ if "%SPHINXBUILD%" == "" (
6
+ set SPHINXBUILD=sphinx-build
7
+ )
8
+ set BUILDDIR=build
9
+ set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% source
10
+ set I18NSPHINXOPTS=%SPHINXOPTS% source
11
+ if NOT "%PAPER%" == "" (
12
+ set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
13
+ set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
14
+ )
15
+
16
+ if "%1" == "" goto help
17
+
18
+ if "%1" == "help" (
19
+ :help
20
+ echo.Please use `make ^<target^>` where ^<target^> is one of
21
+ echo. html to make standalone HTML files
22
+ echo. dirhtml to make HTML files named index.html in directories
23
+ echo. singlehtml to make a single large HTML file
24
+ echo. pickle to make pickle files
25
+ echo. json to make JSON files
26
+ echo. htmlhelp to make HTML files and a HTML help project
27
+ echo. qthelp to make HTML files and a qthelp project
28
+ echo. devhelp to make HTML files and a Devhelp project
29
+ echo. epub to make an epub
30
+ echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
31
+ echo. text to make text files
32
+ echo. man to make manual pages
33
+ echo. texinfo to make Texinfo files
34
+ echo. gettext to make PO message catalogs
35
+ echo. changes to make an overview over all changed/added/deprecated items
36
+ echo. xml to make Docutils-native XML files
37
+ echo. pseudoxml to make pseudoxml-XML files for display purposes
38
+ echo. linkcheck to check all external links for integrity
39
+ echo. doctest to run all doctests embedded in the documentation if enabled
40
+ echo. coverage to run coverage check of the documentation if enabled
41
+ goto end
42
+ )
43
+
44
+ if "%1" == "clean" (
45
+ for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
46
+ del /q /s %BUILDDIR%\*
47
+ goto end
48
+ )
49
+
50
+
51
+ REM Check if sphinx-build is available and fallback to Python version if any
52
+ %SPHINXBUILD% 2> nul
53
+ if errorlevel 9009 goto sphinx_python
54
+ goto sphinx_ok
55
+
56
+ :sphinx_python
57
+
58
+ set SPHINXBUILD=python -m sphinx.__init__
59
+ %SPHINXBUILD% 2> nul
60
+ if errorlevel 9009 (
61
+ echo.
62
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
63
+ echo.installed, then set the SPHINXBUILD environment variable to point
64
+ echo.to the full path of the 'sphinx-build' executable. Alternatively you
65
+ echo.may add the Sphinx directory to PATH.
66
+ echo.
67
+ echo.If you don't have Sphinx installed, grab it from
68
+ echo.http://sphinx-doc.org/
69
+ exit /b 1
70
+ )
71
+
72
+ :sphinx_ok
73
+
74
+
75
+ if "%1" == "html" (
76
+ %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
77
+ if errorlevel 1 exit /b 1
78
+ echo.
79
+ echo.Build finished. The HTML pages are in %BUILDDIR%/html.
80
+ goto end
81
+ )
82
+
83
+ if "%1" == "dirhtml" (
84
+ %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
85
+ if errorlevel 1 exit /b 1
86
+ echo.
87
+ echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
88
+ goto end
89
+ )
90
+
91
+ if "%1" == "singlehtml" (
92
+ %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
93
+ if errorlevel 1 exit /b 1
94
+ echo.
95
+ echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
96
+ goto end
97
+ )
98
+
99
+ if "%1" == "pickle" (
100
+ %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
101
+ if errorlevel 1 exit /b 1
102
+ echo.
103
+ echo.Build finished; now you can process the pickle files.
104
+ goto end
105
+ )
106
+
107
+ if "%1" == "json" (
108
+ %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
109
+ if errorlevel 1 exit /b 1
110
+ echo.
111
+ echo.Build finished; now you can process the JSON files.
112
+ goto end
113
+ )
114
+
115
+ if "%1" == "htmlhelp" (
116
+ %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
117
+ if errorlevel 1 exit /b 1
118
+ echo.
119
+ echo.Build finished; now you can run HTML Help Workshop with the ^
120
+ .hhp project file in %BUILDDIR%/htmlhelp.
121
+ goto end
122
+ )
123
+
124
+ if "%1" == "qthelp" (
125
+ %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
126
+ if errorlevel 1 exit /b 1
127
+ echo.
128
+ echo.Build finished; now you can run "qcollectiongenerator" with the ^
129
+ .qhcp project file in %BUILDDIR%/qthelp, like this:
130
+ echo.^> qcollectiongenerator %BUILDDIR%\qthelp\flatlib.qhcp
131
+ echo.To view the help file:
132
+ echo.^> assistant -collectionFile %BUILDDIR%\qthelp\flatlib.ghc
133
+ goto end
134
+ )
135
+
136
+ if "%1" == "devhelp" (
137
+ %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
138
+ if errorlevel 1 exit /b 1
139
+ echo.
140
+ echo.Build finished.
141
+ goto end
142
+ )
143
+
144
+ if "%1" == "epub" (
145
+ %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
146
+ if errorlevel 1 exit /b 1
147
+ echo.
148
+ echo.Build finished. The epub file is in %BUILDDIR%/epub.
149
+ goto end
150
+ )
151
+
152
+ if "%1" == "latex" (
153
+ %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
154
+ if errorlevel 1 exit /b 1
155
+ echo.
156
+ echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
157
+ goto end
158
+ )
159
+
160
+ if "%1" == "latexpdf" (
161
+ %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
162
+ cd %BUILDDIR%/latex
163
+ make all-pdf
164
+ cd %~dp0
165
+ echo.
166
+ echo.Build finished; the PDF files are in %BUILDDIR%/latex.
167
+ goto end
168
+ )
169
+
170
+ if "%1" == "latexpdfja" (
171
+ %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
172
+ cd %BUILDDIR%/latex
173
+ make all-pdf-ja
174
+ cd %~dp0
175
+ echo.
176
+ echo.Build finished; the PDF files are in %BUILDDIR%/latex.
177
+ goto end
178
+ )
179
+
180
+ if "%1" == "text" (
181
+ %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
182
+ if errorlevel 1 exit /b 1
183
+ echo.
184
+ echo.Build finished. The text files are in %BUILDDIR%/text.
185
+ goto end
186
+ )
187
+
188
+ if "%1" == "man" (
189
+ %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
190
+ if errorlevel 1 exit /b 1
191
+ echo.
192
+ echo.Build finished. The manual pages are in %BUILDDIR%/man.
193
+ goto end
194
+ )
195
+
196
+ if "%1" == "texinfo" (
197
+ %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
198
+ if errorlevel 1 exit /b 1
199
+ echo.
200
+ echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
201
+ goto end
202
+ )
203
+
204
+ if "%1" == "gettext" (
205
+ %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
206
+ if errorlevel 1 exit /b 1
207
+ echo.
208
+ echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
209
+ goto end
210
+ )
211
+
212
+ if "%1" == "changes" (
213
+ %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
214
+ if errorlevel 1 exit /b 1
215
+ echo.
216
+ echo.The overview file is in %BUILDDIR%/changes.
217
+ goto end
218
+ )
219
+
220
+ if "%1" == "linkcheck" (
221
+ %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
222
+ if errorlevel 1 exit /b 1
223
+ echo.
224
+ echo.Link check complete; look for any errors in the above output ^
225
+ or in %BUILDDIR%/linkcheck/output.txt.
226
+ goto end
227
+ )
228
+
229
+ if "%1" == "doctest" (
230
+ %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
231
+ if errorlevel 1 exit /b 1
232
+ echo.
233
+ echo.Testing of doctests in the sources finished, look at the ^
234
+ results in %BUILDDIR%/doctest/output.txt.
235
+ goto end
236
+ )
237
+
238
+ if "%1" == "coverage" (
239
+ %SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage
240
+ if errorlevel 1 exit /b 1
241
+ echo.
242
+ echo.Testing of coverage in the sources finished, look at the ^
243
+ results in %BUILDDIR%/coverage/python.txt.
244
+ goto end
245
+ )
246
+
247
+ if "%1" == "xml" (
248
+ %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml
249
+ if errorlevel 1 exit /b 1
250
+ echo.
251
+ echo.Build finished. The XML files are in %BUILDDIR%/xml.
252
+ goto end
253
+ )
254
+
255
+ if "%1" == "pseudoxml" (
256
+ %SPHINXBUILD% -b pseudoxml %ALLSPHINXOPTS% %BUILDDIR%/pseudoxml
257
+ if errorlevel 1 exit /b 1
258
+ echo.
259
+ echo.Build finished. The pseudo-XML files are in %BUILDDIR%/pseudoxml.
260
+ goto end
261
+ )
262
+
263
+ :end
@@ -0,0 +1,286 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ #
4
+ # flatlib documentation build configuration file, created by
5
+ # sphinx-quickstart on Mon Apr 13 18:08:41 2015.
6
+ #
7
+ # This file is execfile()d with the current directory set to its
8
+ # containing dir.
9
+ #
10
+ # Note that not all possible configuration values are present in this
11
+ # autogenerated file.
12
+ #
13
+ # All configuration values have a default; values that are commented out
14
+ # serve to show the default.
15
+
16
+ import sys
17
+ import os
18
+ import shlex
19
+
20
+ # If extensions (or modules to document with autodoc) are in another directory,
21
+ # add these directories to sys.path here. If the directory is relative to the
22
+ # documentation root, use os.path.abspath to make it absolute, like shown here.
23
+ #sys.path.insert(0, os.path.abspath('.'))
24
+
25
+ # -- General configuration ------------------------------------------------
26
+
27
+ # If your documentation needs a minimal Sphinx version, state it here.
28
+ #needs_sphinx = '1.0'
29
+
30
+ # Add any Sphinx extension module names here, as strings. They can be
31
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32
+ # ones.
33
+ extensions = []
34
+
35
+ # Add any paths that contain templates here, relative to this directory.
36
+ #templates_path = ['_templates']
37
+
38
+ # The suffix(es) of source filenames.
39
+ # You can specify multiple suffix as a list of string:
40
+ # source_suffix = ['.rst', '.md']
41
+ source_suffix = '.rst'
42
+
43
+ # The encoding of source files.
44
+ #source_encoding = 'utf-8-sig'
45
+
46
+ # The master toctree document.
47
+ master_doc = 'index'
48
+
49
+ # General information about the project.
50
+ project = 'flatlib'
51
+ copyright = '2015, João Ventura'
52
+ author = 'João Ventura'
53
+
54
+ # The version info for the project you're documenting, acts as replacement for
55
+ # |version| and |release|, also used in various other places throughout the
56
+ # built documents.
57
+ #
58
+ # The short X.Y version.
59
+ version = '0.2'
60
+ # The full version, including alpha/beta/rc tags.
61
+ release = '0.2.0'
62
+
63
+ # The language for content autogenerated by Sphinx. Refer to documentation
64
+ # for a list of supported languages.
65
+ #
66
+ # This is also used if you do content translation via gettext catalogs.
67
+ # Usually you set "language" from the command line for these cases.
68
+ language = None
69
+
70
+ # There are two options for replacing |today|: either, you set today to some
71
+ # non-false value, then it is used:
72
+ #today = ''
73
+ # Else, today_fmt is used as the format for a strftime call.
74
+ #today_fmt = '%B %d, %Y'
75
+
76
+ # List of patterns, relative to source directory, that match files and
77
+ # directories to ignore when looking for source files.
78
+ exclude_patterns = []
79
+
80
+ # The reST default role (used for this markup: `text`) to use for all
81
+ # documents.
82
+ #default_role = None
83
+
84
+ # If true, '()' will be appended to :func: etc. cross-reference text.
85
+ #add_function_parentheses = True
86
+
87
+ # If true, the current module name will be prepended to all description
88
+ # unit titles (such as .. function::).
89
+ #add_module_names = True
90
+
91
+ # If true, sectionauthor and moduleauthor directives will be shown in the
92
+ # output. They are ignored by default.
93
+ #show_authors = False
94
+
95
+ # The name of the Pygments (syntax highlighting) style to use.
96
+ pygments_style = 'sphinx'
97
+
98
+ # A list of ignored prefixes for module index sorting.
99
+ #modindex_common_prefix = []
100
+
101
+ # If true, keep warnings as "system message" paragraphs in the built documents.
102
+ #keep_warnings = False
103
+
104
+ # If true, `todo` and `todoList` produce output, else they produce nothing.
105
+ todo_include_todos = False
106
+
107
+
108
+ # -- Options for HTML output ----------------------------------------------
109
+
110
+ # The theme to use for HTML and HTML Help pages. See the documentation for
111
+ # a list of builtin themes.
112
+ html_theme = 'sphinx_rtd_theme'
113
+
114
+ # Theme options are theme-specific and customize the look and feel of a theme
115
+ # further. For a list of options available for each theme, see the
116
+ # documentation.
117
+ #html_theme_options = {}
118
+
119
+ # Add any paths that contain custom themes here, relative to this directory.
120
+ import sphinx_rtd_theme
121
+ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
122
+
123
+ # The name for this set of Sphinx documents. If None, it defaults to
124
+ # "<project> v<release> documentation".
125
+ #html_title = None
126
+
127
+ # A shorter title for the navigation bar. Default is the same as html_title.
128
+ #html_short_title = None
129
+
130
+ # The name of an image file (relative to this directory) to place at the top
131
+ # of the sidebar.
132
+ #html_logo = None
133
+
134
+ # The name of an image file (within the static path) to use as favicon of the
135
+ # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
136
+ # pixels large.
137
+ #html_favicon = None
138
+
139
+ # Add any paths that contain custom static files (such as style sheets) here,
140
+ # relative to this directory. They are copied after the builtin static files,
141
+ # so a file named "default.css" will overwrite the builtin "default.css".
142
+ html_static_path = ['_static']
143
+
144
+ # Add any extra paths that contain custom files (such as robots.txt or
145
+ # .htaccess) here, relative to this directory. These files are copied
146
+ # directly to the root of the documentation.
147
+ #html_extra_path = []
148
+
149
+ # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
150
+ # using the given strftime format.
151
+ #html_last_updated_fmt = '%b %d, %Y'
152
+
153
+ # If true, SmartyPants will be used to convert quotes and dashes to
154
+ # typographically correct entities.
155
+ #html_use_smartypants = True
156
+
157
+ # Custom sidebar templates, maps document names to template names.
158
+ #html_sidebars = {}
159
+
160
+ # Additional templates that should be rendered to pages, maps page names to
161
+ # template names.
162
+ #html_additional_pages = {}
163
+
164
+ # If false, no module index is generated.
165
+ #html_domain_indices = True
166
+
167
+ # If false, no index is generated.
168
+ #html_use_index = True
169
+
170
+ # If true, the index is split into individual pages for each letter.
171
+ #html_split_index = False
172
+
173
+ # If true, links to the reST sources are added to the pages.
174
+ #html_show_sourcelink = True
175
+
176
+ # If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
177
+ #html_show_sphinx = True
178
+
179
+ # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
180
+ #html_show_copyright = True
181
+
182
+ # If true, an OpenSearch description file will be output, and all pages will
183
+ # contain a <link> tag referring to it. The value of this option must be the
184
+ # base URL from which the finished HTML is served.
185
+ #html_use_opensearch = ''
186
+
187
+ # This is the file name suffix for HTML files (e.g. ".xhtml").
188
+ #html_file_suffix = None
189
+
190
+ # Language to be used for generating the HTML full-text search index.
191
+ # Sphinx supports the following languages:
192
+ # 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
193
+ # 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr'
194
+ #html_search_language = 'en'
195
+
196
+ # A dictionary with options for the search language support, empty by default.
197
+ # Now only 'ja' uses this config value
198
+ #html_search_options = {'type': 'default'}
199
+
200
+ # The name of a javascript file (relative to the configuration directory) that
201
+ # implements a search results scorer. If empty, the default will be used.
202
+ #html_search_scorer = 'scorer.js'
203
+
204
+ # Output file base name for HTML help builder.
205
+ htmlhelp_basename = 'flatlibdoc'
206
+
207
+ # -- Options for LaTeX output ---------------------------------------------
208
+
209
+ latex_elements = {
210
+ # The paper size ('letterpaper' or 'a4paper').
211
+ #'papersize': 'letterpaper',
212
+
213
+ # The font size ('10pt', '11pt' or '12pt').
214
+ #'pointsize': '10pt',
215
+
216
+ # Additional stuff for the LaTeX preamble.
217
+ #'preamble': '',
218
+
219
+ # Latex figure (float) alignment
220
+ #'figure_align': 'htbp',
221
+ }
222
+
223
+ # Grouping the document tree into LaTeX files. List of tuples
224
+ # (source start file, target name, title,
225
+ # author, documentclass [howto, manual, or own class]).
226
+ latex_documents = [
227
+ (master_doc, 'flatlib.tex', 'flatlib Documentation',
228
+ 'João Ventura', 'manual'),
229
+ ]
230
+
231
+ # The name of an image file (relative to this directory) to place at the top of
232
+ # the title page.
233
+ #latex_logo = None
234
+
235
+ # For "manual" documents, if this is true, then toplevel headings are parts,
236
+ # not chapters.
237
+ #latex_use_parts = False
238
+
239
+ # If true, show page references after internal links.
240
+ #latex_show_pagerefs = False
241
+
242
+ # If true, show URL addresses after external links.
243
+ #latex_show_urls = False
244
+
245
+ # Documents to append as an appendix to all manuals.
246
+ #latex_appendices = []
247
+
248
+ # If false, no module index is generated.
249
+ #latex_domain_indices = True
250
+
251
+
252
+ # -- Options for manual page output ---------------------------------------
253
+
254
+ # One entry per manual page. List of tuples
255
+ # (source start file, name, description, authors, manual section).
256
+ man_pages = [
257
+ (master_doc, 'flatlib', 'flatlib Documentation',
258
+ [author], 1)
259
+ ]
260
+
261
+ # If true, show URL addresses after external links.
262
+ #man_show_urls = False
263
+
264
+
265
+ # -- Options for Texinfo output -------------------------------------------
266
+
267
+ # Grouping the document tree into Texinfo files. List of tuples
268
+ # (source start file, target name, title, author,
269
+ # dir menu entry, description, category)
270
+ texinfo_documents = [
271
+ (master_doc, 'flatlib', 'flatlib Documentation',
272
+ author, 'flatlib', 'One line description of project.',
273
+ 'Miscellaneous'),
274
+ ]
275
+
276
+ # Documents to append as an appendix to all manuals.
277
+ #texinfo_appendices = []
278
+
279
+ # If false, no module index is generated.
280
+ #texinfo_domain_indices = True
281
+
282
+ # How to display URL addresses: 'footnote', 'no', or 'inline'.
283
+ #texinfo_show_urls = 'footnote'
284
+
285
+ # If true, do not generate a @detailmenu in the "Top" node's menu.
286
+ #texinfo_no_detailmenu = False
@@ -0,0 +1,49 @@
1
+ Frequently Asked Questions
2
+ ==========================
3
+
4
+
5
+ **Can everyone use it?**
6
+
7
+ Flatlib is open-source software so everyone is free to install and use it.
8
+ However, since it is a programming library, some people may not be particularly inclined to use it since it
9
+ requires some learning.
10
+
11
+ **So is it not a end-user tool?**
12
+
13
+ Flatlib should really be seen as a traditional astrology software without a graphical user interface.
14
+ Therefore, it is really powerful, since users can experiment without the "chains" of a graphical user interface.
15
+
16
+ **How can I install it?**
17
+
18
+ Documentation is still scarce, but I hope to improve it in the future.
19
+ You should install the latest Python 3 (3.4) and grab the flatlib package with ``pip3 install flatlib``.
20
+ This will install flatlib and its dependencies.
21
+
22
+ **Is there a project page?**
23
+
24
+ You can check the code and simple documentation in the github page at https://github.com/flatangle/flatlib.
25
+
26
+ **Are there any sample code?**
27
+
28
+ There's a "recipes" folder with some source code at https://github.com/flatangle/flatlib/tree/master/recipes.
29
+ You can start with "aspects.py" which is at https://github.com/flatangle/flatlib/blob/master/recipes/aspects.py.
30
+
31
+ **Can I use it on my own work?**
32
+
33
+ Absolutely yes, you are free to use it in your own projects.
34
+ The flatlib source code is released under an MIT License, which allows it to be used also on commercial projects.
35
+ There is a caveat though: flatlib uses the swiss ephemeris which is licensed GPL.
36
+ Therefore, if you want to use flatlib in your commercial projects, you must adhere to the GPL license or buy a
37
+ Swiss Ephemeris commercial license.
38
+
39
+ **Why are you open-sourcing flatlib?**
40
+
41
+ I really want to help push forward data-driven research in astrology.
42
+ That is only possible with a strong community of researchers and good tools, so there was no point in keeping
43
+ flatlib hidden on my hard disk. Flatlib is also a good tool for talking about astrology techniques.
44
+ Someone can always point to the source code to explain how things can be done.
45
+
46
+ **Can I contribute to the project?**
47
+
48
+ I accept contributions such as code and documentation, although I suggest to wait a while since things are not stable yet.
49
+ The best contribution for now is to spread the news about the existence of this project.
@@ -0,0 +1,23 @@
1
+ Flatlib documentation
2
+ =====================
3
+
4
+ Flatlib is a Python 3 library for Traditional Astrology.::
5
+
6
+ >>> date = Datetime('2015/03/13', '17:00', '+00:00')
7
+ >>> pos = GeoPos('38n32', '8w54')
8
+ >>> chart = Chart(date, pos)
9
+
10
+ >>> sun = chart.get(const.SUN)
11
+ >>> print(sun)
12
+ <Sun Pisces +22:47:25 +00:59:51>
13
+
14
+
15
+ Contents
16
+ --------
17
+
18
+ .. toctree::
19
+ :maxdepth: 2
20
+
21
+ installation
22
+ tutorials/index
23
+ faq