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.1.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.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitads_pypi-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 11442a907511eac29659febd46f54d36fcced5f09cb8f351c9a6dc25a6616748
MD5 13855a7f885ab27871ce62610b3dd8cc
BLAKE2b-256 de0fb4506f60561830437acf9cb49fb76b1a1d2d810664fe9f75902db0c2ee47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitads_pypi-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ea438d855bc942f21b95de5e762164b18f9c46f2122e6b374c3307557073f27
MD5 199714f9390063a639ddc97f6c752148
BLAKE2b-256 f192868009257791b2624b9934933f986a064b28a3bfb6291268206bd4db9b6f

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