Skip to main content

GRCRiddle - Study and examination of alphabetical and isopsephical riddles of ancient Greeks

Project description

# GRCRiddles

Study of alpha-numeric riddles of ancient Greeks

Install:

```bash
pip install grcriddles
```

Use from Python/IPython console:

```python
# get words with length 9, isopsephy 1697, consonants 5,
# and the first three syllables having 2 letters each
# syllable count is going to be 4 with above parameters
words = get_database({0: 'Word', 1: 'Count', 3: 'Chars', 4: 'Isopsephy', 5: 'Syllables', 7: 'Vowels', 8: 'Mutes'})
a = words[words['Isopsephy'] == 1697]
a = a[a['Chars'] == 9]
a = a[a['Mutes'] == 5]
a = a[a.apply(lambda x: len(x['Syllables'][0]) == 2 and \
len(x['Syllables'][1]) == 2 and \
len(x['Syllables'][2]) == 2, axis=1)]
# output words ordered alphabetically
a.sort_index()
```

Output:

```txt
Count Chars Isopsephy Syllables Vowels Mutes
Word
ΑΜΦΕΚΑΛΥΨ 1 9 1697 [ΑΜ, ΦΕ, ΚΑ, ΛΥΨ] 4 5
ΛΗΛΥΘΟΤΩΝ 1 9 1697 [ΛΗ, ΛΥ, ΘΟ, ΤΩΝ] 4 5
ΜΕΤΑΝΑΣΤΩ 1 9 1697 [ΜΕ, ΤΑ, ΝΑ, ΣΤΩ] 4 5
ΣΥΝΩΚΙΣΘΗ 13 9 1697 [ΣΥ, ΝΩ, ΚΙ, ΣΘΗ] 4 5
```

```python
# get words containing ΑΜΦΕΚΑΛΥ stem word
b = words.filter(like="ΑΜΦΕΚΑΛΥ", axis=0)
b.sort_index()
```

Output:

```txt
Count Chars Isopsephy Syllables Vowels Mutes
Word
ΑΜΦΕΚΑΛΥΠΤΕ 3 11 1382 [ΑΜ, ΦΕ, ΚΑ, ΛΥ, ΠΤΕ] 5 6
ΑΜΦΕΚΑΛΥΠΤΟΝ 2 12 1497 [ΑΜ, ΦΕ, ΚΑ, ΛΥ, ΠΤΟΝ] 5 7
ΑΜΦΕΚΑΛΥΦΘΗ 2 11 1514 [ΑΜ, ΦΕ, ΚΑ, ΛΥ, ΦΘΗ] 5 6
ΑΜΦΕΚΑΛΥΨ 1 9 1697 [ΑΜ, ΦΕ, ΚΑ, ΛΥΨ] 4 5
ΑΜΦΕΚΑΛΥΨΑΝ 2 11 1748 [ΑΜ, ΦΕ, ΚΑ, ΛΥ, ΨΑΝ] 5 6
ΑΜΦΕΚΑΛΥΨΕ 18 10 1702 [ΑΜ, ΦΕ, ΚΑ, ΛΥ, ΨΕ] 5 5
ΑΜΦΕΚΑΛΥΨΕΝ 20 11 1752 [ΑΜ, ΦΕ, ΚΑ, ΛΥ, ΨΕΝ] 5 6
```

### Docs

Developer documentation: http://grcriddles.readthedocs.io/en/latest/

Greek Alpha-Numeric Riddle Solver EBook: https://www.gitbook.com/book/markomanninen/isopsephical-riddles-pseudo-sibylline-oracles/details

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

grcriddles-0.1.6.tar.gz (31.3 MB view details)

Uploaded Source

File details

Details for the file grcriddles-0.1.6.tar.gz.

File metadata

  • Download URL: grcriddles-0.1.6.tar.gz
  • Upload date:
  • Size: 31.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for grcriddles-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f32ce4a0f5d6279d1fdaf45f178e6a4a06c9112f66c5540220068d2d8f6f6c86
MD5 3ece18c7ec31076d002b9044f827d800
BLAKE2b-256 2821b923bc8ef0662298fb46da13f044edcf2e2cc08d3b7cfca0eb7f40e712ce

See more details on using hashes here.

Supported by

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