semvec/pypi-packages huggingface dataset:
tinys-srd 1.0.0
A local SRD for offline access.
Requires Python: >=3.8

# Tinys SRD

This is a Python library for accessing data from the D&D SRD. It provides access to information about ability scores, equipment, and other game elements.

This library provides access to the SRD in local way with no API calls. This means that the library can be used offline.

## Usage

Here's an example of how to use the library:

```py
from tinys_srd import AbilityScores, Equipment

# Print the entries for ability scores
print(AbilityScores.entries)

# Print the attributes for equipment
print(Equipment.attributes)

# Print the strength ability score
print(AbilityScores.str)

# Print the damage for a battleaxe
print(Equipment.battleaxe.damage)
```

The library provides access to the following data:

- AbilityScores
- Alignments
- Backgrounds
- Classes
- Conditions
- DamageTypes
- EquipmentCategories
- Equipment
- Feats
- Features
- Languages
- Levels
- MagicItems
- MagicSchools
- Monsters
- Proficiencies
- Races
- RuleSections
- Rules
- Skills
- Spells
- Subclasses
- Subraces
- Traits
- WeaponProperti

<https://github.com/5e-bits> is where all this data originates

## Adding New Classes

To add a new class to the dataset, you can use the `entry_builder` class. Here's an example of how to use it:

```py
from tinys_srd import entry_builder

# Create instances of entry_builder for each entry

entry1 = entry_builder.entry_builder(attr1=value1, attr2=value2, ...)
entry2 = entry_builder.entry_builder(attr1=value1, attr2=value2, ...)
```

NOTE: The `entry_builder` class is not meant to be used directly. It is used to build the classes in this library. You should not need to create instances of it yourself. It does nothing except create a class from a dictionary, you have more control making the class yourself.

### Extending a class

```py
from tinys_srd import entry_builder
from tinys_srd.AbilityScores import *

# Create a new class that extends the AbilityScores class
entry1 = entry_builder.entry_builder(attr1=value1, attr2=value2, ...)
entry2 = entry_builder.entry_builder(attr1=value1, attr2=value2, ...)
```

You then import your file instead of AbilityScores. Do note that Intellisense suggestions may not work with this method and it may be better to keep the two seperate.
django-haystack 3.3.0
Pluggable search for Django.

.. image:: https://github.com/django-haystack/django-haystack/actions/workflows/test.yml/badge.svg
      :target: https://github.com/django-haystack/django-haystack/actions/workflows/test.yml
.. image:: https://img.shields.io/pypi/v/django-haystack.svg
      :target: https://pypi.python.org/pypi/django-haystack/
.. image:: https://img.shields.io/pypi/pyversions/django-haystack.svg
      :target: https://pypi.python.org/pypi/django-haystack/
.. image:: https://img.shields.io/pypi/dm/django-haystack.svg
      :target: https://pypi.python.org/pypi/django-haystack/
.. image:: https://readthedocs.org/projects/django-haystack/badge/
      :target: https://django-haystack.readthedocs.io/
.. image:: https://img.shields.io/badge/code%20style-black-000.svg
      :target: https://github.com/psf/black
.. image:: https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat&labelColor=ef8336
      :target: https://pycqa.github.io/isort/

========
Haystack
========

:author: Daniel Lindsley
:date: 2013/07/28

Haystack provides modular search for Django. It features a unified, familiar
API that allows you to plug in different search backends (such as Solr_,
Elasticsearch_, Whoosh_, Xapian_, etc.) without having to modify your code.

.. _Solr: http://lucene.apache.org/solr/
.. _Elasticsearch: https://www.elastic.co/products/elasticsearch
.. _Whoosh: https://github.com/mchaput/whoosh/
.. _Xapian: http://xapian.org/

Haystack is BSD licensed, plays nicely with third-party app without needing to
modify the source and supports advanced features like faceting, More Like This,
highlighting, spatial search and spelling suggestions.

You can find more information at http://haystacksearch.org/.


Getting Help
============

There is a mailing list (http://groups.google.com/group/django-haystack/)
available for general discussion and an IRC channel (#haystack on
irc.freenode.net).


Documentation
=============

* Development version: http://docs.haystacksearch.org/
* v3.3.0: https://django-haystack.readthedocs.io/en/v3.3.0/
* v2.8.1: https://django-haystack.readthedocs.io/en/v2.8.1/

See the `changelog <docs/changelog.rst>`_

Requirements
============

Haystack has a relatively easily-met set of requirements.

* Python 3.8+
* Django 3-5

Additionally, each backend has its own requirements. You should refer to
https://django-haystack.readthedocs.io/en/latest/installing_search_engines.html for more
details.