-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command line operation #10
Comments
Definitely possible - have you seen https://sanskrit-coders.github.io/jyotisha/build/html/jyotisha_panchangam.html#helper-scripts ? |
Yes. Checked all.
There is an issue with the drik-panchang cli app as I am getting an error there. Even posted an issue.
Thats why tried to figure out if I can have for date and location that I want for.
Also I think a little more documentation needs to be present. I know it's an side effort from you guys.
But a little more would make it more helpful.
Meanwhile I will wait for drik-panchang to address my issue.
Thank you for responding.
|
I meant the scripts in https://sanskrit-coders.github.io/jyotisha/build/html/jyotisha_panchangam.html#key-features . |
The following steps worked perfectly for me:
I'll try to host this functionality as a web service (specifically Swagger documentation interface for a REST api) to make it more user friendly. |
Example request URL: http://api.vedavaapi.org/jyotisha/jyotisha/v1/calendars/coordinates/13%3A05%3A24/80%3A16%3A12/years/2017?timezone=Asia%2FCalcutta&encoding=iast @karthikraman - please feel free to add to or expand this - I think we should be able to serve ics files from such an interface; and we should develop a html/ javascript UI (which users would be able to print to PDF) which uses this REST API. That will be much more user friendly. |
Thank you. That helps. |
@aupasana - Just to check, you've installed the latest swisseph repo?
That's so wonderful! We don't have any reliable server and can think of building a nice interface if the backend API were available somewhere. |
Please try |
Thanks @vvasuki , that seems to resolve that particular issue. Once I get it working end to end. I'll submit a pull request with a dockerfile and instructions such that anyone can have a simple reliable environment to run commands against with minimal effort. |
Dockerfile that generates a working environment for those that are interested in going that route.
|
Just tried adding another method to the API for getting kaalas. Please
check
4284996
is it correct? Where do I learn more about this :)?
Also, will it automatically reflect on api.vedavaapi.org? Or it has to be
pulled manually?
Regards,
Karthik
|
नमस्कारः।
सम्यगिव भाति। स्वीये सङ्गणके चालयित्वा पश्येः - कथं चालनीयमित्यत्रालिखम् - deb85f4 ।
https://flask-restplus.readthedocs.io/en/stable/
तत्र गत्वाक्रष्टव्यम्। किञ्च काचिद् विचित्र समस्या वर्तते तत्र -
|
Perhaps this is simple? |
Yes - that was it! |
vamsi@MSI:~/panchang/panchangam-master/panchangam-master/bin$ ./gen_daily_cal.sh Chennai 13:05:24 80:16:12 'Asia/Calcutta' 2075 devanagari 'hh:mm*' lagna DEBUG: 2020-09-11 18:35:47,485 {common.py:873}: {'DataSource': <class 'sanskrit_data.schema.common.DataSource'>, 'JsonObject': <class 'sanskrit_data.schema.common.JsonObject'>, 'JsonObjectNode': <class 'sanskrit_data.schema.common.JsonObjectNode'>, 'NamedEntity': <class 'sanskrit_data.schema.common.NamedEntity'>, 'SchemaError': <class 'jsonschema.exceptions.SchemaError'>, 'ScriptRendering': <class 'sanskrit_data.schema.common.ScriptRendering'>, 'Target': <class 'sanskrit_data.schema.common.Target'>, 'TargetValidationError': <class 'sanskrit_data.schema.common.TargetValidationError'>, 'Text': <class 'sanskrit_data.schema.common.Text'>, 'UllekhanamJsonObject': <class 'sanskrit_data.schema.common.UllekhanamJsonObject'>, 'ValidationError': <class 'jsonschema.exceptions.ValidationError'>} Writing computed panchangam to /home/vamsi/Documents/Chennai-2075.json... Any help on this please ? how to include festivals in this repository ? |
How did you install the jyotisha module? Please remove the module and install using the @karthikraman I just deleted the erstwhile festival submodule (making it a submodule was a bad/ ugly idea), and instead made festival/data a submodule. This entailed changes to this repo as well as adyatithi. You might want to replicate the changes in your computer. |
Thanks a lot for your quick response and help. I have tried as per your inputs : vamsi@MSI: Still the same problem persists. It looks like sub-module adyatithi is not getting downloaded. vamsi@MSI: I tried downloading codes separately, i.e jyotisha-master.zip and adyatithi.zip, when unziped found that adyatithi.zip has needed festival.json files, and copied (festival*.json and dependencies), so that python errors can be removed and it worked. Following are the directories copied |
one more issue that I observed while generating ics files is following, just updated, so that it might help fixing bugs: python3 -m jyotisha.panchangam.scripts.write_daily_panchangam_ics Hyderabad 17:23:2 78:27:22 'Asia/Calcutta' 2020 devanagari hh:mm:ss mini > VAMSI_TEST_2020_HYD_ICS |
Following up on the installation issue at #46 |
advice you to create a new issue for that. (PS: fixes via PRs are welcome too) |
Thanks a ton. |
you don't need |
yes, "sudo pip3 install git+https://github.com/sanskrit-coders/jyotisha/@master -U" this command worked and all files are present. |
Hi
But I am getting below error
|
Pls check out the jyotisha project --- this project is currently defunct, but I hope to update it soon with just some pre-generated PDFs.... Do share your location of interest if you wish. |
I like jyotisha projects' md files. Still love to get PDFs handy.
My location is USA, Pennsylvenia, Mechanicsburg - latitude - 40.214 longitude - 77.009
On Sunday, January 24, 2021, 02:30:46 AM EST, Karthik Raman <notifications@github.com> wrote:
Pls check out the jyotisha project --- this project is currently defunct, but I hope to update it soon with just some pre-generated PDFs.... Do share your location of interest if you wish.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
getting error code PEP 517 in installing ERROR: Failed building wheel for jyotisha |
Hi, How to get pdf in tamil format |
is it not possible to kind of tweak this to run it for a command line that gets us the data we need based on date and location?
The text was updated successfully, but these errors were encountered: