onepackage


Nameonepackage JSON
Version 0.0.2 PyPI version JSON
download
home_pagehttps://github.com/Ange1D/ONEPackage
SummaryPermite cifrar y descifrar texto
upload_time2023-11-22 02:34:16
maintainer
docs_urlNone
authorAnge1D
requires_python
licenseMIT
keywords cifrar descifrar one oracle next education
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ONEPackage

[![PyPI Downloads](https://img.shields.io/pypi/dm/onepackage.svg?label=PyPI%20downloads)](https://pypi.org/project/onepackage/)

- **Source code:** https://github.com/Ange1D/ONEPackage
- **Bug reports:** https://github.com/Ange1D/ONEPackage/issues

Descripción
=========

Es un package para cifrar y descifrar texto basado en el [desafío del programa Oracle Next Education](https://ange1d.github.io/Challenge-ONE-Alura/) 
- Funciona solo con letras minúsculas
- No se deben utilizar letras con acentos ni caracteres especiales
-  Las "llaves" que se utilizan son las siguientes:
   - La letra "e" es convertida para "enter"
   - La letra "i" es convertida para "imes"
   - La letra "a" es convertida para "ai"
   - La letra "o" es convertida para "ober"
   - La letra "u" es convertida para "ufat"

## Instalación
```
pip install onepackage
```

## uso:
```python
from onepackage import cifrar
    mensaje = cifrar("gato")
    print(mensaje)
```
Output `gaitober`

```python
from onepackage import descifrar
    mensaje = descifrar("gaitober")
    print(mensaje)
```
Output `gato`

```python
from onepackage import descifrar
    mensaje = descifrar("GATO")
    print(mensaje)
```
Output `Message contains unsupported characters`


## CLI

| Comando | Descripción | 
| ------------------------ | ------------------------ | 
| cifrador | Retorna la informacion de la funcion cifrar y descifrar |



## Testing:
    import onepackage
    help(onepackage.cifrar)
    help(onepackage.descifrar)
    help(onepackage.validarMensaje)

## License

[MIT](https://github.com/Ange1D/ONEPackage/blob/main/LICENSE.txt)


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Ange1D/ONEPackage",
    "name": "onepackage",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "cifrar,descifrar,ONE,Oracle Next Education",
    "author": "Ange1D",
    "author_email": "ange1d.contact0@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ae/47/626c64d6168d5d986c4e3dd9e6e10915ac6d9ff2a28ad80b542a5a7e7980/onepackage-0.0.2.tar.gz",
    "platform": null,
    "description": "# ONEPackage\r\n\r\n[![PyPI Downloads](https://img.shields.io/pypi/dm/onepackage.svg?label=PyPI%20downloads)](https://pypi.org/project/onepackage/)\r\n\r\n- **Source code:** https://github.com/Ange1D/ONEPackage\r\n- **Bug reports:** https://github.com/Ange1D/ONEPackage/issues\r\n\r\nDescripci\u00f3n\r\n=========\r\n\r\nEs un package para cifrar y descifrar texto basado en el [desaf\u00edo del programa Oracle Next Education](https://ange1d.github.io/Challenge-ONE-Alura/) \r\n- Funciona solo con letras min\u00fasculas\r\n- No se deben utilizar letras con acentos ni caracteres especiales\r\n-  Las \"llaves\" que se utilizan son las siguientes:\r\n   - La letra \"e\" es convertida para \"enter\"\r\n   - La letra \"i\" es convertida para \"imes\"\r\n   - La letra \"a\" es convertida para \"ai\"\r\n   - La letra \"o\" es convertida para \"ober\"\r\n   - La letra \"u\" es convertida para \"ufat\"\r\n\r\n## Instalaci\u00f3n\r\n```\r\npip install onepackage\r\n```\r\n\r\n## uso:\r\n```python\r\nfrom onepackage import cifrar\r\n    mensaje = cifrar(\"gato\")\r\n    print(mensaje)\r\n```\r\nOutput `gaitober`\r\n\r\n```python\r\nfrom onepackage import descifrar\r\n    mensaje = descifrar(\"gaitober\")\r\n    print(mensaje)\r\n```\r\nOutput `gato`\r\n\r\n```python\r\nfrom onepackage import descifrar\r\n    mensaje = descifrar(\"GATO\")\r\n    print(mensaje)\r\n```\r\nOutput `Message contains unsupported characters`\r\n\r\n\r\n## CLI\r\n\r\n| Comando | Descripci\u00f3n | \r\n| ------------------------ | ------------------------ | \r\n| cifrador | Retorna la informacion de la funcion cifrar y descifrar |\r\n\r\n\r\n\r\n## Testing:\r\n    import onepackage\r\n    help(onepackage.cifrar)\r\n    help(onepackage.descifrar)\r\n    help(onepackage.validarMensaje)\r\n\r\n## License\r\n\r\n[MIT](https://github.com/Ange1D/ONEPackage/blob/main/LICENSE.txt)\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Permite cifrar y descifrar texto",
    "version": "0.0.2",
    "project_urls": {
        "Homepage": "https://github.com/Ange1D/ONEPackage"
    },
    "split_keywords": [
        "cifrar",
        "descifrar",
        "one",
        "oracle next education"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ae47626c64d6168d5d986c4e3dd9e6e10915ac6d9ff2a28ad80b542a5a7e7980",
                "md5": "ac34b45ece632a3d18ba823f1c7c0be4",
                "sha256": "d9a2c48bc199573adeff29b548690845f8fbc4882285e55a7d0069e06b72c80a"
            },
            "downloads": -1,
            "filename": "onepackage-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "ac34b45ece632a3d18ba823f1c7c0be4",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3699,
            "upload_time": "2023-11-22T02:34:16",
            "upload_time_iso_8601": "2023-11-22T02:34:16.273609Z",
            "url": "https://files.pythonhosted.org/packages/ae/47/626c64d6168d5d986c4e3dd9e6e10915ac6d9ff2a28ad80b542a5a7e7980/onepackage-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-22 02:34:16",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Ange1D",
    "github_project": "ONEPackage",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "onepackage"
}
        
Elapsed time: 1.97036s