py-archons


Namepy-archons JSON
Version 0.3.3 PyPI version JSON
download
home_pageNone
SummaryA simple Python package with get_names, get_cities, and get_countries functions
upload_time2025-09-13 23:04:10
maintainerNone
docs_urlNone
authorNone
requires_python>=3.7
licenseNone
keywords python package names
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # py-archons

A simple Python package that provides `get_names`, `get_cities`, and `get_countries` functions.

## Installation

```bash
pip install py-archons
```

## Usage

```python
from py_archons import get_names, get_cities, get_countries

names = get_names()
print(names)  # Output: ["guapo", "bandida"]

cities = get_cities()
print(cities)  # Output: ["new york", "london"]

countries = get_countries()
print(countries)  # Output: ["united states", "united kingdom"]
```

## Development

To install in development mode:

```bash
pip install -e .
```

## Building and Publishing

### Automated Publishing (Recommended)

Use the `publish.py` script for a complete workflow. The script automatically:
- Reads the current version from `version.py`
- Checks if the version already exists on PyPI
- Prevents duplicate uploads
- Updates version only when specified

```bash
# Publish current version from version.py (smart - checks if version exists)
python publish.py

# Test current version with TestPyPI
python publish.py --test

# Just build current version without uploading
python publish.py --build-only

# Update to specific version and publish
python publish.py 0.4.0

# Using shell script (auto-activates venv)
./publish.sh
./publish.sh --test
```

### Manual Publishing

```bash
# Edit version in py_archons/version.py, then:
python -m build
python -m twine upload dist/py_archons-*
```

## Version Management

### Yanking (Deprecating) Versions

```bash
# Yank a version from PyPI (marks as deprecated but keeps available)
python yank_version.py 0.3.0

# Yank from TestPyPI
python yank_version.py 0.3.0 --test
```

### Adding Deprecation Notices

```bash
# Get guidance on adding deprecation notices
python deprecate_version.py 0.3.0 "Security issues"
```

## License

MIT License

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "py-archons",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": null,
    "keywords": "python, package, names",
    "author": null,
    "author_email": "Bruno <bruno@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/58/86/51e01ca57a05baff0bfe1bb70ee24f8820331b7032458234955c3a100f4d/py_archons-0.3.3.tar.gz",
    "platform": null,
    "description": "# py-archons\n\nA simple Python package that provides `get_names`, `get_cities`, and `get_countries` functions.\n\n## Installation\n\n```bash\npip install py-archons\n```\n\n## Usage\n\n```python\nfrom py_archons import get_names, get_cities, get_countries\n\nnames = get_names()\nprint(names)  # Output: [\"guapo\", \"bandida\"]\n\ncities = get_cities()\nprint(cities)  # Output: [\"new york\", \"london\"]\n\ncountries = get_countries()\nprint(countries)  # Output: [\"united states\", \"united kingdom\"]\n```\n\n## Development\n\nTo install in development mode:\n\n```bash\npip install -e .\n```\n\n## Building and Publishing\n\n### Automated Publishing (Recommended)\n\nUse the `publish.py` script for a complete workflow. The script automatically:\n- Reads the current version from `version.py`\n- Checks if the version already exists on PyPI\n- Prevents duplicate uploads\n- Updates version only when specified\n\n```bash\n# Publish current version from version.py (smart - checks if version exists)\npython publish.py\n\n# Test current version with TestPyPI\npython publish.py --test\n\n# Just build current version without uploading\npython publish.py --build-only\n\n# Update to specific version and publish\npython publish.py 0.4.0\n\n# Using shell script (auto-activates venv)\n./publish.sh\n./publish.sh --test\n```\n\n### Manual Publishing\n\n```bash\n# Edit version in py_archons/version.py, then:\npython -m build\npython -m twine upload dist/py_archons-*\n```\n\n## Version Management\n\n### Yanking (Deprecating) Versions\n\n```bash\n# Yank a version from PyPI (marks as deprecated but keeps available)\npython yank_version.py 0.3.0\n\n# Yank from TestPyPI\npython yank_version.py 0.3.0 --test\n```\n\n### Adding Deprecation Notices\n\n```bash\n# Get guidance on adding deprecation notices\npython deprecate_version.py 0.3.0 \"Security issues\"\n```\n\n## License\n\nMIT License\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A simple Python package with get_names, get_cities, and get_countries functions",
    "version": "0.3.3",
    "project_urls": null,
    "split_keywords": [
        "python",
        " package",
        " names"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "fcbb4a95e8a8718b8bf27ae2a31a0b1cde17dea63f9b876ff08b1b40b77434b0",
                "md5": "08bd8b4dff474573803bd4443d39c3ef",
                "sha256": "97ddfb43b7249b804cb80250a95cac91f60e9a78debbdc714814701c236e7c3b"
            },
            "downloads": -1,
            "filename": "py_archons-0.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "08bd8b4dff474573803bd4443d39c3ef",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 4018,
            "upload_time": "2025-09-13T23:04:08",
            "upload_time_iso_8601": "2025-09-13T23:04:08.918916Z",
            "url": "https://files.pythonhosted.org/packages/fc/bb/4a95e8a8718b8bf27ae2a31a0b1cde17dea63f9b876ff08b1b40b77434b0/py_archons-0.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "588651e01ca57a05baff0bfe1bb70ee24f8820331b7032458234955c3a100f4d",
                "md5": "3e51a3775a7fc9ac7e8e827ff7ddd510",
                "sha256": "069f7ef88333a1becb61f76ae8405e647773e9e6c59913f35f3d35ea4e8c1010"
            },
            "downloads": -1,
            "filename": "py_archons-0.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "3e51a3775a7fc9ac7e8e827ff7ddd510",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3615,
            "upload_time": "2025-09-13T23:04:10",
            "upload_time_iso_8601": "2025-09-13T23:04:10.034961Z",
            "url": "https://files.pythonhosted.org/packages/58/86/51e01ca57a05baff0bfe1bb70ee24f8820331b7032458234955c3a100f4d/py_archons-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-13 23:04:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "py-archons"
}
        
Elapsed time: 4.95273s