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

Uploaded Python 3

File details

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

File metadata

  • Download URL: gitads_pypi-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 ac403d45ca0ce52954f746c1221f26632d16fa64d4bed583cb4ee4325031f625
MD5 777fed18f96485f37d1f67a35dbe0b91
BLAKE2b-256 55de5855f193ba54f828bcfeb04a113886eac56f904010d3e065ed48ede6bdb3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gitads_pypi-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c30cfcfd4f122e1e68c25273746d19471de51d2688b58f52bbed830fff0770cb
MD5 012ef2f5c7b83af8cde15aa6baf88875
BLAKE2b-256 095a451fb10083587ee7bff772808416ca7c72e840113090054dfa1ade87541a

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