Skip to main content




sta : Parse tokens from an string into an array

Overview

sta extract the words from a string, and store those words in an array. The words are separated by an space/s.

Install

pip install sta

Usage

import sta

print(sta('this string is divided by spaces'))
# => [ 'this', 'string', 'is', 'divided', 'by', 'spaces' ]

API

sta('string')

Return an array with each token

Return Type: list

Related

  • str-to-arr: convert an string into an array in JavaScript.
  • s-to-o: convert an string into an object in JavaScript.

Team

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

Release files for sta 2.0.1

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

Source distribution (sdist)

Source distribution for sta 2.0.1
File Size Uploaded
sta-2.0.1.tar.gz 2.1 kB Details

Built distribution (wheel)

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

Total release size: 4.2 kB

Release files / sta-2.0.1.tar.gz

Download URL sta-2.0.1.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
adb7a217fb3497c543faf2513dc6f92719a6a423e07de60e655cc9df31c63b4e
BLAKE2b-256 checksum
How to use checksums
206b746eed38abdde5765531348c763ba3b1db9666036ba8b4b3643fa80fe344
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

Release files / sta-2.0.1-py3-none-any.whl

Download URL sta-2.0.1-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c583017c9938eef9e20c0bd92866eff741b72c21c6c67602f83d0392ec4121f
BLAKE2b-256 checksum
How to use checksums
4c53984dd53e60f4b5c75ae6a330ccde8b59919e4ff356b3f18762457d9ffce7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/2.7.15

Release history Release notifications | RSS feed

This release

2.0.1 This release

2 release files

2.0.0

2 release files

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