WITNESS LIST
Health & Human Services
February 20, 2014 9:00 AM
CPS
ON:
Andrews, Sheila (Self), Cedar Park, TX
Aylor, Candace (also providing written testimony) (Self), Austin, TX
Bentley, Crystal (also providing written testimony) (Angel Reach), Conroe, TX
Blue Horse, Yolonda (Self), Savannah, TX
Crockett, Sarah Associate Director (Texas Association for Infant Mental Health), Austin,
TX
Ford, Stacy Executive Director (Self), Leander, TX
Greenhaw, Jonathon (Angel Reach), Conroe, TX
Harris, Ashley Policy Associate (also providing written testimony) (Texans Care for
Children), Austin, TX
Holman, Nancy Executive Director (also providing written testimony) (Texas Alliance of
Child and Family Services), Austin, TX
Jackson, Richard President and Chief Executive Officer (Speak Write), Austin, TX
Janek, Kyle Executive Commissioner (also providing written testimony) (Health and
Human Services Commission), Austin, TX
Litzinger, Linda (also providing written testimony) (Self), Austin, TX
Lopez, Angelica (Angel Reach), Conroe, TX
McCown, Scott Director (also providing written testimony) (University of Texas Law
School - Children's Rights Clinic), Austin, TX
Miller, Trista (Self; Foster Care Youth and Alumni), Austin, TX
Obaseki, Tyrone Minister (also providing written testimony) (Angel Reach), Conroe, TX
Powell, Judy Communications Director (Parent Guidance Center), Austin, TX
Price, Renee Director of Child Welfare Services (also providing written testimony)
(Depelchin Children's Center), Austin, TX
Rauls, Joy Executive Director (also providing written testimony) (Children's Advocacy
Centers of Texas, Inc.), Austin, TX
Rubin, Stephanie Senior Officer (also providing written testimony) (The Pew Charitable
Trusts), Washington, DC
Sabo, Jason (also providing written testimony) (Children at Risk), Austin, TX
Sparks, Andrea Executive Director (also providing written testimony) (National Center for
Missing and Exploited Children), Austin, TX
Specia, John Commissioner (also providing written testimony) (Department of Family and
Protective Services), Austin, TX
Spiller, Lee Executive Director (also providing written testimony) (Citizens Commission
on Human Rights), Austin, TX
Virgil, Patricia (also providing written testimony) (Angel Reach), Conroe, TX
Wilson, April Director of Research (also providing written testimony) (TexProtects),
Austin, TX
Woodward, Thomas Founder (Global Human Commodities Exchange), Austin, TX
WITNESS LIST
Health & Human Services
February 20, 2014 9:00 AM
Women's Health
ON:
Aiken, Abigail Researcher (also providing written testimony) (Texas Policy Evaluation
Project), Austin, TX
Alexander, Shelby (also providing written testimony) (Austin City Council Member Mike
Marinez), Austin, TX
Alexander, Stacy (Planned Parenthood), Austin, TX
Blanco, Christy Nurse Practitioner (Texas Nurse Practitioners), El Paso, TX
Blunck, Cathy Dental Hygienist Board of Directors Member (also providing written
testimony) (Texas Oral Health Coalition), Buda, TX
Boone, Daniel (Self), Canyon Lake, TX
Bufkin, Alice Early Opportunities Policy Associate (also providing written testimony)
(Texans Care for Children), Austin, TX
Burr, Elizabeth Director (Texas Women Vote Project), Austin, TX
Calabrese, Carolynn (also providing written testimony) (Self), Austin, TX
Campbell, David (Texas Latina Advocacy Network; Rita Elsa Guzman), Austin, TX
Chimene, Grace Registered Nurse (also providing written testimony) (Texas League of
Women Voters), Austin, TX
Clift, Amy Community Educator (also providing written testimony) (Self; Planned
Parenthood), Austin, TX
Cobern, Pam Executive Director (Austin Life Care), Austin, TX
Collier, Brenda (Self), Austin, TX
Crawford, Kara Director, Women's Health Coordination (also providing written testimony)
(Health and Human Services Commission), Austin, TX
Delgado, Evelyn Assistant Commissioner (also providing written testimony) (Department
of State Health Services), Austin, TX
Donovan, Amy (Self), Round Rock, TX
Flores, Nancy (Texas Latina Advocacy Network; Rita Elsa Guzman), Austin, TX
Foster, Cheryl (also providing written testimony) (Self), Waco, TX
Gorgoroso, Alicia Bodin (Self), Austin, TX
Guidry, Stacy (Self), Austin, TX
Hawley, Joanne (also providing written testimony) (Secular Texas), Austin, TX
Hays, Susan (also providing written testimony) (National Abortion Reproductive Rights
Action League - Pro-Choice Texas), Austin, TX
Hemphill, Suzanne (also providing written testimony) (The Lilith Fund for Reproductive
Equity), Austin, TX
Hester, Tina Executive Director (also providing written testimony) (Jane's Due Process),
Austin, TX
Janek, Kyle Executive Commissioner (also providing written testimony) (Health and
Human Services Commission), Austin, TX
Lakey, David Commissioner (also providing written testimony) (Department of State
Health Services), Austin, TX
Lee, Nick Co-Chair (also providing written testimony) (Secular Coalition for Texas), San
Antonio, TX
WITNESS LIST
Health & Human Services
February 20, 2014 9:00 AM
Lonse, Alexis (also providing written testimony) (Self), Fort Worth, TX
McClure, Angie Senior Vice President of Development (also providing written testimony)
(American Lung Association), San Antonio, TX
McClure, Madeline Executive Director (also providing written testimony) (TexProtects;
The Texas Association for the Protection of Children), Dallas, TX
Noland, Cindy Founder (Faith Action for Women in Need), Austin, TX
Pogue, Stacey Senior Policy Analyst (also providing written testimony) (Center for Public
Policy Priorities), Austin, TX
Potter, Joseph Professor of Sociology (also providing written testimony) (Texas Policy
Evaluation Project; The University of Texas), Austin, TX
Pratt, Katherine (also providing written testimony) (Self), Austin, TX
Realini, Janet Steering Committee Member; Doctor (also providing written testimony)
(Texas Women's Healthcare Coalition), San Antonio, TX
Roark, Elizabeth (also providing written testimony) (Self; Cameo Williams), Austin, TX
Ross, Heather (Self), La Vernia, TX
Seago, John Legislative Director (also providing written testimony) (Texas Right to Life),
Houston, TX
Sims, Renate (Self), Round Rock, TX
Smith, Joan Certified Nurse-Midwife (Coalition for Texas Certified Nurse Midwives),
Austin, TX
Soifer, Jan Chairwoman (also providing written testimony) (Self; Travis County
Democratic Party), Austin, TX
Stevenson, Amanda Jean Researcher (also providing written testimony) (Texas Policy
Evaluation Project), Austin, TX
Sweets, Ellen (Self), Austin, TX
Terry, Molly (Self), Austin, TX
Turicchi, Paula Senior Vice President (also providing written testimony) (Parkland Health
and Hospital System), Dallas, TX
Walz, Norma (Self), Round Rock, TX
Williams, Cameo (Self; Elizabeth Roark), Austin, TX
Wyman, Stephen (Self), Georgetown, TX
Providing written testimony:
ON:
Ausley, Robbie (Self), Austin, TX
Bontempo, Megan (Self; Planned Parenthood), Austin, TX
Carter, Erica (Nurse Family Partnership), Denver, CO
Counihan, Caitlyn (Self), Austin, TX
Gunn, Christiana (Self), Austin, TX
Hanlon, Ellie (Self), Austin, TX
Hopkins, Kristine Research Assistant Professor (Texas Policy Evaluation Project; The
University of Texas), Austin, TX
Klose, Joanna (Self), Austin, TX
Oliver, Karin Registered Nurse (Self), San Antonio, TX
Slabaugh, Danielle (Self), Austin, TX
WITNESS LIST
Health & Human Services
February 20, 2014 9:00 AM
Stevens, Jaclyn (Self), Austin, TX
Trietsch-Chaney, Paula (Self), Georgetown, TX


pysigma.graphical package¶
Module contents¶
Graphical architecture submodule init file. Include main class of the Graphical architecture
-
class
pysigma.graphical.
Graph
¶ Bases:
networkx.classes.digraph.DiGraph
- The actual graph instance representing a compiled graphical architecture. Can be manipulated directly as a
networkx.DiGraph but store extra bookkeeping information. use networkx.DiGraph as super class to support directed links.
-
add_bilink
(node1, node2, **kwargs)¶ - Add a bidrectional link between node 1 and node2. Note that one of the nodes should be a variable node and
the other a factor node
Additional attributes in kwargs will be set in the linkdata
-
add_unilink
(node1, node2, **kwargs)¶ Add a unidirectional link FROM node1 TO node2, and create and register corresponding LinkData Note that one of the nodes should be a variable node and the other a factor node
Additional attributes in kwargs will be set in the linkdata
-
get_linkdata
(node1, node2)¶ Return the linkdata on the edge from node1 to node2
-
new_node
(node_type, *args, **kwargs)¶ A node factory method. Generate new node based on node_type, add it to DiGraph, and return it.
- Parameters
node_type – str or class. Specifying the node type, such as ‘WMVN’ or WMVN
- Returns
the newly generated node instance
-
pysigma.graphical.
cosine_similarity
(x1, x2, dim=1, eps=1e-08) → Tensor¶ Returns cosine similarity between x1 and x2, computed along dim.
\[\text{similarity} = \dfrac{x_1 \cdot x_2}{\max(\Vert x_1 \Vert _2 \cdot \Vert x_2 \Vert _2, \epsilon)}\]- Parameters
x1 (Tensor) – First input.
x2 (Tensor) – Second input (of size matching x1).
dim (int, optional) – Dimension of vectors. Default: 1
eps (float, optional) – Small value to avoid division by zero. Default: 1e-8
- Shape:
Input: \((\ast_1, D, \ast_2)\) where D is at position dim.
Output: \((\ast_1, \ast_2)\) where 1 is at position dim.
Example:
>>> input1 = torch.randn(100, 128) >>> input2 = torch.randn(100, 128) >>> output = F.cosine_similarity(input1, input2) >>> print(output)


Our aim is to bring up the culture of programming among the students right from their induction days. We help one another in improving our skills as developers for the professional world.
We desire to see a community of students bringing up each other in various aspects towards becoming successful developers. We dream of a time when house parties involve code jam sessions, when talking code is fun and the day isn't far.
We as an individual can make a change, but with partners like these we can make a revolution.
We are proud to have HackerEarth as our Platform and Activity Partner. With their tools we are able to engage our community in a very effective way.
Our Pillars Of Strength
PRESIDENT
Shy with people, harsh with code; he is the perfect lead for our team. His achievements will surely amaze you.
VICE-PRESIDENT
From getting partnerships to oranising competitions to designing our content, he is the goto person for one all.
TEAM LEAD
He can blabber code all day, but will never come to a final conclusion. Math he involves is uncomparable.
TEAM LEAD
Our pride and our comedian. He never gives up on a challenge and that applies to pulling legs too.
TEAM LEAD
The most intelligent of all, credits to his laziness. He is potential of solving the toughest problems. *T&C apply.
LEAD, WEB DESIGN
If you are here today, it is because of him. The back bone of our aesthetics, the most valuable asset.
TEAM LEAD
A still tongue has a wise brain. We believe that applies to her aptly. The most determined of us all.
You can visit us here


Manage, follow the list of your books to read is now easy thanks to Booki which makes it possible to regroup your next readings, to follow your progress and to take up challenges.
A list of the best-selling books of the moment is recommended for you to help you choose your next readings.
You can group your next readings in a pleasantly presented list in order to to facilitate the visualization and the management of your books to read.
As soon as you finish reading a book, you can mark it as completed, and immediately start to take up the challenges present on Booki.


I had many issues with frequent raspberry PI lockups when using SD cards running emoncms (v4 and v5, did not try v6).
I decided then to switch to "pi gateway" and the system is running like a charm! Thanks!!
The only issue I have is that I when I set a static IP address on my raspberry data forwarding to emoncms does not work.
If I go to root/oem_gateway and relaunch the py script (after killing old process and configuring oemgateway.conf there) all works...
I cannot see the relation between static IP and the gateway function....
(Note: static IP address and gateway is fine since I can reach my raspberry using ssh from internet...)
Anyone got similiar issues?
Thanks
Re: Raspberry PI gateway ok only with dhcp...
solved!
It happened that with fixed ip the name resolution was not working. Had to install resolvconf
now is ok. Maybe it is an issue with the distributed image.
Regards
Re: Raspberry PI gateway ok only with dhcp...
Hi there,
I was facing same issue and was solved following Scarlaz's notes:
1. Enable RW and DHCP for eth0:
2. Install resolvconf
3. Set static IP and disable DHCP for eth0:
4. Restart Raspberry Pi:
Hope this help.


We imagine that the city of the future will incoprorate solar passive design into it's infrastructure, reducing the need for heating as the sun will act as a natural heater. The sewage from each building will be proccessed locally to produce clean water that can be reused once more, creating a circular flow of water allowing it to be used again and again.
{% include "Home/proverb/p119.html" %} {% endblock %}


Please tell us what you think about our last year services, it helps us enhance the quality of our services and programs


'Rajini's wonder remark meant AIADMK's stint in power again': TN CM Palaniswami
Rajinikanth, earlier in the day, asserted people of Tamil Nadu will create a 'wonder and marvel' in 2021 assembly polls.
by PTITuticorin: Tamil Nadu Chief Minister K Palaniswami on Thursday said superstar Rajinikanth's assertion of people creating a "wonder" in 2021 assembly elections meant the AIADMK retaining power for the third time in a row.
"Rajinikanth's 'wonder' remark means AIADMK will come back to power again in 2021 assembly election," he told reporters here when asked about the actor's remark.
Read | 'In 2021, people of TN will create wonder and marvel in politics': Rajnikanth
Rajinikanth, earlier in the day, asserted people of Tamil Nadu will create a "wonder and marvel" in the 2021 assembly elections in the state, remarks that come amidst indications of him of politically aligning with his contemporary and MNM chief Kamal Haasan.
Catch the latest news, live coverage and in-depth analyses from India and World. Follow us on Facebook and Twitter.


第三章 连续调试基本措施¶
The measures considered in this chapter are largely the classical “shut it off if it isn’t needed” measures, supplemented with “slow it down if you can.” It is important to remember that any measure must not degrade the occupant’s comfort and must not negatively impact productivity.
3.1 Remove Foot Heaters and Turn Off Desk Fans¶
The presence of foot heaters and desk fans indicates an unsuitable working environment and an energy waste as well. To turn off foot heaters and desk fans, the following actions should be taken:
Adjust the individual zone temperature set point according to the occupant’s desires
Balance zone airflow if foot heaters are used in a portion of the zone
Adjust AHU supply air temperature and static pressure if the entire building is too cold or too hot
Fix existing mechanical and control problems such as replacing diffusers of the wrong type and relocating return air grilles in order to maintain a comfortable zone temperature
Different people have different temperature requirements to feel comfortable. Some organizations, however, mandate the zone temperature set point for both summer and winter. This often leads to comfort complaints and negatively impacts productivity. The operating staff must place comfort as a priority and adjust the room temperature set point as necessary. Workers should be asked to dress appropriately during the summer and winter to maintain their individual comfort if set points are centrally mandated for a facility. Most complaints can be eliminated when the room temperature is within the range of ASHRAE’s recommended comfort zone.
3.2 Turn off Heating Systems During Summer¶
Heating is not needed for most buildings during the summer. When the heating system is on, the hot water or steam often leaks through control valves, causing thermal comfort problems and consuming excessive cooling and heating energy. To improve building comfort and decrease heating and cooling energy consumption, the following actions should be taken:
Turn off boilers or heat exchangers if the entire building does not require heating
Manually valve off heating and preheating coils if the heating system must be on for other systems
Reset differential pressure of the hot water loop to a lower value to prevent excessive pressure on control valves during the summer
Trouble-shoot individual zones or systems that have too many cold complaints * Do not turn heating off too early in the summer in order to avoid having to turn the system on and off repeatedly
This measure may be applied in constant air volume systems in dry climates. When the reheat system is shut off, room comfort may be maintained by increasing supply air temperature. This measure is not suitable for other climates where the temparature of the air leaving the cooling coil must be controlled below 57°F to control room humidity levels.
This simple measure results in significant energy savings as well as improved comfort in most buildings. Figure 3-1 compares the measured heating energy consumption before and after manually shutting off AHU heating valves in a building in Austin, Texas.
The building has a floor area of 147,000 sq.ft. with two dual duct VAV systems. Before closing the heating coil manual valves, the average daily steam consumption varied from a low of 0.2 MMBtu/hr to a high of approximately 0.28 MMBtu/hr. After the manual valves were closed, steam leakage was eliminated through the heating coil. The steam consumption immediately dropped to slightly above 0.10 MMBtu/hr. Since the manual valves in this building can stay closed for more than seven months, the annual steam savings are 756 MMBtu/yr. The same amount of chilled water will be saved if the building remains at the same temperature, creating cooling energy savings of 756 MMBtu/yr as well. The annual energy cost savings is $7,560 at an energy price of $5/MMBtu. This savings is not huge, but the only action required was shutting two manual valves.
3.3 Turn Off Systems During Unoccupied Hours¶
If a building is not occupied at night or on weekends, the HVAC system often may be turned off completely during these periods. With a properly designed warm-up/cool-down, building comfort can be maintained properly with significant energy savings. In a commercial or institutional building, office equipment and lighting make up a large portion (50% or more) of the electrical system requirements. However, a significant portion of a building (15% or more) is unoccupied during office hours due to travel, meetings, vacations, and sick leave. Turning off systems during unoccupied hours results in significant energy savings without degrading occupant comfort. This measure can be achieved by the following actions:
Turn off lights, computers, printers, fax machines, desk fans and other office equipment when leaving the office
Turn off lights and set back room thermostats after cleaning
Turn off AHUs at nights and on weekends. A schedule must be developed for each zone or air handling unit. Turning off the system too early in the evening or turning the system on too late in the morning may cause comfort problems. Conversely, turning off a system too late in the evening or turning the system on too early in the morning may lose considerable savings.
Turn off the boiler hot water pump at night during the summer when AHUs are turned off
Turn off chillers and chilled water pumps when free cooling is available or when AHUs are turned off
Figure 3-2 presents the measured building electricity consumption, excluding chiller consumption, before and after implementation of AHU and office equipment turn-off on nights and weekends in the Stephen F. Austin Building in Austin, Texas.
The Stephen F. Austin Building has 470,000 sq.ft. of floor area with 22 dual duct AHUs. During the first phase of implementation, 16 AHUs were turned off from midnight to 4 a.m. weekdays and weekends. During the second phase, 22 AHUs were turned off from 11:00 p.m. to 5 a.m. during weekdays and weekends. During the second phase, all occupants were asked to turn off office equipment when they leave their office.
The measured results show that the nighttime whole building electricity use decreased from 1,250 kW to 900 kW during the first phase. During the second phase, the nighttime minimum electricity decreased to 800 kW.
It was observed that the daily peak electricity consumption after night shutdowns began is significantly lower than the base peak. For example, the lowest peak during the second phase is 1,833 kW, which is 8% lower than the base peak. The lower electricity peak indicates that some office equipment remained off during the daytime or employees were more conscientious in turning off lights and equipment when they left the office. The annual energy cost savings, including electricity, heating and cooling, were determined to be $100,000/yr using measured hourly data.
3.4 Slow Down Systems During Unoccupied/Lightly-Occupied Hours¶
Most large buildings are never completely unoccupied. It is not uncommon to find a few people working regardless of the time of day. The zones that may be used during the weekends or at nights, are also unpredictable. System shut down often results in complaints. Substantial savings can be achieved while maintaining comfort conditions in a building by an appropriate combination of the following actions:
Reset outside air intake to a lower level (0.05 cfm/sq.ft.) during these hours during hot summer and cold winter weather. Outside air can be reduced since there will be very few people in the building. Check outside and exhaust air balance to maintain positive building pressure.
Reset the minimum airflow to a lower value, possibly zero, for VAV terminal boxes
Program constant volume terminal boxes as VAV boxes and reset the minimum flow from the maximum to a lower value, possibly zero, during unoccupied hours
Reset AHU static pressure and water loop differential pressure to lower values
Set supply air fan at lower speed
These measures maintain building comfort while minimizing energy consumption. The savings are often comparable with the shutdown option. Figure 3-3 presents the measured hourly fan energy consumption in the Education Building at the University of Texas at Austin. The Education Building has 251,000 sq.ft. of floor area with eight 50 hp. AHUs that are operated on VFDs. Prior to the introduction of this measure, the motor control center (MCC) energy consumption was almost constant. The CC SM measure implemented was to set the fan speed at 30% at night and on weekends. The nighttime slowdown decreased the fan power from approximately 50 kW to approximately 20 kW while maintaining building comfort.
3.5 Limit Fan Speed During Warm-Up and Cool-Down Periods¶
If nighttime shut down is implemented, warm-up is necessary during the winter and cool-down is required during the summer. During warm-up and cool-down periods, fan systems are often run at maximum speed since all terminal boxes require either maximum heating or maximum cooling. A simple fan speed limit can reduce fan power significantly. This principle may also be used in other systems such as pumps. The following actions should be taken to achieve the fan energy savings:
Determine the optimal start up time using 80% (adjustable) fan capacity if automatic optimal start up is used
Set the fan speed limit at 80% (adjustable) manually and extend the warm up or cool down period by 25%. If the speed limit is set at another value (x), determine the warm up period using the following equation:
\(T_n = \frac{T_{exist}}{x}\)
Keep outside air damper closed during warm-up and cool-down periods
The fan energy savings increase significantly as the fan speed limit decreases. Figure 3-4 presents the theoretical fan power savings. When the fan speed limit is 50% of design fan speed, the potential fan energy savings are 75% of the fan energy even if the fan runs twice as long. The theoretical model did not consider the variable speed drive loss. The actual energy savings will normally be somewhat lower than the model projected value.
Note that if the outside air damper cannot be closed tightly, extra thermal energy may be required to cool or warm outside air that leaks through the damper. This factor should be considered when this measure is used.
3.6 Summary¶
Significant amounts of energy can be saved by implementing the basic CC SM measures. More advanced CC SM measures can be used to improve the building energy performance; however, this chapter is limited to the simple measures. Before implementing these measures, the building and HVAC system must be in good condition. Local water and air balances may be required to solve existing mechanical problems.


{{ 'Use the options below to create a new wallet or import an existing one.' | translate }}
{{ 'When you create a wallet, a new Raicoin seed will be generated which is the master key to all of your accounts inside of the wallet!' | translate }}
{{ 'Make sure you back up your seed, write it down, and keep it incredibly safe!' | translate }} {{ 'There is NO way to recover it after creation, and all funds inside WILL be lost without it!' | translate }} {{ 'You have been warned!' | translate }}
{{ 'If you already have a Raicoin wallet, you can import it below.' | translate }} {{ 'When you import a wallet, none of your existing wallets or accounts are affected, and your seed is not stored anywhere besides in your local client.' | translate }}
{{ 'Enter your 64 character seed from any Raicoin wallet to import it below.' | translate }}
{{ 'Your new Raicoin wallet has been created!' | translate }}
{{ 'The password is used to encrypt the sensitive parts of your wallet before storing them into the local database of browser.' | translate }} {{ 'You will need it to unlock the wallet.' | translate }}
{{ 'Set your wallet password below:' | translate }}
{{ 'Your new wallet has been configured, the wallet ID is { id }.' | translate:{'id': newWalletIndex} }} {{ 'Now you are ready to send and receive Raicoin!' | translate }}
{{ 'ProTip' | translate }}: {{ 'If you lose your password, you can always restore your wallet using your seed.' | translate }}


Home
(current)
Dropdown
Home
About
Contact Us
Help
Search
About Us
Malwares
Solution
We educate people about basic malwares and how to get rid of them.
See our website for more information about CyberSecurity.
We educate people about basic malwares and how to get rid of them.
See our website for more information about CyberSecurity.
We educate people about basic malwares and how to get rid of them.
See our website for more information about CyberSecurity.


Welcome to bscscan-python’s documentation!¶
This is an unofficial Python >=3.8
wrapper for the endpoints provided by BscScan.
It supports asynchronous calls and it is available on PyPI. Powered by BscScan APIs.
For a detailed list of all methods and their arguments, please refer to this page.
Install¶
There are two ways to install this package; from PyPI or from source.
Install from PyPI as:
pip install bscscan-python
Install from source as:
pip install git+https://github.com/pcko1/bscscan-python.git@stable
Basic Usage¶
This package supports both synchronous and asynchronous calls.
Both implementations need to be run inside a content manager, which is the de facto pythonic way for resource allocation.
Async client (default):
from bscscan import BscScan
async with BscScan(YOUR_API_KEY) as client:
print(await client.get_bnb_last_price())
Sync client:
from bscscan import BscScan
with BscScan(YOUR_API_KEY, asynchronous=False) as client:
print(client.get_bnb_last_price())
Using an existing Session
object¶
It is possible that you might already have a running Session
object in your code.
If that’s the case, you can always pass it to BscScan
with a slightly different instantiation.
For the async client:
from aiohttp import ClientSession
from bscscan.core.async_client import AsyncClient as BscScan
# you can substitute the session with your aiohttp.ClientSession
client = await BscScan.from_session(api_key=YOUR_API_KEY, session=ClientSession())
For the sync client:
from requests import Session
from bscscan.core.sync_client import SyncClient as BscScan
# you can substitute the session with your requests.Session
client = BscScan.from_session(api_key=YOUR_API_KEY, session=Session())
In this case, you don’t need to use a context manager because it is assumed that you will close the open session somewhere else in your code.
Migration from v1.0.0
¶
The most significant change between versions 1 and 2 is the instantiation of the client. You are highly advised to modify that part in your existing scripts by following the examples shown above. The underlying API calls are mostly unaffected. Refer to the next section for the exhaustive changelog.
If you still want to use the old implementation, you can always grab it from PyPI:
pip install bscscan-python==1.0.0
Changelog (v2.0.0
)¶
Added async client
All clients should now be instantiated within a context manager
Added BEP721 endpoints in
bscscan.modules.Accounts
block_no
inclient.get_block_reward_by_block_number
is nowint
Added more methods in
bscscan.modules.Stats
Added documentation for every method
Disclaimer¶
The author assumes no responsibility for the way this software is used, for its behavior or for any loss of funds. The code is open-source and everyone is encouraged to inspect it before integrating it into their own products.
Cite¶
Please cite this software as:
Kotsias, P. C., pcko1/bscscan-python: v1.0.0. https://github.com/pcko1/bscscan-python (2021). doi:10.5281/zenodo.4781726
or in bibtex
:
@misc{Kotsias2021,
author = {Kotsias, P.C.},
title = {pcko1/bscscan-python},
year = {2021},
publisher = {Zenodo},
url = {https://github.com/pcko1/bscscan-python},
doi = {10.5281/zenodo.4781726}
}
FAQ¶
Why async?
Because your application might not want to wait for BscScan to respond before proceeding to the next line. Async calls execute in the background and are ideal for I/O bound scenarios such as HTTP requests.
How do I use method X?
Kindly read the documentation of this package since detailed examples have been added for all methods.
Can you add support for X?
If (and only if) X is a method on BscScan.com that I have missed, please open a GitHub issue.
Is a particular functionality provided?
Kindly read the documentation of this package. If it’s not there, it’s not provided.
May I suggest some improvements?
Absolutely, PRs are more than just welcome. Just make sure the unittests pass and that coverage remains at 100% in order for me to accept it.
Are you affiliated with BscScan.com?
Not at all. I independently composed this package for my daily tasks and thought of open-sourcing it.
Are you open for collaboration?
Surprisingly, I have received several emails asking for collaboration. I am currently working full-time on my own projects so unfortunately I cannot promise much - yet, do reach out :)
How can I reach you?
My contact details may be found at https://pankotsias.com. For professional matters, kindly do prioritize LinkedIn.


|
Halide
|
#include <ExternalCode.h>
Public Member Functions | |
| bool | is_for_cpu_target (const Target &host) const |
| Return true if this container holds llvm bitcode linkable with code generated for the target argument. More... | |
| bool | is_for_device_api (DeviceAPI current_device) const |
| True if this container holds code linkable with a code generated for a GPU. More... | |
| bool | is_c_plus_plus_source () const |
| True if this container holds C++ source code for inclusion in generating C++ output. More... | |
| const std::vector< uint8_t > & | contents () const |
| Retrieve the bytes of external code held by this container. More... | |
| const std::string & | name () const |
| Retrieve the name of this container. More... | |
Static Public Member Functions | |
| static ExternalCode | bitcode_wrapper (const Target &cpu_type, const std::vector< uint8_t > &code, const std::string &name) |
| Construct an ExternalCode container from llvm bitcode. More... | |
| static ExternalCode | device_code_wrapper (DeviceAPI device_api, const std::vector< uint8_t > &code, const std::string &name) |
| Construct an ExternalCode container from GPU "source code." This container can be used to insert its code into the GPU code generated for a given DeviceAPI. More... | |
| static ExternalCode | c_plus_plus_code_wrapper (const std::vector< uint8_t > &code, const std::string &name) |
| Construct an ExternalCode container from C++ source code. More... | |
Definition at line 11 of file ExternalCode.h.
|
inlinestatic |
Construct an ExternalCode container from llvm bitcode.
The result can be passed to Halide::Module::append to have the contained bitcode linked with that module. The Module's target must match the target argument here on architecture, bit width, and operating system. The name is used as a unique identifier for the external code and duplicates will be reduced to a single instance. Halide does not do anything other than to compare names for equality. To guarantee uniqueness in public code, we suggest using a Java style inverted domain name followed by organization specific naming. E.g.: com.initech.y2k.5d2ac80aaf522eec6cb4b40f39fb923f9902bc7e
Definition at line 44 of file ExternalCode.h.
References Halide::None.
|
inlinestatic |
Construct an ExternalCode container from GPU "source code." This container can be used to insert its code into the GPU code generated for a given DeviceAPI.
The specific type of code depends on the device API used as follows: CUDA: llvm bitcode for PTX OpenCL: OpenCL source code GLSL: GLSL source code OpenGLCompute: GLSL source code Metal: Metal source code Hexagon: llvm bitcode for Hexagon
At present, this API is not fully working. See Issue: https://github.com/halide/Halide/issues/1971
The name is used as a unique identifier for the external code and duplicates will be reduced to a single instance. Halide does not do anything other than to compare names for equality. To guarantee uniqueness in public code, we suggest using a Java style inverted domain name followed by organization specific naming. E.g.: com.tyrell.nexus-6.53947db86ba97a9ca5ecd5e60052880945bfeb37
Definition at line 69 of file ExternalCode.h.
|
inlinestatic |
Construct an ExternalCode container from C++ source code.
This container can be used to insert its code into C++ output from Halide.
At present, this API is not fully working. See Issue: https://github.com/halide/Halide/issues/1971
The name is used as a unique identifier for the external code and duplicates will be reduced to a single instance. Halide does not do anything other than to compare names for equality. To guarantee uniqueness in public code, we suggest using a Java style inverted domain name followed by organization specific naming. E.g.: com.cyberdyne.skynet.78ad6c411d313f050f172cd3d440f23fdd797d0d
Definition at line 87 of file ExternalCode.h.
References Halide::None.
|
inline |
Return true if this container holds llvm bitcode linkable with code generated for the target argument.
The matching is done on the architecture, bit width, and operating system only. Features are ignored. If the container is for Target::ArchUnkonwn, it applies to all architectures – meaning it is generic llvm bitcode. If the OS is OSUnknown, it applies to all operationg systems. The bit width must match.
Ignoring feature flags isn't too important since generally ExternalCode will be constructed in a Generator which has access to the feature flags in effect and can select code appropriately.
Definition at line 103 of file ExternalCode.h.
References Halide::Target::arch, Halide::Target::ArchUnknown, Halide::Target::bits, Halide::Target::os, and Halide::Target::OSUnknown.
|
inline |
True if this container holds code linkable with a code generated for a GPU.
Definition at line 111 of file ExternalCode.h.
|
inline |
True if this container holds C++ source code for inclusion in generating C++ output.
Definition at line 117 of file ExternalCode.h.
|
inline |
Retrieve the bytes of external code held by this container.
Definition at line 120 of file ExternalCode.h.
|
inline |
Retrieve the name of this container.
Used to ensure the same piece of external code is only included once in linkage.
Definition at line 124 of file ExternalCode.h.


| DOSE: |
5 hits |
oral |
DOC |
(blotter / tab) |
[Erowid Note: This report is marked as a DOC report, but readers should be aware that this identification is speculative. Although sold as LSD, the 'bitter taste', long onset of effect and duration of effect are indeed in line with some of the longer-lasting psychedelic phenethylamines. DOC is a likely candidate.]
T+00:00(1:30 AM 10/10) Took 5 hits of what was presumably acid, immediately tasted the MDMA taste and thought it was DOC(I knew there had been some going around town recently). R took 4 and A took 2 1/2
T+00:30 Still feeling almost nothing, I knew something was different but didn't know what exactly it was. I laughed more, like with weed, but that was the only noticeable change. R was the first to notice it.
T+00:50 I started staring a light on the ceiling. It started to become almost a liquid and was very soft. After 25 or so seconds, it started to faintly turn green than was instantly turned into a VERY vivid light blue, then into magenta/purple. After I noticed it, I told R and A to do the same and the exact same thing happened to them, The color was probably influenced by what i told them. The walls looked softer and there was a very small amount of waving.
T+1:20 2 friends came over, T and K. K was very drunk and T was driving her. A and I stood outside talking about what we had taken. It was about 40F outside according to K and T but I was completely numb at this point and A and I didn't notice it. I looked up at the stars and they were all teal and had huge halos around them. It looked as though they were only a few feet above me, hung from the sky by a string. The moon's details started shifting very slightly and it was tinted green. I noticed at this point that I had VERY pronounced tracers. I had them on everything that moved(My hands took about 3 seconds for their tracer to catch up).
T+2:00(time at this point is going VERY slowly, most of the times after this are all guesses) By now B and Ra(R's brother) were drunk as well. R, A, and I were describing to T about what we were experiencing and she decided to take the 2 1/2 remaining blotters. By now, all the walls were completely covered in very pronounced rainbow halos and the texture on everything seemed to breathe and flow. Looking at my hand, It looked very cartoonish with Blue, green, gold, and purple mainly comprising it's colors.
T+2:20 A and I started listening to 'Lucy in the Sky with Diamonds' and I remembered to close my eyes just as the lyric:
'Follow her down to a bridge by a fountain
Where rocking horse people eat marshmallow pies,
Everyone smiles as you drift past the flowers,
That grow so incredibly high.'
It flashed through my vision perfectly, it was VERY vivid and dreamy. A also noted this.
T+3:00 After looking through many 'trippy pictures' I noticed that they moved on their own and were animated even though they were completely still. Shadows were very pronounced and as I looked up at a shadow on the ceiling (which shouldn't have been there because the room was very well lit), it turned into a red liquid of drops and swirls that started floating through space closer to me (it cast it's own shadows onto the ceiling as it moved). T started noticing how weird everything was and we all started rambling on about our own stories that evolved into discussions about existence and our interpretations of things in the room.
T+3:40 VERY out of body at this point. My mind is completely numb and all of my senses are one. They 'moved' spatially through the air which felt very strange. We were all shaking to some degree and breathing was somewhat labored. At this point we started to get scared at the rapid rate the trip took off on. I had a headache from the very distracting world and sensory overload. I couldn't find refuge in my own mind with closed eyes(a kaleidoscope of colors and shapes changed with insane speed). I was so out of body now that I could hardly move my body how I wanted to.
My ego died, Existence had no meaning to me and I had no ability to care about anything. The only thing keeping me from going insane was the very distant and almost abstract thought 'it is all the drug'. 1 Min seems to take 30mins to pass.
T+6:00 A drove K and T to his house where they all slept until K and T could drive home. R and I were left to ourselves, continuing to get even higher. All my senses were one, I sensed things as a thought, rather than how you traditionally do. Apparently there was a fire in the main part of town and 35 or so sirens started going off. During all of this I had to keep reassuring R and myself that this would wear off. I started second guessing myself as R kept asking me. I remembered how someone had taken 6 hits of 'acid' about a week ago and checked them selves into an insane asylum(I am now certain they took DOC). I fought with my own sanity and was experiencing self-induced insanity.
T+10:00 I walked over to A's house with B(who had just woke up) after cleaning up R's house and making sure he was alright. I was still tripping very hard at this point but the Ego death was gone by now. I was still out of body and I moved by telling my body where to go and it would interpret it on it's own. Every now and again I could (physically) shake away this feeling and be 'normal' as long as I continued to move and not think about my trip(this was the first sign I started to come down). I still had very pronounced visuals. Everything was moving and vibrating, the entire world was covered in rainbow halos and textures were constantly shifting and flowing.
T+13:30 For the past 4 hours I tried to drink water and eat what little I could tell my body to. I was still shaking and very out of body, but visuals were dying down. Still pictures still animated themselves, but they didn't change colors. Everything seemed unreal and I couldn't grasp events yet. We cleaned up A's house and got everything under control. I started to get feeling back but was still very out of it. I got a ride back to my house and went straight to my room.]
T+16:30 Visuals were still there, I was still very out of body but Was defiantly coming down, but very slowly. I watched TV to pass time(made it seem to pass faster, though it was still going very slowly). Breathing was still very labored and my sense of touch was very weird(I would feel tingles everywhere over my body when I brushed up against something, it was floating through space only a little bit.
T+25:30 I guess I fell asleep, but I had absolutely no dreams. My visuals were completely dead by now but I was still out of body and my sense of feel was still very messed up.
T+34:00(11:30 Am 10/11) Back in my own body, My sense of touch is back. Light field of Blue dots when I look directly at light. Not so drained as I thought I'd be. Not very hungry despite not having eaten in almost 2 days. Being sober is very weird and I don't know if I am completely back yet because I don't completely remember what 'normal' is.
Overall I'd say DOC should be taken very seriously. The hallucinations are intense and very pronounced. I could see having fun with it if you had an entire day lined up where you had nothing to do.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.