Skip to main content

Package for interacting with and developing apps for Texternet.

Project description

Texternet

Texternet is a Python library for developing applications on the Texting Service, Texternet

Description

Texternet is a texting service used to interact with web applications through the use of text, eliminating the limiting factor of having Internet. Texternet can support apps for almost anything you can do online: from making an app that identifies what's in a picture, to just browsing the web with just images. Texternet's main purpose is to give simulated internet access to communities that wouldn't otherwise have access to internet or would have a hard time adapting to it. These communities would include lower and middle class people who can't afford data for their cell service, if they have any, rural communities with poor internet, or even a grandparent who's tech-saviness would only extend up to texting. Anyone can use this free program, and anyone can develop apps for the community to use. This python module is what developers use to make the apps for Texternet.

Installation

Use the package manager pip to install foobar.

pip install texternet

In order to develop and Test apps, you will need to make an Twilio Account.

Usage

from Texternet import Texternet
from datetime import datetime

TN = Texternet('TWILIO_AUTH_TOKEN', 'TWILIO_SID', "TWILIO_PHONE#") # makes Texternet object
TN.getMessages(datetime.datetime(2019, 5, 17)) # returns messages since May 17, 2019
TN.sendMessage("+18171111111", "Test text") # sends 'Test text' to '+18171111111'

Note: getMessages() returns twilio.rest.Client.messages type. Learn more from the Twilio API

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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

texternet-1.0.4.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

texternet-1.0.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file texternet-1.0.4.tar.gz.

File metadata

  • Download URL: texternet-1.0.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for texternet-1.0.4.tar.gz
Algorithm Hash digest
SHA256 086e80656aae11f13f8bb752475748e6127b660d295cc91f9b175205498eb81e
MD5 3825bf32ade6d1c784173c82889e2786
BLAKE2b-256 44949ddf1ee757bc9d61bf1e60a06449af78df486ea9df295687b297ad7eed71

See more details on using hashes here.

File details

Details for the file texternet-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: texternet-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.5.3

File hashes

Hashes for texternet-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1b7aad49bfef0aff3b2ceffcd22e1dc1426a031486f3528eab297895c5ea929f
MD5 f0d5bfa2028eea0f0f8235b2618f9303
BLAKE2b-256 8ab59a9ebcc2f4bdbd7660935bb140f8b664f1fb7f949afd8d84d8f9cf04690a

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