Skip to main content

Pamela is a python library to simplify API usage in programs

Project description

Pamela

Pamela is a python library to simplify API usage in programs

General Information

  • Pamela is a python library to simplify API usage in programs. It has different features to optimize the workflow with APIs.
  • API usage in programs is sometimes very annoying. To optimize all things connected with APIs, Pamela is your helper!

Technologies Used

  • Python
  • Requests

Features

  • Receive data
  • Create sessions
  • Get status of session
  • Choose file format

Installation

pip install pamela-lib

or

git clone github.com/zlElo/Pamela.git
cd Pamela
pip install .

Code examples (simple)

# import pamela with all classes
from pamela import Pamela, Session

# create pamela instance
pamela = Pamela()

# create session with pamela
session1 = Session.create("address", "username", "password")

# status of session
status_session = Session.status(address="address", session=session1)

# receive data with session
response = pamela.receive_data(address="address", session=session1)

# receive data with no credentials
response = pamela.receive_data(address="address")

# send data with session
response = pamela.send_data(address="address", session=session1, data="123")

# send data with no credentials
response = pamela.send_data(address="address", data="123")

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

pamela_lib-0.1.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

pamela_lib-0.1.3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file pamela_lib-0.1.3.tar.gz.

File metadata

  • Download URL: pamela_lib-0.1.3.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pamela_lib-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ec138dcab2571089fa72244d5096db94c7921253c9d31225ec04d8f055232f5b
MD5 ee78ada2df60391d1aa03244ddcfdf50
BLAKE2b-256 a3893c9cee3f5f5f6f0ed119628cbff83e8a23f1abe680bb6117ae92ba8e0ba1

See more details on using hashes here.

File details

Details for the file pamela_lib-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pamela_lib-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pamela_lib-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 58944eb25021bca4d46145f557911b4a56088f1433b48df6ef33d1243fbbacae
MD5 08f8f7c4bf8bc842d99212cb39391d20
BLAKE2b-256 f2f505a3129df81eca7b76836fde94b26016d3c350b39ab035ec131dbc79b044

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