Skip to main content

A simple Hello World PyPI package

Project description

gitads-pypi

A simple "Hello World" PyPI package for demonstration purposes.

Installation

pip install gitads-pypi

Usage

As a Python module

from gitads_pypi import hello_world

print(hello_world())

As a command line tool

gitads-hello

Development

Setup

git clone https://github.com/yourusername/gitads-pypi.git
cd gitads-pypi
pip install -e .

Building

python -m build

Publishing

python -m twine upload dist/*

License

MIT License - see LICENSE file for details.


```text:LICENSE
MIT License

Copyright (c) 2024 Your Name

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
include README.md
include LICENSE
include requirements.txt
recursive-include gitads_pypi *.py
# Add your package dependencies here
# Example:
# requests>=2.25.0
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDEs
.vscode/
.idea/
*.swp
*.swo
*~

# OS
.DS_Store
Thumbs.db

To build and test your package:

pip install build twine
python -m build
pip install -e .
gitads-hello

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

gitads_pypi-0.1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gitads_pypi-0.1.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file gitads_pypi-0.1.0.tar.gz.

File metadata

  • Download URL: gitads_pypi-0.1.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gitads_pypi-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ec853f13d48e75505ed7f1f7c45eabce3ba9576309ed3b3d2de9723a23087d28
MD5 d4dfa4a649098030c46a6dd8ae0372ad
BLAKE2b-256 c7a91a4649fddb8ce05f3d0e9519ae807704ccdb8d68b74700c6ef0dd7ca2961

See more details on using hashes here.

File details

Details for the file gitads_pypi-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gitads_pypi-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for gitads_pypi-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5769a71937249a1cf019adb454c52e70d8ac12167018296d48658612e998e3
MD5 39f187cf793cc5e09dbb11d0c78e5f7c
BLAKE2b-256 b73fc82e6a20fde449f2964db6d4b5628bce664cd87a4fce1ab56a1ca29d36d2

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