Skip to main content

Program to calculate and convert Tzolk’in/Maya calendar dates.

Project description

tzolkin-calendar - Converter for Maya Tzolk’in Dates

This program converts mayan Tzolk’in dates to gregorian dates and vice versa. If you want to know more about the maya calendar systems, see Links.

Information about the installation and usage you find at Installation and Usage

MIT license badge Python version badge PIP version badge ReadTheDocs badge Code style: black more badges

Table of Contents

Links

Smithsonian Museo Nacional del Indígena Americano: Viviendo El Tiempo Maya

Website of the Smithsonian National Museum of the American Indian on Mayas Living Maya Time.

Online general Maya (not only Tzolk’in) calendar converter: Maya Converter of the Smithsonian NMAI

Convertidor Al Calendario Maya Smithsonian NMIA

Mayan Glyphs and Unicode: Roadmap to the SMP and the PDF Updated List of Characters for Mayan Codices

Installation and Usage

Prerequisites

You need Python, at least version 3.9 to be able to use tzolkin-calendar. You can download it from python.org.

To install the package, you need pip, see Installing pip.

Installation

Install the package using pip on a shell or command prompt:

python -m pip install tzolkin-calendar

More information about using pip you get at pip Quickstart

Usage

More information

Detailed information is available at the documentation website.

Contributing

Any help is welcome!

If you encounter a problem using tzolkin-calendar, a task it not as easy as you'd like it to be or you'd like something added to it: open an issue at GitHub.

Report Issues (Bugs and Feature Requests)

File a bug report at Github

Add a feature request at Github

Changing the Documentation and Source Code

If you'd like to contribute directly, e.g. better the documentation, add another language or write some source code: fork tzolkin-calendar by clicking the Fork-button in the upper right corner of the GitHub project website. Check out your fork of tzolkin-calendar using the URL from the Code-button of your fork on Github. The URL should be something like github.com/YOUR_USERNAME/tzolkin-calendar.git.

Details about how to fork a repository on Github are here

and set up the development environment using pipenv.

First, install pipenv if you don't already have it installed:

python -m pip install --upgrade pipenv

and install all needed packages to develop tzolkin-calender:

cd tzolkin-calendar
python -m pipenv install --dev

That command installs all packages in Pipfile/Pipfile.lock in the directory tzolkin-calender, the root directory of tzolkin-calendar.

More information about pipenv can be found at Pipenv.

Make your changes, push them to your forked repository and make a pull-request (e.g. using the Pull request-button above and right of GitHubs source file view).

See GitHub on Pull-Requests

Github Documentation on Collaborating with Issues and Pull Requests

See GitHub's documentation about how to contribute for details: Contributing at Github

License

Everything in tzolkin-calendar is licensed under the MIT license, see file LICENSE

Badges

External Checks

DeepSource Maintainability codecov

Static Code Checks

Bandit Black Flake8 Pycodestyle Pydocstyle Pyflakes

Tests

Mac OS X latest Tests Mac OS X latest Ubuntu 20.04 Tests Ubuntu 20.04 Windows 2019 Tests Windows 2019

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tzolkin-calendar-0.9.0.tar.gz (16.2 kB view hashes)

Uploaded Source

Built Distribution

tzolkin_calendar-0.9.0-py3-none-any.whl (14.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page