Skip to main content

Python framework for creating third-party libraries

Project description

pfctl

Python framework for creating third-party libraries

How to use

install:

pip install pfctl

use:

  1. create a a.py file and write some code like this:
import pfctl
pfctl.create(
    name="",
    version="0.0.1",
    author="",
    author_email="",
    description="",
    long_description_content_type="text/markdown",
    url="",
    project_urls={'Bug tracker': ''},
    classifiers=['Development Status :: 3 - Alpha', 'Programming Language :: Python :: 3', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent'],
    packages=[""],
    python_requires=">=3.6",
    install_requires = [],
    entry_points=""
)
  1. write this command in the terminal and download the package:
pip install build
pip install twine
  1. write this command in the terminal to build the package:
python -m build
  1. write this command in the terminal to upload the package:
python -m twine upload dist/*
  1. write your username and password in the terminal, or write your APItoken in the terminal and upload the package:
username:***
password:***

or

APItoken:***

Then the package will be uploaded to the pypi server.

How to download your package

  1. write this command in the terminal to download the package:
pip install your_package_name
  1. write this command in the terminal to use the package:
import your_package_name

Version change

------ 0.0.1: first version

------ 0.0.2: fix some bugs in the setup.py file

------ 0.0.3: change the 'pfctl' in the setup.py file to 'setuptools' and change the README.md file.

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

pfctl-0.0.3.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

pfctl-0.0.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file pfctl-0.0.3.tar.gz.

File metadata

  • Download URL: pfctl-0.0.3.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pfctl-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f80c788b2484d001480900adea0698379318219aa7bbed48c73551ff28cef199
MD5 58eb1451f436f1a23c52dbb007e431ba
BLAKE2b-256 68e5b8ee7c435ed763a46bf10d5ff8b27d714014075d51bded9995ac1beae83f

See more details on using hashes here.

File details

Details for the file pfctl-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: pfctl-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for pfctl-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 40317a12a2f9e35a93aae1085cb622265524410f5895281c092095bdc10beeaa
MD5 767adfff9349ff9b631590cdc916ce31
BLAKE2b-256 b1c5f4f53c318737b9114afd8d08704b714a785121e18a3aeb94adaaddc653c7

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