Skip to main content

A simple Hello World PyPI package

Project description

gitads-pypi

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

Sponsored by GitAds

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.2.tar.gz (3.7 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.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitads_pypi-0.1.2.tar.gz
  • Upload date:
  • Size: 3.7 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.2.tar.gz
Algorithm Hash digest
SHA256 9c57682e04dd1af3a75c945e18c3d0bd261553880230e8856b60c88159b41d2f
MD5 a790c24c0deacd5a66fda05a39c09a2f
BLAKE2b-256 e8b4104f4c67e30f3d556361159981ff688f9c99151cb3d627b8785a35ea64ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitads_pypi-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 3.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7594b2455fd1b86ea9b0b16fd0a640551db1ecb2eff6d23a112cbeefb6bc547
MD5 0c702cab519885ae761205db3a2dd8b5
BLAKE2b-256 4f6591245a4dc75c64bcf03e7bea3f95fb141cf3add4c0f6e72c07616f03d85d

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