simple-ascii-cards


Namesimple-ascii-cards JSON
Version 0.1 PyPI version JSON
download
home_pagehttps://github.com/naivoder/ascii_cards
SummaryA simple ASCII card display package
upload_time2024-04-22 02:04:43
maintainerNone
docs_urlNone
authorCameron Redovian
requires_pythonNone
licenseNone
keywords cards games ascii
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ASCII Playing Cards

This project provides a Python script to generate ASCII art representations of playing cards. The script is designed to print out cards with the rank and suit clearly visible, suitable for console-based card games or other educational purposes.

## Features

- Displays ASCII art of playing cards.
- Supports all ranks from 2 to Ace and suits (Spades, Hearts, Diamonds, Clubs).
- Can be easily integrated into other Python-based card games.

## Requirements

To run this script, you need Python 3.x. No external libraries are required as it only uses standard libraries.

## Usage

To use the ASCII card printer, simply import the function and call it with the rank and suit:

```python
from cards import print_card

# Print an Ace of Spades
print_card('A', '♠')

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/naivoder/ascii_cards",
    "name": "simple-ascii-cards",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "cards games ascii",
    "author": "Cameron Redovian",
    "author_email": "naivoder@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1b/7a/6a90b03691dc1f7931a732189eb562c12be8ca82f5463d3f2a79e0e69d26/simple_ascii_cards-0.1.tar.gz",
    "platform": null,
    "description": "# ASCII Playing Cards\n\nThis project provides a Python script to generate ASCII art representations of playing cards. The script is designed to print out cards with the rank and suit clearly visible, suitable for console-based card games or other educational purposes.\n\n## Features\n\n- Displays ASCII art of playing cards.\n- Supports all ranks from 2 to Ace and suits (Spades, Hearts, Diamonds, Clubs).\n- Can be easily integrated into other Python-based card games.\n\n## Requirements\n\nTo run this script, you need Python 3.x. No external libraries are required as it only uses standard libraries.\n\n## Usage\n\nTo use the ASCII card printer, simply import the function and call it with the rank and suit:\n\n```python\nfrom cards import print_card\n\n# Print an Ace of Spades\nprint_card('A', '\u2660')\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple ASCII card display package",
    "version": "0.1",
    "project_urls": {
        "Homepage": "https://github.com/naivoder/ascii_cards",
        "Source": "https://github.com/naivoder/ascii_cards"
    },
    "split_keywords": [
        "cards",
        "games",
        "ascii"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9b460df87fdc4cdc5898df854a364379ba449b577fa6a0517c1b0b6ceab7508f",
                "md5": "17e918002f2d83e607c812f225c16a0e",
                "sha256": "f6ffeb870685de3bda75ea42a2e9f3b7535dd84dd1d46c70a8d1c57f83b64090"
            },
            "downloads": -1,
            "filename": "simple_ascii_cards-0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "17e918002f2d83e607c812f225c16a0e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4128,
            "upload_time": "2024-04-22T02:04:41",
            "upload_time_iso_8601": "2024-04-22T02:04:41.307279Z",
            "url": "https://files.pythonhosted.org/packages/9b/46/0df87fdc4cdc5898df854a364379ba449b577fa6a0517c1b0b6ceab7508f/simple_ascii_cards-0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1b7a6a90b03691dc1f7931a732189eb562c12be8ca82f5463d3f2a79e0e69d26",
                "md5": "9e568e3a81b5fd7eb745936522a88e34",
                "sha256": "411bb48c54e8061f1584861d41ac1eebe8bfc1233504741712905effb1a837bd"
            },
            "downloads": -1,
            "filename": "simple_ascii_cards-0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "9e568e3a81b5fd7eb745936522a88e34",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3454,
            "upload_time": "2024-04-22T02:04:43",
            "upload_time_iso_8601": "2024-04-22T02:04:43.120918Z",
            "url": "https://files.pythonhosted.org/packages/1b/7a/6a90b03691dc1f7931a732189eb562c12be8ca82f5463d3f2a79e0e69d26/simple_ascii_cards-0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-22 02:04:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "naivoder",
    "github_project": "ascii_cards",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "simple-ascii-cards"
}
        
Elapsed time: 0.28177s