Skip to main content

PFATools

PFATools is a collection of tools used for teaching python through API requests and data exploration. It is written in Python and is available under the MIT license.

You need Python 3.8 or higher to run PFATools.

Contents

Installation

Use pip to pull from the PyPi repository:

pip install pfatools

API Tools

Name Predictions

Can predict various things through a single name. Returns the raw JSON response from the API.

from pfatools import *
name = "John"
age_response = age_predictor(name)
gender_response = gender_predictor(name)
nationality_response = nationality_predictor(name)

The only argument for these functions are name

Random Person

Returns random person data. Returns the raw JSON response from the API.

from pfatools import *
person = randomPerson()
data = person.data

Arguments:

Argument Type Description
amount int amount of people to generate. default: 1 (>= 1)
defer bool whether to defer the request or not. default: False

method run_query runs the query and returns the raw JSON response from the API.

from pfatools import *
person = randomPerson(defer=True)
data = person.run_query()

Metadata

Release files for pfatools 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pfatools 0.1.2
File Size Uploaded Provenance
PFATools-0.1.2.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pfatools 0.1.2
File Interpreter ABI Platform
PFATools-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / PFATools-0.1.2.tar.gz

Download URL PFATools-0.1.2.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
dec5e9b1c09e9b070454a4dd051a46427207bd5c31524ac6622113afc6746c5f
BLAKE2b-256 checksum
How to use checksums
5eba124d0fc461e381af4653bc1b0149fc3fde08bbf810b912bccef920eb689a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.6 Windows/10

Release files / PFATools-0.1.2-py3-none-any.whl

Download URL PFATools-0.1.2-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
82ea98ea5f969c2d683db939be4ab1e27782e04d5d455c4ffbfab09eed6a760f
BLAKE2b-256 checksum
How to use checksums
70bffcb282a8ac0869c45a42500fa56d8a947ce77a9475be017908264bdd9eee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.6 Windows/10

Security for pfatools 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page